Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 577 Bytes

README.md

File metadata and controls

23 lines (16 loc) · 577 Bytes

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!