[mythtv-users] I am an idiot - deleted everything without DB backup - a question...

John Drescher drescherjm at gmail.com
Sat Sep 8 15:19:37 UTC 2007

> Oh, and I have to get myself a backup command to automatically put a
> backup somewhere else on the network. That or don't do Myth rebuilds
> when I haven't had enough sleep....

I make a backup my mythtv database every night with a cron job:

# cat /etc/cron.daily/mythtv.cron
#! /bin/sh
mkdir -p /var/backup/mythtv
/usr/bin/mysqldump -u mythtv mythconverg | /bin/bzip2 -c >
/var/backup/mythtv/mythtv-`date +%F`.bz2


More information about the mythtv-users mailing list