Skip to content

recreate: show --stats output without --info - #10600

Merged
ThomasWaldmann merged 1 commit into
borgbackup:1.4-maintfrom
ThomasWaldmann:recreate-stats-1.4
Nov 6, 2026
Merged

ThomasWaldmann merged 1 commit into
borgbackup:1.4-maintfrom
ThomasWaldmann:recreate-stats-1.4

Conversation

@ThomasWaldmann

Copy link
Copy Markdown
Member

borg recreate --stats printed no statistics unless --info / -v was also given.

ArchiveRecreater.save() logged the stats block via the default logger at INFO level. It now logs to the borg.output.stats topic logger, which --stats enables (same as create, delete and prune).

Adds test_recreate_stats, which fails without the fix.

🤖 Generated with Claude Code

ArchiveRecreater.save logged the statistics via the default logger
at INFO level, so "borg recreate --stats" printed nothing unless
--info or -v was also given.

Log them to the borg.output.stats topic logger, which --stats
enables, like create, delete and prune do.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@ThomasWaldmann
ThomasWaldmann merged commit 5d7f679 into borgbackup:1.4-maint Nov 6, 2026
13 checks passed
@ThomasWaldmann
ThomasWaldmann deleted the recreate-stats-1.4 branch November 6, 2026 00:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant