all lists on lists.proxmox.com
 help / color / mirror / Atom feed
* [pbs-devel] [PATCH proxmox{, -backup} v5 0/5] fix #4995: include symlinks in zip file restore
@ 2025-10-27 13:24 Filip Schauer
  2025-10-27 13:24 ` [pbs-devel] [PATCH proxmox v5 1/5] compression: zip: add a FileType enum Filip Schauer
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Filip Schauer @ 2025-10-27 13:24 UTC (permalink / raw)
  To: pbs-devel

Include symlinks when restoring files from a backup as a zip file.

Resulting ZIP files were successfully tested on Linux with: zipinfo,
unzip, unar

When extracting with Windows Explorer, symlinks appear as regular files
containing the path to the destination. When extracting the ZIP files
with 7-Zip on Windows, symlinks are correctly extracted, provided that
the user has permission to create symlinks.

proxmox:

Filip Schauer (3):
  compression: zip: add a FileType enum
  compression: zip: add support for symlinks
  compression: add tests for the ZipEncoder

 proxmox-compression/src/zip.rs   |  50 +++++++++----
 proxmox-compression/tests/zip.rs | 118 +++++++++++++++++++++++++++++++
 2 files changed, 153 insertions(+), 15 deletions(-)
 create mode 100644 proxmox-compression/tests/zip.rs


proxmox-backup:

Filip Schauer (2):
  pxar: Adopt FileType enum when adding a zip entry
  fix #4995: pxar: Include symlinks in zip file creation

 pbs-client/src/pxar/extract.rs | 21 ++++++++++++++++-----
 1 file changed, 16 insertions(+), 5 deletions(-)


Summary over all repositories:
  3 files changed, 169 insertions(+), 20 deletions(-)

-- 
Generated by git-murpp 0.6.0


_______________________________________________
pbs-devel mailing list
pbs-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pbs-devel


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

end of thread, other threads:[~2025-10-27 13:26 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-10-27 13:24 [pbs-devel] [PATCH proxmox{, -backup} v5 0/5] fix #4995: include symlinks in zip file restore Filip Schauer
2025-10-27 13:24 ` [pbs-devel] [PATCH proxmox v5 1/5] compression: zip: add a FileType enum Filip Schauer
2025-10-27 13:24 ` [pbs-devel] [PATCH proxmox v5 2/5] compression: zip: add support for symlinks Filip Schauer
2025-10-27 13:24 ` [pbs-devel] [PATCH proxmox v5 3/5] compression: add tests for the ZipEncoder Filip Schauer
2025-10-27 13:24 ` [pbs-devel] [PATCH proxmox-backup v5 4/5] pxar: Adopt FileType enum when adding a zip entry Filip Schauer
2025-10-27 13:24 ` [pbs-devel] [PATCH proxmox-backup v5 5/5] fix #4995: pxar: Include symlinks in zip file creation Filip Schauer

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal