<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html;
      charset=windows-1252">
  </head>
  <body>
    <div class="moz-cite-prefix">On 04/08/2020 16:03, Peter Bennett
      wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:ade859f0-41de-71a4-ba71-b317bdc10df8@gmail.com">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <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>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
mythtv-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a>
<a class="moz-txt-link-freetext" href="http://lists.mythtv.org/mailman/listinfo/mythtv-users">http://lists.mythtv.org/mailman/listinfo/mythtv-users</a>
<a class="moz-txt-link-freetext" href="http://wiki.mythtv.org/Mailing_List_etiquette">http://wiki.mythtv.org/Mailing_List_etiquette</a>
MythTV Forums: <a class="moz-txt-link-freetext" href="https://forum.mythtv.org">https://forum.mythtv.org</a>
</pre>
    </blockquote>
    <p>Thanks that worked, presumably a frontend had written to
      $HOME/.mythtv/config.xml,</p>
    <p><br>
    </p>
  </body>
</html>