<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p><br>
    </p>
    <div class="moz-cite-prefix">On 10/26/19 8:16 PM, James Abernathy
      wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:750C59BA-B7FC-4321-994F-841B93A449D5@gmail.com">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <br class="">
      <div>
        <blockquote type="cite" class="">
          <div class="">On Oct 26, 2019, at 4:45 PM, James Abernathy
            <<a href="mailto:jfabernathy@gmail.com" class=""
              moz-do-not-send="true">jfabernathy@gmail.com</a>>
            wrote:</div>
          <br class="Apple-interchange-newline">
          <div class=""><br style="caret-color: rgb(0, 0, 0);
              font-family: Helvetica; font-size: 12px; font-style:
              normal; font-variant-caps: normal; font-weight: normal;
              letter-spacing: normal; text-align: start; text-indent:
              0px; text-transform: none; white-space: normal;
              word-spacing: 0px; -webkit-text-stroke-width: 0px;
              text-decoration: none;" class="">
            <span style="caret-color: rgb(0, 0, 0); font-family:
              Helvetica; font-size: 12px; font-style: normal;
              font-variant-caps: normal; font-weight: normal;
              letter-spacing: normal; text-align: start; text-indent:
              0px; text-transform: none; white-space: normal;
              word-spacing: 0px; -webkit-text-stroke-width: 0px;
              text-decoration: none; float: none; display: inline
              !important;" class="">On 10/26/19 3:58 PM, David Hampton
              wrote:</span><br style="caret-color: rgb(0, 0, 0);
              font-family: Helvetica; font-size: 12px; font-style:
              normal; font-variant-caps: normal; font-weight: normal;
              letter-spacing: normal; text-align: start; text-indent:
              0px; text-transform: none; white-space: normal;
              word-spacing: 0px; -webkit-text-stroke-width: 0px;
              text-decoration: none;" class="">
            <blockquote type="cite" style="font-family: Helvetica;
              font-size: 12px; font-style: normal; font-variant-caps:
              normal; font-weight: normal; letter-spacing: normal;
              orphans: auto; text-align: start; text-indent: 0px;
              text-transform: none; white-space: normal; widows: auto;
              word-spacing: 0px; -webkit-text-size-adjust: auto;
              -webkit-text-stroke-width: 0px; text-decoration: none;"
              class="">On Sat, 2019-10-26 at 15:41 -0400, James
              Abernathy wrote:<br class="">
              <blockquote type="cite" class="">So I have a production
                mythtv backend called “mythbuntu”.  I have a<br class="">
                new backend built on a Raspberry Pi 4 on the same
                network. It’s name<br class="">
                is “raspberrypi”.  I’m wanting to parallel test these
                systems for a<br class="">
                few months with the same recording rules to see how the
                RP4 performs.<br class="">
                “mythbuntu” has Hauppauge WinTV Quad tuners and
                “raspberrypi” has<br class="">
                HDHR Quatro tuners. So in theory they both should record
                the same<br class="">
                programs since all tuners are on the same antenna.<br
                  class="">
                <br class="">
                I started by taking a database backup of mythbuntu and
                restoring it<br class="">
                on raspberrypi. I also copied all the recordings over to
                raspberrypi.<br class="">
                I had some problems cleaning up the changes needed on
                raspberrypi to<br class="">
                General, Tuners, and input connections.<br class="">
                <br class="">
                There was some problem with the master backend settings
                because it<br class="">
                wanted to setup raspberrypi as a slave off of mythbuntu.
                I got that<br class="">
                fixed and both backends showed the same recordings and
                schedules for<br class="">
                future recordings.<br class="">
                <br class="">
                SO my current issue is, I tried to look for problems on
                raspberrypi<br class="">
                with find_orphans.py. It seemed to show duplicate
                entries and files<br class="">
                on both mythbuntu and raspberrypi. I don’t know if this
                was an issue<br class="">
                on just the database on raspberrypi or was find_orphans
                looking on<br class="">
                the network at both backends?<br class="">
                <br class="">
                I ended up deleting a lot of recordings on the
                raspberrypi I didn’t<br class="">
                want deleted so I’m going to have to repeat the process.
                 Any advice<br class="">
                on what I should have done???<br class="">
              </blockquote>
              One of the columns in the recorded table is the hostname
              where the<br class="">
              recording lives.  Did you update this field?<br class="">
              <br class="">
              The best way to change hostnames is with the
              mythconverg_restore.pl<br class="">
              script.  Restore the database on the new system, and then
              run the<br class="">
              script again with different arguments:<br class="">
              <br class="">
                  mythconverg_restore.pl \<br class="">
                    --change_hostname \<br class="">
                    --old_hostname="XXXX" \<br class="">
                    --new_hostname="YYYY"<br class="">
              <br class="">
              I did this a while back.  I can't remember whether or not
              I had your<br class="">
              problem of the new backend trying to find the old backend.<br
                class="">
              <br class="">
              David<br class="">
            </blockquote>
            <br style="caret-color: rgb(0, 0, 0); font-family:
              Helvetica; font-size: 12px; font-style: normal;
              font-variant-caps: normal; font-weight: normal;
              letter-spacing: normal; text-align: start; text-indent:
              0px; text-transform: none; white-space: normal;
              word-spacing: 0px; -webkit-text-stroke-width: 0px;
              text-decoration: none;" class="">
            <span style="caret-color: rgb(0, 0, 0); font-family:
              Helvetica; font-size: 12px; font-style: normal;
              font-variant-caps: normal; font-weight: normal;
              letter-spacing: normal; text-align: start; text-indent:
              0px; text-transform: none; white-space: normal;
              word-spacing: 0px; -webkit-text-stroke-width: 0px;
              text-decoration: none; float: none; display: inline
              !important;" class="">That sounds like what I need to do
              differently.  I'll test tomorrow morning before my
              recordings start.</span><br style="caret-color: rgb(0, 0,
              0); font-family: Helvetica; font-size: 12px; font-style:
              normal; font-variant-caps: normal; font-weight: normal;
              letter-spacing: normal; text-align: start; text-indent:
              0px; text-transform: none; white-space: normal;
              word-spacing: 0px; -webkit-text-stroke-width: 0px;
              text-decoration: none;" class="">
            <br style="caret-color: rgb(0, 0, 0); font-family:
              Helvetica; font-size: 12px; font-style: normal;
              font-variant-caps: normal; font-weight: normal;
              letter-spacing: normal; text-align: start; text-indent:
              0px; text-transform: none; white-space: normal;
              word-spacing: 0px; -webkit-text-stroke-width: 0px;
              text-decoration: none;" class="">
            <span style="caret-color: rgb(0, 0, 0); font-family:
              Helvetica; font-size: 12px; font-style: normal;
              font-variant-caps: normal; font-weight: normal;
              letter-spacing: normal; text-align: start; text-indent:
              0px; text-transform: none; white-space: normal;
              word-spacing: 0px; -webkit-text-stroke-width: 0px;
              text-decoration: none; float: none; display: inline
              !important;" class="">Thanks</span><br style="caret-color:
              rgb(0, 0, 0); font-family: Helvetica; font-size: 12px;
              font-style: normal; font-variant-caps: normal;
              font-weight: normal; letter-spacing: normal; text-align:
              start; text-indent: 0px; text-transform: none;
              white-space: normal; word-spacing: 0px;
              -webkit-text-stroke-width: 0px; text-decoration: none;"
              class="">
            <br style="caret-color: rgb(0, 0, 0); font-family:
              Helvetica; font-size: 12px; font-style: normal;
              font-variant-caps: normal; font-weight: normal;
              letter-spacing: normal; text-align: start; text-indent:
              0px; text-transform: none; white-space: normal;
              word-spacing: 0px; -webkit-text-stroke-width: 0px;
              text-decoration: none;" class="">
            <span style="caret-color: rgb(0, 0, 0); font-family:
              Helvetica; font-size: 12px; font-style: normal;
              font-variant-caps: normal; font-weight: normal;
              letter-spacing: normal; text-align: start; text-indent:
              0px; text-transform: none; white-space: normal;
              word-spacing: 0px; -webkit-text-stroke-width: 0px;
              text-decoration: none; float: none; display: inline
              !important;" class="">Jim A</span></div>
        </blockquote>
        <br class="">
      </div>
      <div>I redid the copy of the recordings and the database. The
        database restore worked fine, but the —change_hostname failed
        due to some uses on raspberrypi in the database somewhere. I
        didn’t understand it so I chose to rename the system host and
        hostname entries to rpi-mythtv.  Then the —change_hostname
        worked.</div>
      <div><br class="">
      </div>
      <div>I exposed some other Raspbian buster issues related to boot
        up waiting for networking affecting lxpanel and mythtv-backend.
        I’m going to work that issue in another topic.</div>
      <div><br class="">
      </div>
      <div>Jim A</div>
      <div><br class="">
      </div>
    </blockquote>
    <p>So I finally figured this out.  Starting with a unique hostname
      for the Raspberry Pi was key.  Also after the restore and
      recording copies the --change_hostname in mythconverg_restore.pl
      was key.</p>
    <p>in mythtv-setup -> General, I checked the master backend box
      and selected the new RPI master name and then the usual settings
      for tuners, input-connections, and volumes. After testing it for a
      while, I shutdown my original master backend and then ran the
      find_orphans.py script and cleaned up a few things.  So they both
      are operating as 2 complete master backends on the same subnet.
      the PC based one has remote FEs, but the RPi4 is a self contained
      FE/BE combo</p>
    <p>Jim A</p>
    <p><br>
    </p>
  </body>
</html>