[mythtv-users] Moving frontend/backend to a new machine

Jon N jdnandroid at gmail.com
Fri Dec 20 02:00:45 UTC 2013


On Thu, Dec 19, 2013 at 2:36 PM, Karl Newman <newmank1 at asme.org> wrote:
> On Thu, Dec 19, 2013 at 10:50 AM, Rich West <Rich.West at wesmo.com> wrote:

>>
>> I've copied the entire /root/.mythtv directory and the
>> entire /var/lib/mysql directory over (perhaps not the best practice, but
>> it has worked well) to the remote host.
>
>
> Don't do that. The fact that it worked just means you've been lucky.
>
>>
>>  You could always do a mysqldump
>> mythconverg > mythconverg.sql, copy the file over to the new host and
>> run mysql < /root/mythconverg,
>
>
> Don't do that either. You should use the mythconverg_backup.pl and
> mythconverg_restore.pl scripts (in the /usr/share/mythtv directory in most
> distros) to ensure you get the correct command line switches to avoid a
> corrupted database.
>
> Karl


Thanks Karl.  I was basically planning on doing a stock install
through the package manager and use the backup/restore scripts you
mentioned.  I may save the .mythtv directory just in case (in case of
what, I don't know, but it doesn't take up too much room).

-- 
Jon


More information about the mythtv-users mailing list