[mythtv-users] Pre-0.26 Upgrade, DB Backup
    Jim Oltman 
    jim.oltman at gmail.com
       
    Wed Oct  3 16:07:38 UTC 2012
    
    
  
On Wed, Oct 3, 2012 at 10:20 AM, Martin Moores <moores.martin at gmail.com>wrote:
> The wiki has some good info on this, and is what I used when setting a
> cronjob up to run this nightly:
>
> http://www.mythtv.org/wiki/Database_Backup_and_Restore#Quick_Start
>
> You basically run the following command to set the backup location:
>
> echo "DBBackupDirectory=/home/mythtv" > ~/.mythtv/backuprc
>
> "/home/mythtv" being the backup directory
>
> That command sets the backup path permentantly, if you just want it as a
> one off, then run the script with "--directory"
>
> I run mine with "--rotate 14" to keep the last 14 copies of the database
>
> Cheers
>
> Martin
>
Thanks for your help!  After your suggestion, I realized I could run a -h
and get the help options.  DUH! Well, I started to setup a way to back this
up regularly, then realized I should save the DB to other HDD storage.  It
turns out I have mounted /var/lib/mythtv/db_backups that points to my NAS
box.  So everytime I ran that script, it was creating a new backup in that
folder.  So problem solved!  Thanks!
Jim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20121003/5c4f697e/attachment.html>
    
    
More information about the mythtv-users
mailing list