AutoMySQLBackup weekly backup modification
Hello,
I'm using AutoMySQLBackup (https://sourceforge.net/projects/automysqlbackup/) script to backup mysql db from several server.I need little help from you who is guru in scripting. I would like to take weekly backup after every 1 week and not every week. i.e. on every 14 days. This is the weekly backup portion of the script: Code:
# Weekly Backup |
I would not modify the script. Instead, use cron to only run the script every 14 days.
By default, the automybackup setup instructions tell you to add a simlink in /etc/cron.daily. Instead of doing that, leave the script in a good location (ie, /usr/local/admin/bin) and setup a root cron job to run it every two weeks. Something like so... Quote:
|
Quote:
|
So you want daily backups, as well as a bi-weekly backups? I would consider contacting the author.
|
Quote:
|
All times are GMT -5. The time now is 03:52 AM. |