<div dir="ltr">Thanks Peter, you've outlined the part I didn't know, I've documented some of the more recent enhancements, together I see a way forward, fingers crossed!<div>Thanks to this entire list and all the devs!</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jul 25, 2022 at 1:02 PM Peter Bennett <<a href="mailto:pb.mythtv@gmail.com">pb.mythtv@gmail.com</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"><br>
On 7/24/22 17:13, Daryl McDonald wrote:<br>
> My myth-box is a dual boot Ubuntu 20.04/22.04. Mythtv and various <br>
> other things are all working on 20.04, and 22.04 is a fresh install.<br>
><br>
> Can "rsync" be used to bring all the files that I have added to 20.04 <br>
> over the years and write them in their respective locations onto 22.04?<br>
><br>
> Regular exclusions, I expect, like the full OS backup:<br>
> <a href="https://ostechnix.com/backup-entire-linux-system-using-rsync/" rel="noreferrer" target="_blank">https://ostechnix.com/backup-entire-linux-system-using-rsync/</a><br>
> and maybe a few more exclusions like /home/daryl* ?<br>
><br>
> Or should it be written in an inclusive format, and what would that <br>
> look like?<br>
><br>
> TIA   Daryl<br>
><br>
> _______________________________________________<br>
<br>
Not advisable.<br>
<br>
This is what you need to do:<br>
<br>
Back up the database on your 20.04 system (substitute appropriate names):<br>
<br>
mysqldump -u mythtv -p mythconverg > ~/20220722_mythdbdprd.sql<br>
<br>
Install MythTV on the new system. To save yourself some trouble you can <br>
create the mythtv user manually with the same uid as on the old system, <br>
before installing the mythtv package.<br>
<br>
Restore the DB it on the new system:<br>
<br>
mysql -u mythtv -p mythconverg < /home/peter-focal/20220722_mythdbdprd.sql<br>
<br>
Make sure the storage groups with recordings and videos are available on <br>
the new system in the same locations as before.<br>
<br>
copy .mythtv directory in your home directory and in mythtv home <br>
directory to the new home directories.<br>
<br>
if the new mythtv user id has a different UID from the old one, change <br>
ownership of all the recordings and videos and the directories that hold <br>
them. I avoid this step by always creating the mythtv user manually with <br>
uid 200 before installing the mythtv package.<br>
<br>
You may have to copy across the .xmltv directory if it is separate from <br>
your mythtv directory.<br>
<br>
Probably some other bits and pieces to do depending on your setup. For <br>
example set up user jobs.<br>
<br>
Peter<br>
<br>
_______________________________________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org" target="_blank">mythtv-users@mythtv.org</a><br>
<a href="http://lists.mythtv.org/mailman/listinfo/mythtv-users" rel="noreferrer" target="_blank">http://lists.mythtv.org/mailman/listinfo/mythtv-users</a><br>
<a href="http://wiki.mythtv.org/Mailing_List_etiquette" rel="noreferrer" target="_blank">http://wiki.mythtv.org/Mailing_List_etiquette</a><br>
MythTV Forums: <a href="https://forum.mythtv.org" rel="noreferrer" target="_blank">https://forum.mythtv.org</a><br>
</blockquote></div>