<div>Thanks for the reply.</div><div><br></div><div>When you say "before you start any mythtv programs (including mythtv-setup and mythbackend)" is it a problem that I've previously run myth-setup and mythbackend on the new machine? Is stopping mythbackend (and any other myth processes) enough, or do I need to change the hostnames before ever having run these? </div>
Thanks<br><br>-Rick<br>
<br><br><div class="gmail_quote">On Tue, Dec 8, 2009 at 9:32 PM, Michael T. Dean <span dir="ltr"><<a href="mailto:mtdean@thirdcontact.com">mtdean@thirdcontact.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On 12/08/2009 08:41 PM, Rick Goldberg wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
I think my problem is that I'm trying to migrate too many aspects at once, and I don't know what order to do it in. Here's the current setup.<br>
<br>
Several year old installation of Ubuntu with Myth 0.20. SIngle machine acting as the frontend and backend. Using a PVR-350. I'm running X over the 350's TV-out to my TV. The X part was very finicky to setup, so I don't really want to mess with that machine any more than I have to.<br>
<br>
I'd like to modernize my setup, and eventually retire that old box. My desired setup is a single mythbackend running on my home server and several front ends around the house.<br>
<br>
I have the server part all set up. I just installed Ubuntu 9.10 and myth 0.22, configured an HVR-1600 and that machine is working perfectly as a front and back end.<br>
<br>
I have also set up a second front end on a different ubuntu 9.10 machine, communicating with the backend server, and everything works fine.<br>
<br>
Now the part I can't figure out. How do I migrate all my data off the old 0.20 myth box to my new 0.22 backend?<br>
<br></div>
The recording files were on an NFS server, so they are accessible to the new backend. I've done a backup of my old database using <a href="http://mythconverg_backup.pl" target="_blank">mythconverg_backup.pl</a> <<a href="http://mythconverg_backup.pl" target="_blank">http://mythconverg_backup.pl</a>>. But I'm stuck now. I only want to restore the recording data, I don't want to do a full database restore (since user names and plugins are different), but the partial restore option says it only works with identical DB schemas, and I assume the schema changed from 0.20 to 0.22<div class="im">
<br>
<br>
Can anyone help me over this last hump?<br>
</div></blockquote>
<br>
You really need to do a full restore of your 0.20 data.<br>
<br>
Then, if your host names change, you /must/ do <a href="http://www.mythtv.org/wiki/Database_Backup_and_Restore#Change_the_hostname_of_a_MythTV_frontend_or_backend" target="_blank">http://www.mythtv.org/wiki/Database_Backup_and_Restore#Change_the_hostname_of_a_MythTV_frontend_or_backend</a> for each host whose name you change *before you start any mythtv programs* (including mythtv-setup and mythbackend).<br>
<br>
So, for example, if your master backend was named mbe before and now it's newmbe, you'd do:<br>
<br>
<a href="http://mythconverg_restore.pl" target="_blank">mythconverg_restore.pl</a> --change_hostname --old_hostname="mbe" --new_hostname="newmbe"<br>
<br>
And if you had a frontend named frontend and changed its hostname to newfrontend:<br>
<br>
<a href="http://mythconverg_restore.pl" target="_blank">mythconverg_restore.pl</a> --change_hostname --old_hostname="frontend" --new_hostname="newfrontend"<br>
<br>
Then start mythtv-setup and let it upgrade the database schema.<br>
<br>
There's really no benefit to doing a partial restore--even if you choose not to install some plugins you previously installed, the space taken up by their data is negligible. A partial restore is meant as a last-ditch approach for salvaging a little data from a broken database.<br>
<br>
If you really feel you must do a partial restore, it can be done, but the process will include /all/ of the above steps plus a few others.<br>
<br>
Mike<br>
_______________________________________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org" target="_blank">mythtv-users@mythtv.org</a><br>
<a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users" target="_blank">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a><br>
</blockquote></div><br>