Quote:
Originally Posted by bzcomputers
I limit it to just 7 backups by changing the "Date Format" in the settings. If you just use "D" (which stands for day of the week) as the date format then you will only get 7 backups before they start to overwrite themselves.
yourprefixMon-Full-Backup.sql.gz
yourprefixTue-Full-Backup.sql.gz
yourprefixWed-Full-Backup.sql.gz
yourprefixThu-Full-Backup.sql.gz
yourprefixFri-Full-Backup.sql.gz
yourprefixSat-Full-Backup.sql.gz
yourprefixSun-Full-Backup.sql.gz
Then after 7 days they will just overwrite each other. You no longer need to delete old backups which as you mentioned, everyone forgets to before they get an alert about disk space. Extremely useful if you're running multiple sites too!
I figure if I don't know within a week that I need a backup for a site then I really don't need the backup.
...My server runs nightly backups too, but you can never be too safe.
|
I never thought of that! Great idea!