Which is why I put this little gem into a script in /etc/cron.daily:

#!/bin/sh

datenow=`date +"%Y%m%d"`
mysqldump --opt mythconverg > /var/lib/backups/mysqldump-${datenow}.sql
gzip -9 /var/lib/backups/mysqldump-${datenow}.sql

Make it executable, create the directory /var/lib/backups/ and you're
golden...

Did you remove the mythtv username/password from the database because this won't work unless you do?


Dave _______________________________________________ mythtv-users mailing list [email protected] http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

Reply via email to