public inbox for pbs-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pbs-devel] [PATCH proxmox/proxmox-backup] restore files from pxar sparsely
@ 2020-12-14 13:41 Dominik Csapak
  2020-12-14 13:41 ` [pbs-devel] [PATCH proxmox 1/1] proxmox: add sparse_copy(_async) to tools::io Dominik Csapak
  2020-12-14 13:41 ` [pbs-devel] [PATCH proxmox-backup 1/1] pxar/extract: if possible create files sparesly Dominik Csapak
  0 siblings, 2 replies; 3+ messages in thread
From: Dominik Csapak @ 2020-12-14 13:41 UTC (permalink / raw)
  To: pbs-devel

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

proxmox:

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

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

proxmox-backup:

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

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

-- 
2.20.1





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-12-14 13:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-14 13:41 [pbs-devel] [PATCH proxmox/proxmox-backup] restore files from pxar sparsely Dominik Csapak
2020-12-14 13:41 ` [pbs-devel] [PATCH proxmox 1/1] proxmox: add sparse_copy(_async) to tools::io Dominik Csapak
2020-12-14 13:41 ` [pbs-devel] [PATCH proxmox-backup 1/1] pxar/extract: if possible create files sparesly Dominik Csapak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal