2012-07-13, 04:59 PM
/usr/bin/mysqldump --user={Database User} --password={Database Password} --all-databases| gzip > /var/www/mysqldump.
Then I rsync it and all the other files in /var/www/ to another VPS and my home computer.
Another script saves daily tar.gz's of the /var/www/ directory for me on the backup system and my home computer.
date +%H:%M
.sql.gzThen I rsync it and all the other files in /var/www/ to another VPS and my home computer.
Another script saves daily tar.gz's of the /var/www/ directory for me on the backup system and my home computer.