Author |
Message |
bubbahotep
|
Posted: Mon May 02, 2005 5:31 pm |
|
Joined: Mon May 02, 2005 5:10 pm
Posts: 13
|
I have an Asus Pundit that has been running MythTv on Fedora Core 2 for about the last 8 months or so. (Followed Jarod's guide)
The hard drive is making a lot of noise, so I want to move the data to a new bigger (less noisy) hard drive.
This will be a swap of HD's on the same computer.
I loaded KnoppMyth on the new hard drive and have it running great. The last piece of the puzzle is that I want to move the recorded shows and the database info over from the old drive to the new one.
From the fedora myth drive, I did the following commands as Root from a bash window for backing up the database....(from the mythtv docs)
$ mysqldump -u mythtv -pmythtv mythconverg -c > mythtv_backup.sql
$ grep "INSERT INTO record " mythtv_backup.sql > restore.sql
$ grep "INSERT INTO recorded " mythtv_backup.sql >> restore.sql
$ grep "INSERT INTO oldrecorded " mythtv_backup.sql >> restore.sql
$ grep "INSERT INTO recordedmarkup " mythtv_backup.sql >> restore.sql
That left me with a restore.sql file.
I mounted the knoppmyth drive and copied over all my .nuv files and this restore.sql file.
I then powered down, removed the old drive and booted on the knoppmyth drive.
I ran the following command as root from a bash window...
$ mysql -u mythtv -pmythtv mythconverg < restore.sql
It thought for a while and didnt complain about anything. I went into the myth frontend and it didnt seem to have imported anything. It didnt list any of my recordings, it didnt have any of my scheduled recordings or anything from the old system.
I'm thinking this is due to Myth using different folders, locations and such than Knoppmyth. Am I on the right track?
What did I do wrong?
I'm a linux noob and am good at following directions and thats about the extent of my linux knowledge...fyi
Thanks for your help.
|
|
Top |
|
 |
brendan
|
Posted: Mon May 02, 2005 10:32 pm |
|
Joined: Tue Dec 07, 2004 12:04 pm
Posts: 369
|
bubbahotep wrote: The hard drive is making a lot of noise, so I want to move the data to a new bigger (less noisy) hard drive.
Have you tried the hdparm command to set the acoustic settings of the drive? man hdparm...
-brendan
|
|
Top |
|
 |
bubbahotep
|
Posted: Tue May 03, 2005 6:27 am |
|
Joined: Mon May 02, 2005 5:10 pm
Posts: 13
|
Quote: Have you tried the hdparm command to set the acoustic settings of the drive? man hdparm...
I think the drive has a bad bearing and is about to fail actually.
|
|
Top |
|
 |
brendan
|
Posted: Tue May 03, 2005 12:15 pm |
|
Joined: Tue Dec 07, 2004 12:04 pm
Posts: 369
|
Ah! In that case, good luck!
-brendan
|
|
Top |
|
 |
fvandee
|
Posted: Fri Dec 23, 2005 2:37 pm |
|
Joined: Fri Dec 23, 2005 2:28 pm
Posts: 1
|
You can check and modify the location in the setup pages. I have changed the default locations myself, so all data (including video, photos, music and games) is on one LVM
I intend to do the same from FC4 to KnoppMyth
The only thing is i do not want to setup channels and XMLTV again.
Did you have any troubles besides the file locations?
Bye
|
|
Top |
|
 |
bubbahotep
|
Posted: Sat Dec 24, 2005 4:35 pm |
|
Joined: Mon May 02, 2005 5:10 pm
Posts: 13
|
I wasn't able to firgure out anything past where I ran into trouble.
I just decided a totally fresh knoppmyth install was the way to go after I couldnt figure it out, so I reinstalled again and just had to build up my watched program database from scratch.
If its any consolation, knoppmyth includes a backup and restore feature within its menus so as long as you stick with knoppmyth this shouldnt be an issue next time around.
|
|
Top |
|
 |