[mythtv-users] How to get myth DB moved over from dead machine

Gary Dawes gary.dawes at gmail.com
Thu Sep 28 08:32:54 UTC 2006

On 28/09/06, Bilge Tutak <bilge.tutak at gmail.com> wrote:
> Why do not you first boot your new machine with your old harddisk. Linux
> will probably will adapt to the new hardware. So you can dump your db.
> Bilge
> On 9/27/06, leifontheroad <leifontheroad at hotmail.com> wrote:
> >  I've looked through the archives for answers to this, but haven't found
> > anything that nails what I need help with.
> >
> > My mobo on my myth box died last week and as a result, I obviously
> > didn't get a chance to export the Mythconverge DB so that I could import it
> > onto new HW. I have a new setup now (completely different HW, so I needed to
> > reinstall FC5 from scratch), but I would like to keep all the history from
> > my old Mythconverge DB (from version .19.1). The HDD on my old machine
> > survived (haven't tested yet to be sure), so I can pull the DB files from my
> > dead machine onto my new machine. But I'm not sure exactly how to do this.
> > Also, since version .20 just came out, I want to make sure I avoid
> > overwriting my .19.1 version of the DB.
> >
> > I'm using Jarod's guide, running FC5. I'm a linux novice, but have
> > managed to install and run mythtv for the last 3+ years, so I can stumble my
> > way through most things.
> >
> > So here are my two questions:
> >
> > 1. What's the best way to move the version .19 DB over?  Can I just copy
> > the data files for mythconverge on my dead box over to my new MySQL install
> > and restart MySQL? Or will that not provide the users and permissions that I
> > need (I've heard these may be stored in the default MySQL DB that gets
> > created upon MySQL install)?  Any other (better) suggestions?
> >
> > 2. How should I ensure that installing mythtv-suite via yum won't
> > overwrite my existing .19 DB? Should I go through the install from scratch,
> > and *then* copy over the version .19 DB files, and *then* do an update
> > install of mythtv-suite?
> >
> > Thanks for any help,
> >
> > - Leif
> >
> > _______________________________________________
> > mythtv-users mailing list
> > mythtv-users at mythtv.org
> > http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> >
> >
> >
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

I use knoppmyth, and I managed to trash my Pc so it wouldn't boot, this is
> basically what I did, the directory and partition names may be slightly
> different for you.

Drop the Hard disk into another PC then use a live CD disto, such as knoppix
> or ubuntu to boot the machine, make a couple of  directorys, i.e mkdir
> /harddisk, and mkdir /myth.

then mount the disk like so mount /dev/hda1 /harddisk, and mount /dev/hda4
> (i think) /myth

once mounted you should then be able to copy the  /var/lib/mysql directory
> to /myth/backup

rebuild the hardware. Reinstall your OS, and mythtv, then with the backend
stopped and mysql stopped copy the datafiles back, and you should then be in

have fun and good luck

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20060928/cfc9d4a4/attachment.htm 

More information about the mythtv-users mailing list