From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <pve-devel-bounces@lists.proxmox.com> Received: from firstgate.proxmox.com (firstgate.proxmox.com [IPv6:2a01:7e0:0:424::9]) by lore.proxmox.com (Postfix) with ESMTPS id 618F61FF187 for <inbox@lore.proxmox.com>; Wed, 9 Apr 2025 16:26:44 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id CB27EA006; Wed, 9 Apr 2025 16:26:24 +0200 (CEST) From: Filip Schauer <f.schauer@proxmox.com> To: pve-devel@lists.proxmox.com Date: Wed, 9 Apr 2025 16:24:11 +0200 Message-Id: <20250409142423.130540-1-f.schauer@proxmox.com> X-Mailer: git-send-email 2.39.5 MIME-Version: 1.0 X-SPAM-LEVEL: Spam detection results: 0 AWL -0.017 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record URIBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [common.pm, vzdump.pm, storage.pm, vma2pbs.rs, main.rs, plugin.pm] Subject: [pve-devel] [PATCH guest-common/manager/storage/vma-to-pbs 00/12] align supported compression formats for templates and backups X-BeenThere: pve-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE development discussion <pve-devel.lists.proxmox.com> List-Unsubscribe: <https://lists.proxmox.com/cgi-bin/mailman/options/pve-devel>, <mailto:pve-devel-request@lists.proxmox.com?subject=unsubscribe> List-Archive: <http://lists.proxmox.com/pipermail/pve-devel/> List-Post: <mailto:pve-devel@lists.proxmox.com> List-Help: <mailto:pve-devel-request@lists.proxmox.com?subject=help> List-Subscribe: <https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel>, <mailto:pve-devel-request@lists.proxmox.com?subject=subscribe> Reply-To: Proxmox VE development discussion <pve-devel@lists.proxmox.com> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: pve-devel-bounces@lists.proxmox.com Sender: "pve-devel" <pve-devel-bounces@lists.proxmox.com> 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