Hi everyone
I just wanted to share my experience with backing up tvheadend on new systems like Ubuntu 25.04 since newer systems install the tvheadend folder somewhere else in the hts folder.
The new file location is /var/lib/tvheadend
Here is the backup I used on the old system:
sudo service tvheadend stop
sudo -s
cd /var/lib/
tar cvfp ../tvheadend.tar tvheadend
The backup file is located in /var/tvheadend.tar
To restore the backup to the new system:
sudo service tvheadend stop
copy your backup file to download
sudo -s
cd /home/<username>/downloads
cp -r tvheadend.tar /var/lib
cd /var/lib/
tar xvfp ./tvheadend.tar
service tvheadend start
Tvheadend should now be up and running.