<p dir="ltr"></p>
<p dir="ltr">On Aug 11, 2016 6:25 PM, "Michael T. Dean" <<a href="mailto:mtdean@thirdcontact.com">mtdean@thirdcontact.com</a>> wrote:<br>
><br>
> On 08/11/2016 04:33 PM, Bill Meek wrote:<br>
>><br>
>> On 08/11/2016 02:29 PM, Ian Evans wrote:<br>
>>><br>
>>> So all I need to do after that is run <a href="http://mythconverg_restore.pl">mythconverg_restore.pl</a>? It handles the mismatched schemas?<br>
>><br>
>><br>
>> No. <a href="http://mythconverg_restore.pl">mythconverg_restore.pl</a> restores a backup you made<br>
>> earlier. Probably/recently on 0.27 in your case.<br>
>><br>
>> The schema upgrade happens when you run a 0.28 mythtv_setup<br>
>> (and mythfrontend.) mythbackend will do the upgrade too, but<br>
>> mythtv_setup is preferred.<br>
><br>
><br>
> Right, so make sure you do a complete restore, and to be safe (in case your package manager creates a schema), use the<br>
><br>
> --drop_database --create_database<br>
><br>
> arguments, as at<br>
> <a href="https://www.mythtv.org/wiki/Database_Backup_and_Restore#Replacing_an_existing_database">https://www.mythtv.org/wiki/Database_Backup_and_Restore#Replacing_an_existing_database</a><br>
> (which will work fine, even if there is no existing database, given a user with proper permissions--so you should really always use those arguments).<br>
><br>
> You cannot do a partial restore--but, on the bright side, there's no good reason to ever do a partial restore unless you have some database corruption in some of the tables (but not in any of the partial-restore tables).<br>
></p>
<p dir="ltr">Still a bit confused here. Okay, if I can't use the restore because the schemas are mismatched, how do I get the 0.27 database onto the new 0.28 system?</p>
<p dir="ltr">Again I am talking about a completely fresh, reformat the drive upgrade from 12.04/0.27 to 16.04/0.28.</p>
<p dir="ltr">Am I just cp'ing the mythtv mysql files over to another drive, doing the fresh installation and then mv'ing the files over again so that myth-setup will then do the schema upgrade when I start it? <br></p>