Output about done procedures
Closedopened 4 years ago by dedemann · 5 comments
Reference in New Issue
There is no content yet.
Delete Branch '%!s(<nil>)'
Deleting a branch is permanent. It CANNOT be undone. Continue?
First of all: Thank you for that great wrapper script for borgbackup!
I'm a little bit confused about the usage of borgmatic. When I started to use this wrapper script, I created a configuration file with an pruning and creating options. The verbosity level 1 (-v 1) gave me the only the statistical output of the pruning procedure (how much GB were pruned) and the creating (how much GB were added).
Since a release in the past this changed and the verbosity level 1 gave me also the file names and status (M, A, D).
Since then I'm struggling with right configuration to get just the pruning and creating summaries. Is it maybe possible to implement such a feature that only shows me the summaries of the done events based on the configuration file?
You are correct that the meaning of the verbosity levels did change somewhat in a recent release! If all you're looking for is the statistics/summaries, you can just use the
--statsflag to the
createaction. However, note that in borgmatic 1.3.17, there was a regression that prevents passing of the
--statsunless you also explicitly provide the
createaction on the command-line: witten/borgmatic#220
Let me know if that helps!
#220 is now fixed, so if you upgrade to 1.3.18+, you should be able to just pass
--statsto borgmatic regardless of specified actions.
In earlier versions the stats option also showed the prune statistics.
In the current version i have to run
borgmatic --prune --verbosity 1
to get prune statistics and
borgmatic --create --stats
to get create statistics.
This is a little confusing and inconsistent.
borgmatic prune --statsshould work, but I agree that it doesn't! Looking into it now.
Okay, this is now fixed in borgmatic 1.3.19, just released. Thanks!