https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31506 Robin Sheat <robin@kallisti.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |Needs Signoff --- Comment #2 from Robin Sheat <robin@kallisti.net.nz> --- Test plan: 1. Using KTD, 2. Make some fake backups so we can see what's being deleted: for ago in $( seq 1 10 ); do touch -d "-$ago days" /var/spool/koha/kohadev/kohadev-$( date -d "$ago days ago" "+%Y-%m-%d" ).tar.gz; done 3. Make sure that we're using our updated defaults file: cp debian/koha-core.koha-common.default /etc/default/koha-common 4. Edit that file, and set KEEP_BACKUP_DAYS to a number such as 5 (i.e. not any default) 5. Run `debian/scripts/koha-run-backups --help` and see that the help text mentions your new default setting 6. Run `debian/scripts/koha-run-backups --exclude-indexes --exclude-logs` 7. Run `ls -ltrh /var/spool/koha/kohadev/` and note that there a 5 (or however many you specified) days worth of backups still there, not the 11 - 10 fakes plus one new - there would be if nothing were deleted. -- You are receiving this mail because: You are watching all bug changes.