/simple-mysqlbackup

bash script to backup your databases

Primary LanguageShell

simple-mysqlbackup

bash script to backup your databases

##Parameters## STORAGEDIR = Folder where the script stores your backup.

IGNOREDB = List of Databases to ignore.

ROTATION = Number of days the backup should rotate. Default is 7.

Crotab

For regular updates create a new cronejob crontab -e and insert the following contents 0 0 * * * /home/vagrant/simple-mysqlbackup/mysqlbackup.sh

Suggestions

If you have suggestions to improve the script, please let me know!