<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Dec 19, 2013 at 10:50 AM, Rich West <span dir="ltr">&lt;<a href="mailto:Rich.West@wesmo.com" target="_blank">Rich.West@wesmo.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 12/19/2013 12:52 PM, Matthias Thyroff wrote:<br>
&gt; On 19.12.2013 18:01, Jon N wrote:<br>
&gt;&gt; On Thu, Dec 19, 2013 at 11:56 AM, Jon N &lt;<a href="mailto:jdnandroid@gmail.com">jdnandroid@gmail.com</a>&gt; wrote:<br>
&gt;&gt;&gt; Hi,<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; I am planning on moving my MythTV frontend/backend (it&#39;s the only<br>
&gt;&gt;&gt; backend I have) to a new machine.  I have been reading backend<br>
&gt;&gt;&gt; migration page on the wiki on Mythtv.org, but still have at least one<br>
&gt;&gt;&gt; question about passwords.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; I set up Mythtv so long ago I don&#39;t remember much about it, but I do<br>
&gt;&gt;&gt; seem to remember there is a password associated with it, I think it&#39;<br>
&gt;&gt; ...oops, somehow I managed to send that before it was done.  Picking<br>
&gt;&gt; up where I left off...<br>
&gt;&gt;<br>
&gt;&gt; was for access to the mysql database.  Is this a factor in moving<br>
&gt;&gt; things to the new computer?  I don&#39;t see it mentioned on the database<br>
&gt;&gt; migration page, but I admit moving this makes me a little nervous (I<br>
&gt;&gt; am not what I would call a power user), so I  would just like to<br>
&gt;&gt; verify before I start.<br>
&gt;&gt;<br>
&gt;&gt; BTW, if anyone knows of an alternate guide to doing this please pass<br>
&gt;&gt; it along.  I often find having more than one perspective on doing<br>
&gt;&gt; something helps.<br>
&gt;&gt;<br>
&gt;&gt; Thanks,<br>
&gt;&gt; Jon<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; mythtv-users mailing list<br>
&gt;&gt; <a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>
&gt;&gt; <a href="http://www.mythtv.org/mailman/listinfo/mythtv-users" target="_blank">http://www.mythtv.org/mailman/listinfo/mythtv-users</a><br>
&gt; Hello Jon,<br>
&gt;<br>
&gt; I have moved my backend many times already from one machine to the<br>
&gt; next one... starting on a PII, Athlon, Athlon X2, and now I am on an<br>
&gt; ivy bridge celeron, I think, always complete with the underlaying<br>
&gt; linux installation, either just taking the hard disk to the new<br>
&gt; computer or copying the whole system to to a new disk (there are<br>
&gt; instructions on the internet to do that, you might have to boot from a<br>
&gt; CD to reconfigure grub). This saved me from reconfiguring, not only<br>
&gt; myth, but also the web server, the mail system, the users, the cloud,<br>
&gt; the pbx (at that time)...<br>
&gt;<br>
&gt; This is also why I am still running 32bit on 64bit hardware, but I do<br>
&gt; not see the need to change to 64bit at all (maybe a tiny little<br>
&gt; technology itch, but I can live in peace with that.)<br>
&gt;<br>
&gt; That is one of the great things about linux: Changing the platform<br>
&gt; does not mean automatically that you have to reinstall. It is quite<br>
&gt; cool to see the old installation booting the first time on new hardware.<br>
&gt;<br>
&gt; It sometimes needs some tweaking, removing old network adaptors,<br>
&gt; tweaking powersaving, minor things that you have to tweak manually<br>
&gt; anyway.<br>
&gt;<br>
&gt; And when everything is running, you still should go and recover your<br>
&gt; passwords, maybe.<br>
&gt;<br>
&gt; Good luck and fun for your holidays project!<br>
&gt;<br>
&gt; Matthias<br>
<br>
I&#39;ve copied the entire /root/.mythtv directory and the<br>
entire /var/lib/mysql directory over (perhaps not the best practice, but<br>
it has worked well) to the remote host.</blockquote><div><br>Don&#39;t do that. The fact that it worked just means you&#39;ve been lucky.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

  You could always do a mysqldump<br>
mythconverg &gt; mythconverg.sql, copy the file over to the new host and<br>
run mysql &lt; /root/mythconverg, <br></blockquote><div><br></div><div>Don&#39;t do that either. You should use the <a href="http://mythconverg_backup.pl">mythconverg_backup.pl</a> and <a href="http://mythconverg_restore.pl">mythconverg_restore.pl</a> scripts (in the /usr/share/mythtv directory in most distros) to ensure you get the correct command line switches to avoid a corrupted database.<br>

<br></div><div>Karl<br></div></div><br></div></div>