<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body>
<br>
<br>
<div class="moz-cite-prefix">On 8/4/20 10:11 AM, John wrote:<br>
</div>
<blockquote type="cite"
cite="mid:7560e8b2-31bf-ea49-5db0-cd59172b29fd@googlemail.com">
<meta http-equiv="content-type" content="text/html;
charset=windows-1252">
<p>Setting up a raspberry pi backend and I want to move all
existing recordings from an old machine.</p>
<p>The channels and sources are showing in setup but no storage
groups<br>
</p>
<p>The new machines host name is pitv the old machine was tv. <br>
</p>
<p>I have imported a backup of the old database to the new
machine.</p>
<p>Used this to convert the hostname in the database<br>
</p>
<p>mythconverg_restore.pl --change_hostname --old_hostname="XXXX"
--new_hostname="YYYY"</p>
<p>The conversion has worked looking in the settings table.</p>
<p>When I run mythtv-setup>general>Host Address Backend
Setup</p>
<p>I can set the Primary IP Address<br>
</p>
<p>But as soon as I tick "This Server is the Master Backend"</p>
<p>It fills in the Master Backend Name and wont let me edit it.</p>
<p>The name picked was a previous name of this card, I have
checked</p>
<pre class="line-numbers language-bash"><code class=" language-bash">/etc/hosts,</code>
<code class=" language-bash"><code class=" language-bash">/etc/hostname
and Raspberry Pi Configuration
Its getting the old name from somewhere though
Do I have to use a previously unused IP address for the card
</code></code></pre>
<p><br>
</p>
<br>
</blockquote>
When you click "This server is the master backend", it copies your
machine name to the master server name. It gets that machine name
from $HOME/.mythtv/config.xml, or if that says
"my-unique-identifier-goes-here" it gets it from /etc/hostname. So
if you need a different master server name, change it in one of
those places, then select "This server is the master backend" again.<br>
<br>
Peter<br>
</body>
</html>