rsbackup causes cronmail with lots of WARNINGs and ERRORs if pruning is stopped due to prune-timeout setting #89
Comments
|
Agreed, a single warning message (mentioning the reason for the timeout) would be plenty. Also:
...is obviously the wrong warning category. |
ewxrjk
added a commit
that referenced
this issue
Dec 28, 2020
ewxrjk
added a commit
that referenced
this issue
Jan 1, 2021
Action & prune timeout errors are moved to WARNING_VERBOSE. re #89
|
Would you be able to test the https://github.com/ewxrjk/rsbackup/tree/issue89 branch to see if it has better behaviour for you? |
|
Not currently, unfortunately -- the backlog of things needing pruning has now been pruned and because i'm now using the decay prune policy there are many fewer backups on a disk at once, so I no longer have or expect to run into the "so many outstanding prune operations that they timeout" situation. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If the prune-timeout setting is used to restrict the time spent pruning old backups, and rsbackup stops pruning in a particular run as a result, I get a big long cron barfmail like this:
Since "stopping pruning because the configuration says not to spend too much time pruning" is a normal expected action, it doesn't seem to me to merit a big long list of WARNINGS/ERRORS in cronmail (the format of which is rather long and not very informative). It might be nice to instead have a summary of the current pruning situation in the standard backup-report email ("%d stale backups still awaiting pruning" or something).
(In this case I have a big lot of pending prunes because I've just switched the backup volume from the default pruning policy, which kept 180 or so backups, to the 'decay' policy, whose tuning parameters mean that most of the old every-day backups are now set to be pruned.)
The text was updated successfully, but these errors were encountered: