Author |
Message |
Joker
|
Posted: Sun Apr 08, 2012 8:17 pm |
|
Joined: Sun Mar 06, 2005 12:46 pm
Posts: 64
|
I am currently running 7.02 and my current system consists of 2 drives, root is mounted to one drive and /myth to a second. Sadly the root hard drive failed today. I attempted to retrieve the data off the drive before it became completely unreadable, but was only partially successful. I did managed to get everything but the /usr directory. I will be performing a fresh install of 7.02 when my new drive shows up later this week. Is there any way I can import the database from this backup into a fresh install so I don't lose all my recordings?
Thanks
_________________ AMD BE-2400 ASUS M2N-E Motherboard 4GB Ram Nvidia 9400 Fanless 2 HDHomerun (dual tuner)
|
|
Top |
|
 |
graysky
|
Posted: Mon Apr 09, 2012 2:22 am |
|
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1996
Location:
/dev/null
|
Since /myth is itself own drive you should have no problems. Just restore your system, update fstab and restore your db. I assume LH 7 uses the same mythrestore and mythbackup scripts as v6 did?
_________________ Retired KM user (R4 - R6.04); friend to LH users.
|
|
Top |
|
 |
Joker
|
Posted: Mon Apr 09, 2012 4:49 am |
|
Joined: Sun Mar 06, 2005 12:46 pm
Posts: 64
|
Will that work even though I didn't run the backup script before the system went down?
_________________ AMD BE-2400 ASUS M2N-E Motherboard 4GB Ram Nvidia 9400 Fanless 2 HDHomerun (dual tuner)
|
|
Top |
|
 |
graysky
|
Posted: Mon Apr 09, 2012 2:07 pm |
|
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1996
Location:
/dev/null
|
Joker wrote: Will that work even though I didn't run the backup script before the system went down? ...what do you think? 
_________________ Retired KM user (R4 - R6.04); friend to LH users.
|
|
Top |
|
 |
tjc
|
Posted: Mon Apr 09, 2012 4:19 pm |
|
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location:
Arlington, MA
|
Do you have a recent backup? That's at least a starting point.
There is also a utility to recreate DB entries for your recordings... and I'm going completely blank on the name... :-/
|
|
Top |
|
 |
Joker
|
Posted: Mon Apr 09, 2012 7:26 pm |
|
Joined: Sun Mar 06, 2005 12:46 pm
Posts: 64
|
Of course I don't have a recent backup, that would be far too easy  . I think I will just start over, I didn't loose too much, just thought I would see if there was a magic bullet I didn't know of. Thanks guys.
_________________ AMD BE-2400 ASUS M2N-E Motherboard 4GB Ram Nvidia 9400 Fanless 2 HDHomerun (dual tuner)
|
|
Top |
|
 |
goofee
|
Posted: Mon Apr 09, 2012 9:09 pm |
|
Joined: Sat Feb 03, 2007 12:52 am
Posts: 187
Location:
Manitoba, Canada
|
There used to be a program called myth.rebuilddatabase.pl but I can't find it on my machine and by the looks of it it doesn't work anymore. http://www.mythtv.org/wiki/Myth.rebuilddatabase.pl Bummer. They recommend putting the files in mythvideo for playback. You should be able to find the recording with human readable filenames under /myth/pretty. They are just links and will be overwritten hourly with a running setup so copy/document them before you setup your new system. Good luck.
|
|
Top |
|
 |
marc.aronson
|
Posted: Tue Apr 10, 2012 6:17 am |
|
Joined: Tue Jan 18, 2005 2:07 am
Posts: 1532
Location:
California
|
Joker wrote: I did managed to get everything but the /usr directory. I will be performing a fresh install of 7.02 when my new drive shows up later this week. Is there any way I can import the database from this backup into a fresh install so I don't lose all my recordings?
Thanks Here's a thought: 1. Do a fresh install of 7.2 on a scratch disk. 2. Copy all of "/usr" over to your recovered drive where you have everything but "/usr" and use that as your boot drive.
_________________ Marc
The views expressed are my own and do not necessarily reflect the views of my employer.
|
|
Top |
|
 |
christ
|
Posted: Tue Apr 10, 2012 8:27 am |
|
Joined: Mon Dec 24, 2007 9:47 am
Posts: 535
Location:
Ottawa, Canada
|
You may also be able to grab the mysql database itself (it is just a bunch of files) and copy it over to the new install. The run optimizemythdb to make sure it is clean. I'm not home at the moment but I think it is under /var
-C
|
|
Top |
|
 |
mattbatt
|
Posted: Tue Apr 10, 2012 10:22 pm |
|
Joined: Tue Aug 15, 2006 11:14 am
Posts: 1343
Location:
Orlando FL
|
run SpinRite on the drive. You can find it all over the web and it if it works Pay Steve for it $80 www.grc.com/spinrite it is the best hard drive recovery money can buy. Just shy of some guys in bunny suits in a clean lab dissecting the drive!
_________________ My System
|
|
Top |
|
 |
Joker
|
Posted: Wed Apr 11, 2012 11:46 am |
|
Joined: Sun Mar 06, 2005 12:46 pm
Posts: 64
|
I mistyped earlier, I am missing /usr and /var. I may give spinrite a shot, but I don't expect it to do much. The drive just clicks at me now.
_________________ AMD BE-2400 ASUS M2N-E Motherboard 4GB Ram Nvidia 9400 Fanless 2 HDHomerun (dual tuner)
|
|
Top |
|
 |
jlp_engineer
|
Posted: Wed Apr 11, 2012 5:30 pm |
|
Joined: Tue Mar 27, 2012 1:23 am
Posts: 26
Location:
South Dakota, USA
|
If it is just clicking, then it usually means that the heads cannot detect the servo track information. In other words, the drive is a brick now. The only hope would be a clean room and re-formatting the servo tracks without touching the data blocks. With the old drives (MFM, RLL, ESDI), there are utilities that could re-align the heads with the tracks on the disk, but with modern drives, most software is isolated from those features of the controller, since it is now integrated on the drive.
|
|
Top |
|
 |
Joker
|
Posted: Thu Apr 12, 2012 8:05 am |
|
Joined: Sun Mar 06, 2005 12:46 pm
Posts: 64
|
Well, I just got lucky. I had the new drive set up and ready to reformat everything and I decided to give the old drive one last try... and it worked  . I recovered the rest of the disk. I booted the image from a USB stick and was able to perform a full backup. I think I need a proper backup regimen. Lesson learned.
_________________ AMD BE-2400 ASUS M2N-E Motherboard 4GB Ram Nvidia 9400 Fanless 2 HDHomerun (dual tuner)
|
|
Top |
|
 |
nigelpearson
|
Posted: Sat Jan 21, 2017 1:00 am |
|
Joined: Wed Mar 03, 2004 7:43 pm
Posts: 748
Location:
Sydney, Australia
|
|
Top |
|
 |