LinHES Forums
http://forum.linhes.org/

MythTV upgrade to KnoppMyth
http://forum.linhes.org/viewtopic.php?f=14&t=5434
Page 1 of 1

Author:  JCZorch [ Thu Jul 21, 2005 1:35 am ]
Post subject:  MythTV upgrade to KnoppMyth

I browsed the forums looking for a solution that I'm sure is somewhere here but I failed to find it. Currently I have a CVS install of MythTV and I was wondering how to upgrade it to knoppmyth as my current install is starting to have issues. Could anyone point me in the right direction?

Author:  tjc [ Thu Jul 21, 2005 6:48 pm ]
Post subject: 

Basically you need to do the moral equivalent of what the backup script does.

Author:  cesman [ Sun Jul 24, 2005 9:35 pm ]
Post subject: 

If the CVS version is newer that the release 0.18.1, you may have difficulties downgrading. Basically you just have to remove the CVS release and install the debs. I assume you are already running KnoppMyth and have the debs under /usr/src...

Author:  grante [ Tue Aug 02, 2005 2:33 pm ]
Post subject: 

I recently upgraded from an older compiled-from-source MythTV install to KnoppMyth. I upgraded to a bigger hard-drive at the same time. That made things easier since I could preserve my old drive while doing the KnoppMyth install. Here's what I did:
  1. Dump whatever MySQL tables you want to preserve. The only two I bothered with were recorded and old-recorded. Make sure you dump them using the format that includes the column names in each row of data rather than the format that just dumps lists of values.
  2. Do a fresh auto-install from the KnoppMyth CD. Configure your listing source, and make sure everything is working.
  3. Move all of the media files (music and recorded programs in my case) to the directories expected by KnoppMyth.
  4. Load the MySQL tables you dumped previously.

You may want to dump/restore your recording schedule, but I decided to start from scratch on that one.

Author:  tjc [ Tue Aug 02, 2005 6:42 pm ]
Post subject: 

My somewhat rushed comment above was along the same lines, with a search of the forum implied, as this had just been covered recently. The source for the backup script was posted in that thread and by duplicating the files that the normal backup procedure produces you could then simply use KnoppMyth's built-in restore to get all your settings and information on recorded programs back... You would still need to copy the various music and video data files over but that's a far simpler business...

Author:  grante [ Tue Aug 02, 2005 8:44 pm ]
Post subject: 

tjc wrote:
My somewhat rushed comment above was along the same lines, with a search of the forum implied, as this had just been covered recently. The source for the backup script was posted in that thread and by duplicating the files that the normal backup procedure produces you could then simply use KnoppMyth's built-in restore to get all your settings and information on recorded programs back...

That's what I initially set out to do, but after looking the backup/restore scripts, it wasn't clear exactly how much saved state would be required to make restore script happy. It seemed a lot simpler to just type a couple MySQL commands to dump/load the two tables I cared about.
Quote:
You would still need to copy the various music and video data files over but that's a far simpler business...

Yup, that part is easy (if somewhat slow when done through a network). What's especially nice is that MythMusic will scan the music files and rebuild it's database automagically.

Author:  tjc [ Tue Aug 02, 2005 10:47 pm ]
Post subject: 

The database dump mythconverg.sql is the big thing. The various tarballs can be missing or empty just so long as that's there, although I'd recommend setting up the last one mythtv.tar.bz2 to preserve your settings and such that are outside the DB (things like icons, lirc config, mplayer or xine config, ...)

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/