MySQL Dump and Backup

I cron’d this:

mysqldump -u root -pYOURPASSWORD --all-databases | gzip > /mnt/freenas/SQL_Backup/database_`date +"%m-%d-%Y"`.sql.gz

Leave a Reply

Your email address will not be published. Required fields are marked *