[mythtv-users] seeking upgrade advice 0.20 -> 0.23 backend database

Michael T. Dean mtdean at thirdcontact.com
Wed Jan 5 02:18:59 UTC 2011


  On 01/04/2011 09:06 PM, Ross Camm wrote:
> I finally have managed to compile and make install .23 under etch in
> /usr/local
>
> I still have 0.20 installed via deb packages. I don't want to remove this
> as mythtv is a critical household application...sure many of you
> understand ;)
>
> would the safest&  easiest way to test if 0.23 is going to run and migrate
> the 0.20 database be to:
>
> 1. stop mythbackend .20
> 2. stop mysql
> 3. cp -a /var/lib/mysql /safeplace

Never rely on a binary "backup" of a MySQL database.  Always create a 
good, "portable" backup:

http://www.mythtv.org/wiki/Database_Backup_and_Restore

> 4. start mysql
> 5. start mythbackend 0.23  /usr/local/bin/mythbackend
> 6. see what works and what doesn't
> 7. if all goes bad, restore /var/lib/mysql with mysql stopped

For the restore: 
http://www.mythtv.org/wiki/Database_Backup_and_Restore#Replacing_an_existing_database

Mike


More information about the mythtv-users mailing list