[pbs-devel] [PATCH proxmox/proxmox-backup] restore files from pxar sparsely

Dominik Csapak d.csapak at proxmox.com
Mon Dec 14 14:41:45 CET 2020

to be able to restore containers with big sparse files

ideally(?) we would save hole information directly in the pxar archive
and not even use zero chunks, so that we can have smaller
pxar archives, and accurately restore sparse files like they were before

for now, restore all files sparsely

changes from RFC:
* drop the zero module of proxmox, rust can generate fast code by itself


Dominik Csapak (1):
  proxmox: add sparse_copy(_async) to tools::io

 proxmox/src/tools/io/mod.rs | 70 +++++++++++++++++++++++++++++++++++++
 1 file changed, 70 insertions(+)


Dominik Csapak (1):
  pxar/extract: if possible create files sparesly

 src/pxar/extract.rs | 32 ++++++++++++++++++++++++++------
 1 file changed, 26 insertions(+), 6 deletions(-)


More information about the pbs-devel mailing list