[mythtv-users] Question about changing hostname in database

Peter Bennett cats22 at comcast.net
Sun Oct 16 22:49:19 UTC 2016


On 10/16/2016 01:25 PM, Yann Lehmann wrote:
> Hi,
>
> I am in the process of upgrading/migrating my mythtv system from 0.27
> to 0.28 and new hardware, at least for the backend.
>
> Actually, I have a combined backend/frontend with 'myth-backend' as
> hostname. There are some other frontends but no other backends in the
> setup.
>
> After migration, the new backend (with the old name of 'myth-backend')
> will be on a dedicated machine in the basement and the old
> backend/frontend will continue to serve as the main frontend (no more
> backend function).
>
> I would like to change its name to 'myth-frontend'.
>
> In order to keep all the frontend-settings present in the 0.27
> database for this machine (same hardware), I plan to use the
> mythconverg_restore.pl script with according options and parameters.
>
> My guess is that the records in the 'settings'-table are for the
> frontend-function only. Or might changing the name as described brake
> something ?
>
> Thanks for any advice and regards
> Yann Lehmann
>
This is not recommended. The settings are for frontend and backend. If
you use the restore to change "myth-backend" to "myth-frontend" in the
database, then "myth-frontend" will be treated as the backend and the
myth-backend will not work. You need to leave the database as is or
restore without changing any hostname. You will have to configure your
new frontend manually.

Peter


More information about the mythtv-users mailing list