søndag den 17. juni 2007

Automatically back up the MythTV database daily

If you ever lose your MythTV database, you will be very sad; it contains all MythTV settings, as well as records of every program that you have watched, the programs you have recorded, etc. etc. Backing up is easy to do, especially since I have a small script that will do it for you.

cd /usr/local/bin
wget http://s91928265.onlinehome.us/hfamily/mythtv/backup.database.shchmod a+rx backup.database.sh

Now, etc /etc/crontab and add in the following line:

30 12 * * * mythtv /usr/local/bin/backup.database.sh /scratch/dbbackup >& /dev/null

Ingen kommentarer:

Blog-arkiv