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 AEBD21FF13A for ; Wed, 10 Jun 2026 20:02:58 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 7608F15825; Wed, 10 Jun 2026 20:02:58 +0200 (CEST) From: Shan Shaji To: pbs-devel@lists.proxmox.com Subject: [RFC PATCH proxmox-backup 0/6] fix #7024: client: add file statistics inside logs Date: Wed, 10 Jun 2026 20:02:02 +0200 Message-ID: <20260610180208.801614-1-s.shaji@proxmox.com> X-Mailer: git-send-email 2.47.3 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1781114493284 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.152 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 Message-ID-Hash: IN5KEZG42RNPTS2ITVFPSD7MYY5JESA6 X-Message-ID-Hash: IN5KEZG42RNPTS2ITVFPSD7MYY5JESA6 X-MailFrom: s.shaji@proxmox.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.10 Precedence: list List-Id: Proxmox Backup Server development discussion List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: This series addresses three issues: - File number statistics not being shown under change detection summary for data and legacy mode. - The pogress logs were not showing the number of processed files. - There was no verbose option. Sending this as an RFC to get an initial feedback and to make sure I have not missed anything. Thanks in advance. Shan Shaji (6): refactor: rename `ReuseStats` struct to `PxarArchiverProgressStats` fix #7024: pxar: show archiver summary for legacy and data mode refactor: use atomic values in `PxarArchiverProgressStats` fix #7024: cli: show number of processed files during backup refactor: rename `UploadCounters` to `UploadProgress` fix #7024: cli: add option to enable verbose logs pbs-client/src/backup_stats.rs | 9 +- pbs-client/src/backup_writer.rs | 110 ++++++++---- pbs-client/src/inject_reused_chunks.rs | 8 +- pbs-client/src/pxar/create.rs | 159 +++++++++++++----- pbs-client/src/pxar/mod.rs | 3 +- pbs-client/src/pxar/tools.rs | 10 +- pbs-client/src/pxar_backup_stream.rs | 13 +- proxmox-backup-client/src/main.rs | 38 ++++- .../src/proxmox_restore_daemon/api.rs | 2 + pxar-bin/src/main.rs | 2 + tests/catar.rs | 1 + 11 files changed, 271 insertions(+), 84 deletions(-) -- 2.47.3