all lists on lists.proxmox.com
 help / color / mirror / Atom feed
From: Filip Schauer <f.schauer@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [pve-devel] [PATCH guest-common/manager/storage/vma-to-pbs 00/12] align supported compression formats for templates and backups
Date: Wed,  9 Apr 2025 16:24:11 +0200	[thread overview]
Message-ID: <20250409142423.130540-1-f.schauer@proxmox.com> (raw)

Make the supported compression formats consistent across templates and
backups.

Currently we support:
* VM/container backups compressed with: gz, lzo, zst, bz2
* container templates compressed with: gz, xz, zst, bz2

This patch series makes this consistent, so that we support gz, xz, lzo,
zst, bz2 in every case.

In summary, this adds support for:
* .tar.lzo container templates
* .tar.xz container backups
* .vma.xz VM backups

Additionally, this patch series completes support for bzip2, which is
listed in the PVE::Storage::VZTMPL_EXT_RE_1 and
PVE::Storage::BACKUP_EXT_RE_2 regexes, but was forgotten to be fully
implemented in some places.

Note: .tar.lzo container templates are already supported in
PVE::LXC::Create::restore_tar_archive, since this code is shared with
container backups.

pve-storage:

Filip Schauer (3):
  add support for .vma.bz2
  add support for xz compressed VM and container backups
  align supported compression formats for templates and backups

 debian/control                     |  1 +
 src/PVE/Storage.pm                 | 16 +++++++++++++---
 src/PVE/Storage/Plugin.pm          |  2 +-
 src/test/archive_info_test.pm      |  4 +++-
 src/test/list_volumes_test.pm      | 21 ++++++++++++++++++++-
 src/test/parse_volname_test.pm     |  6 +++---
 src/test/path_to_volume_id_test.pm | 13 ++++++++-----
 7 files changed, 49 insertions(+), 14 deletions(-)


pve-guest-common:

Filip Schauer (2):
  vzdump: add support for bzip2 compression
  vzdump: add support for xz compression

 src/PVE/VZDump/Common.pm | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)


pve-manager:

Filip Schauer (5):
  accept .tar.bz2 ct templates in the storage upload dialog
  vzdump: add support for bzip2 compression
  vzdump: add support for xz compression
  allow download of xz compressed files
  accept .tar.lzo ct templates in the storage upload dialog

 PVE/VZDump.pm                                  | 9 +++++++++
 www/manager6/form/BackupCompressionSelector.js | 2 ++
 www/manager6/window/DownloadUrlToStorage.js    | 3 ++-
 www/manager6/window/UploadToStorage.js         | 2 +-
 4 files changed, 14 insertions(+), 2 deletions(-)


vma-to-pbs:

Filip Schauer (2):
  add support for bzip2 compressed VMA files
  add support for xz compressed VMA files

 src/main.rs    |  4 +++-
 src/vma2pbs.rs | 12 ++++++++++++
 2 files changed, 15 insertions(+), 1 deletion(-)


Summary over all repositories:
  14 files changed, 86 insertions(+), 18 deletions(-)

-- 
Generated by git-murpp 0.6.0


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


             reply	other threads:[~2025-04-09 14:26 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-09 14:24 Filip Schauer [this message]
2025-04-09 14:24 ` [pve-devel] [PATCH storage 01/12] add support for .vma.bz2 Filip Schauer
2025-04-09 14:24 ` [pve-devel] [PATCH storage 02/12] add support for xz compressed VM and container backups Filip Schauer
2025-04-09 14:24 ` [pve-devel] [PATCH storage 03/12] align supported compression formats for templates and backups Filip Schauer
2025-04-09 14:24 ` [pve-devel] [PATCH guest-common 04/12] vzdump: add support for bzip2 compression Filip Schauer
2025-04-09 14:24 ` [pve-devel] [PATCH guest-common 05/12] vzdump: add support for xz compression Filip Schauer
2025-04-09 14:24 ` [pve-devel] [PATCH manager 06/12] accept .tar.bz2 ct templates in the storage upload dialog Filip Schauer
2025-04-09 14:24 ` [pve-devel] [PATCH manager 07/12] vzdump: add support for bzip2 compression Filip Schauer
2025-04-09 14:24 ` [pve-devel] [PATCH manager 08/12] vzdump: add support for xz compression Filip Schauer
2025-04-09 14:24 ` [pve-devel] [PATCH manager 09/12] allow download of xz compressed files Filip Schauer
2025-04-09 14:24 ` [pve-devel] [PATCH manager 10/12] accept .tar.lzo ct templates in the storage upload dialog Filip Schauer
2025-04-09 14:24 ` [pve-devel] [PATCH vma-to-pbs 11/12] add support for bzip2 compressed VMA files Filip Schauer
2025-04-09 14:24 ` [pve-devel] [PATCH vma-to-pbs 12/12] add support for xz " Filip Schauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250409142423.130540-1-f.schauer@proxmox.com \
    --to=f.schauer@proxmox.com \
    --cc=pve-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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