From 1cb185a8e6ab8a9f9212061f2a787c169332f601 Mon Sep 17 00:00:00 2001 From: Thomas Waldmann Date: Tue, 12 May 2026 23:22:09 +0200 Subject: [PATCH] prune: show total vs matching archives in output, fixes #9262 --- src/borg/archiver/prune_cmd.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/borg/archiver/prune_cmd.py b/src/borg/archiver/prune_cmd.py index 92cf81330..47b7f8605 100644 --- a/src/borg/archiver/prune_cmd.py +++ b/src/borg/archiver/prune_cmd.py @@ -170,7 +170,8 @@ class PruneMixIn: to_delete = set(archives) - set(keep) if not args.json: - logger.info("Found %d archives.", len(archives)) + logger.info("Repository contains %d archives.", manifest.archives.count()) + logger.info("Applying rules to the matching %d archives...", len(archives)) logger.info("Keeping %d archives, pruning %d archives.", len(keep), len(to_delete)) if args.json: output_data = []