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

Dominik Csapak d.csapak at proxmox.com
Fri Dec 11 13:08:56 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

proxmox:

Dominik Csapak (2):
  add tools/zero: add fast zero comparison code
  proxmox: add sparse_copy(_async) to tools::io

 proxmox/src/tools/io/mod.rs |  62 ++++++++++
 proxmox/src/tools/mod.rs    |   1 +
 proxmox/src/tools/zero.rs   | 233 ++++++++++++++++++++++++++++++++++++
 3 files changed, 296 insertions(+)
 create mode 100644 proxmox/src/tools/zero.rs

proxmox-backup:

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

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

-- 
2.20.1






More information about the pbs-devel mailing list