Quote:
Originally Posted by sparky5693
For those of you that wanted this to delete old backups, you can change the format it names the saved file to accomplish something close. Using the method below, the output file is named Sun, Mon, Tue... etc. By doing this, it would just overwrite the correct the 7 day old file on each save.
change mysqlbackupconfig.php
change this
Code:
$backup['DATE'] = 'Y-m-d'; // Backup file date format
to this
Code:
$backup['DATE'] = 'D'; // Backup file date format
Remember... you'll only have 7 days of backups on hand like this. If something goes wrong, you need to get to it before your backup is overwritten.
|
Thank you.... :up:
I've been doing it manually....
Does this also work for file-by-file mode (table by table?) , besides one single file?
Regards,
Badger