]> git.proxmox.com Git - pve-common.git/commit
PBSClient: add file_restore_extract function
authorStefan Reiter <s.reiter@proxmox.com>
Thu, 22 Apr 2021 15:34:50 +0000 (17:34 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 22 Apr 2021 16:17:35 +0000 (18:17 +0200)
commit77e402f0852a57e3bd1ec9040c7f86fd9bc93f3d
tree924a6a097bdc7bdc8aa1eaea35f26304d097cf2b
parent67252649d958cf30d5b021d6af4f45daeb49f647
PBSClient: add file_restore_extract function

*_prepare creates a fifo for streaming data back to clients directly,
filefile_restore_extract blocks and should be called from a background
worker - while it is running outcoming data can be read from the FIFO.

Signed-off-by: Stefan Reiter <s.reiter@proxmox.com>
src/PVE/PBSClient.pm