[mythtv-users] MythTV backup
John Drescher
drescherjm at gmail.com
Wed Apr 2 18:30:18 UTC 2008
> I don't care much about losing the video files because, as you say,
> it's just TV, and most stuff will eventually be re-run. This thread
> reminds me that I really ought to back up the database, though; I have
> quite a pile of recording rules and they'd take a while to recreate.
>
I have this as a cron job that runs daily.
# 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
John
More information about the mythtv-users
mailing list