File: /etc/logrotate.d/mydb-backup.conf
/home/sleddog/mydb/dump.sql {
daily
rotate 14
compress
nocreate
postrotate
/usr/bin/mysqldump my_db > /home/sleddog/mydb/dump.sql || true
endscript
}
Now rsync the dir to a remote location for geographic redundancy :)