I just noticed that the Weekly backups weren't being
deleted after 5 weeks.
The reason is on line 539 of the script:
eval rm -fv "$BACKUPDIR/weekly/$DB_week.$REMW.*"
The line needs to be:
eval rm -fv "$BACKUPDIR/weekly/$DB/${DB}_week.$REMW.*"
Notice the extra $DB directory and the {}'s around the
$DB reference in the file name.
Not sure how this bug hasn't been hit yet..
I'm using separate backup files for each database.
Logged In: YES
user_id=142624
Confirm that bug
Logged In: YES
user_id=679094
Patch provided: Patch # 1580154 at
https://sourceforge.net/tracker/index.php?func=detail&aid=1580154&group_id=101066&atid=628966
Logged In: NO
Just got hit with this one myself as I noticed my backup tarballs were getting larger every day. Surprised it wasn't mentioned earlier as a bug...
Logged In: YES
user_id=1245019
Originator: NO
You are right. Thank you for the submit.
Logged In: NO
Confirmed. Thank you.
Logged In: YES
user_id=1910395
Originator: NO
Confirmed. Patch appears correct.
How is it necessary to use this patch?
Changed routine for rotation.