<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On 5 February 2015 at 12:24, Douglas Wagner <span dir="ltr"><<a href="mailto:douglasw0@gmail.com" target="_blank">douglasw0@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Also with hopefully crisis averted, I'll ask the second question:<br><br>There used to be a script you could run, passing it data from a recorded file to add that recorded show back into the MythTV Database.  Is that still available and if so what's the name?  I can pull up the Wiki page for docs.<br><br></div>--Doug<br></div><div class=""><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 4, 2015 at 8:05 PM, Douglas Wagner <span dir="ltr"><<a href="mailto:douglasw0@gmail.com" target="_blank">douglasw0@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Upgrade is FINE!!!  I'm MORE than happy with that answer.  So I assume my process is to bring up the OS (14.04), dump the Mythconverge database (installed by default) and then restore it from the backup I have?<br><br></div>--Doug<br></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div>On Wed, Feb 4, 2015 at 8:00 PM, Anthony Giggins <span dir="ltr"><<a href="mailto:seven@seven.dorksville.net" target="_blank">seven@seven.dorksville.net</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><div><div>On 5 February 2015 at 11:39, Douglas Wagner <span dir="ltr"><<a href="mailto:douglasw0@gmail.com" target="_blank">douglasw0@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div><div>Manger's Summary:<br>=================<br></div><div>Mythbuntu 12.04 Installation,<br></div><div>Operating System / OS Disk Massively Corrupted<br></div><div>MythTV Database Corrupted<br></div><div>TV/Recorded files fine.<br></div><div>Do have a SQL Export Backup from the 21st.<br><br></div><div>What's my best option of getting a mythtv installation back up in the air on a new OS disk and re-importing the database backup?<br><br>Can I install Mythbuntu 14.04 and do it (the export is from 12.04) or should I reinstall 12.04 and them Release-Upgrade to 14.04?<br><br></div><div>This is a work in progress (I'm replacing the HD as I type) so any fast answers would be DEEPLY appreciated.<br><br></div><div><br></div><div>The Story<br>==================<br>So as the title suggests I've got a 5+ year Mythtv installation (been through quite a few upgrades since initial installation).  As of yesterday I found the database not booting and stupidly decided an upgrade would fix that (always has in the past).  To make a long story short the patch upgrade failed massively so I decided to try a distro upgrade (it was 3 in the morning, I was sick, give me a break :) ) and that's about when I figured out my OS disk is very quickly dying.  Hafl the packages downloaded onto a corrupted part of the disk and couldn't be un-compressed, half my log files are unreadable, oh yea, and my Mythtv database files are corrupt (which is what was causing the MySQL installation not to boot in the first place)...and my last good Database backup is from almost 2 weeks ago, etc.  (Thank God I could find one at least semi-recent backup / export that did unzip ok).<br><br></div>So just to make sure I'm nice and clear, I'm part way through an upgrade from Mythbuntu 12.04 -> Mythbuntu 14.04 and I'm not going to get any farther.<br><br>This thing is toast.  To be fair to myself, I wasn't going to be able to save this install, and the MythTV Database was already destroyed prior to me even trying to upgrade/patch the box, so I really haven't made anything much worse than it already was.<br><br></div>I'm sitting here with a new OS disk I'm about to install, I realize I'm going to have to build this back up from laying down the OS.  My question is about database recovery.  <br><br></div><div>Since I'm still on 12.04's version of MythTV (.26 I think), can I install Mythbuntu 14.04 (Mythtv .27? I think), and import the database or are there major database changes between 26 and 27 that require me to install12.04, Import the DB to there, then release-upgrade to 14.04?<br><br></div><div>The more generic question is:  What's the best way to recover a database backup on some midline version of .26 Mythtv? <br><br></div><div>I've got (I think) all the uncorrupted actual recordings, I just need to get the database back installed so that I can read those recordings again.   I'll have to figure out how to re-import anything I've got files for but the DB doesn't know about since the 21st, but that's a much less important problem right now.<br><br>HELP?  Advise?<br><br>--Doug<br></div></div>
<br><br></blockquote></div></div><div>The only reason you'd install 12.04 is if you were on 0.26 and want to stay on 0.26 (although 0.27 & 0.28 is also supported on 12.04)<br><br></div><div>as per <a href="http://www.mythbuntu.org/repos" target="_blank">http://www.mythbuntu.org/repos</a><br></div><div><br></div><div>If you install 14.04 you'll be able to restore your 0.26 database but it will get upgraded to 0.27 <br></div></div><br></div><div class="gmail_extra">Cheers,<br></div><div class="gmail_extra"><br></div><div class="gmail_extra">Anthony<br></div></div><br></div></div><br></blockquote></div></div>
</blockquote></div><br></div>
</div></div><br></blockquote><div><br></div><div>The only script that I know of that comes close to this is<br><br><a href="http://nowsci.com/mythmediamonitor/">http://nowsci.com/mythmediamonitor/</a><br><br></div><div>however it wont know any other data then the filename for recordings if it will even work at all, you could probably decode the recording start time from the filename but not alot more.....<br><br></div><div>however if your restoring your database from a backup you'll have all this information however <a href="http://www.mythtv.org/wiki/Find_orphans.py" target="_blank">Find_orphans.py</a> should be able to identify the recording files not in your database.<br><br></div><div>Cheers,<br><br></div><div>Anthony<br></div></div><br></div></div>