Univention Bugzilla – Bug 45408
Limit number of backups in /var/univention-backup
Last modified: 2017-11-17 11:05:36 CET
The cronjob that runs the cleanup is too verbose and spammy. It generates a cronmail even on success, which is quite annoying.
I guess this line here:
> find "$backup_dir" -type f -mtime "+$max_age" -regex "$pattern" -delete
should become something like:
> find "$backup_dir" -type f -mtime "+$max_age" -regex "$pattern" -delete > /dev/null
+++ This bug was initially created as a clone of Bug #38554 +++
It would be nice to be able to limit the max amount of days for the nightly backup scripts - for example with the help of UCR.
Otherwise you have tons of unqiue backup variants underneath /var/univention-backup for the last 100xxx days.
Code review: OK
*** Bug 45727 has been marked as a duplicate of this bug. ***