From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) by lore.proxmox.com (Postfix) with ESMTPS id EF3321FF2A1 for ; Tue, 16 Jul 2024 17:33:03 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 47FEE1EE29; Tue, 16 Jul 2024 17:33:32 +0200 (CEST) From: Christian Ebner To: pbs-devel@lists.proxmox.com Date: Tue, 16 Jul 2024 17:33:10 +0200 Message-Id: <20240716153313.533807-1-c.ebner@proxmox.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.021 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. [mod.rs, catalog.rs, main.rs] Subject: [pbs-devel] [PATCH proxmox-backup 0/3] fix catalog dump for split pxar archives X-BeenThere: pbs-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox Backup Server development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Proxmox Backup Server development discussion Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: pbs-devel-bounces@lists.proxmox.com Sender: "pbs-devel" This patch series fixes the catalog dump command for snapshots created by setting the `change-detection-mode` to either `data` or `metadata`, therefore using split pxar archive encoding without encoding the dedicated catalog. If no catalog file can be found in the snaphsots manifest, the fallback behaviour is now to check if there are metadata archives present in the manifest, and if so dump their content using the same formatting as the regular catalog dump. The catalog shell will be addressed in a separate patch series. Christian Ebner (3): client: make helper to get remote pxar reader reusable client: add helper to dump catalog from metadata archive client: catalog: fallback to metadata archives for catalog dump pbs-client/src/tools/mod.rs | 116 ++++++++++++++++++++++++++- proxmox-backup-client/src/catalog.rs | 39 ++++++++- proxmox-file-restore/src/main.rs | 31 +------ 3 files changed, 152 insertions(+), 34 deletions(-) -- 2.39.2 _______________________________________________ pbs-devel mailing list pbs-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pbs-devel