[mythtv-users] Pre-0.26 Upgrade, DB Backup

Martin Moores moores.martin at gmail.com
Wed Oct 3 15:20:19 UTC 2012


On 3 October 2012 16:12, Jim Oltman <jim.oltman at gmail.com> wrote:

> I'm reading the Release Notes for 0.26, and while I will wait a while to
> upgrade, I am curious about the DB backup procedure.  The notes say to run:
>
> /usr/share/mythtv/mythconverg_backup.pl
>
> as the user that will be performing the upgrade.  On MythBuntu 12.04, I
> believe that will be my user.  I am SSH'd into the backend, when I run that
> command, the command looks to go through.  It takes one or 2 seconds for me
> to get back to a prompt, however, there's no output.  Where should I be
> looking for the DB backup?  Thanks!
>
>
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20121003/27902775/attachment.html>


More information about the mythtv-users mailing list