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
Ramblings Of An IT Person
I cron’d this:
mysqldump -u root -pYOURPASSWORD --all-databases | gzip > /mnt/freenas/SQL_Backup/database_`date +"%m-%d-%Y"`.sql.gz
Leave a comment