<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jan 17, 2023 at 11:50 PM Stephen Worthington <<a href="mailto:stephen_agent@jsw.gen.nz">stephen_agent@jsw.gen.nz</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Tue, 17 Jan 2023 16:44:43 -0500, you wrote:<br></blockquote><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
I have never used --change_hostname myself, but from the help text, it<br>
looks like you run it after you have restored the backup, as a<br>
separate run of <a href="http://mythconverg_restore.pl" rel="noreferrer" target="_blank">mythconverg_restore.pl</a>, so I would just try running it<br>
now. Full help is here:<br>
<br>
/usr/share/mythtv/<a href="http://mythconverg_restore.pl" rel="noreferrer" target="_blank">mythconverg_restore.pl</a> --help --help<br></blockquote><div><br></div><div>So after stopping the backend, I went back to the latest Production BE backup and restored it to the traveling BE. Then immediatly did the --change_hostname. It produced a number of errors. Some were mysql in nature and some were Perl. Not clear on how much success it had. </div><div><br></div><div>When I ran mythtv-setup the first time it immediately exited and asked to start the backend and run mythfilldatabase. I said no to both. The next time I ran mythtv-setup.real and got into the setup. </div><div><br></div><div>All of the Host stuff in the General items needed setting including the Hostname but checking the box that this was the master allowed me to choose the right hostname and it was in the list of choices. Obviously, old tuners had to be deleted and new HDHR tuners added. The Video Sources was still right, Connections had to be set and re-scanned. Storage Group Directories had to be set up again since they changed.</div><div><br></div><div>But when I started the backend everything worked correctly, scheduled recordings happened, all of the recordings, metadata, cover art, banner, and fanart were still there. I also tested Kodi 20 with Kodi-pvr-mythtv and it now worked on all TV, live and recorded, as well as Videos and Music.</div><div><br></div><div>I used find_orphans.py to clean up some missing pieces, mostly Live TV, but everything seems to be set up correctly.</div><div><br></div><div>Thanks, </div><div><br></div><div>Jim A</div><div><br></div></div></div>