Project

General

Profile

Migrate tvheadend to another machine/operation system

Added by Christian Bast almost 9 years ago

I want to change the OS on my tvheadend-server. So I have to setup all the software newly. Is there a way backup and restore the tvheadend-settings on the new server? The video file for the recordings are stored on a NAS, which will not be touched. So I need the config i.e. for the channels, timers, accesscontrols, autorec-entries and the finished recordings.

How can I do this?


Replies (3)

RE: Migrate tvheadend to another machine/operation system - Added by Mark Clarkstone almost 9 years ago

From an older post [https://tvheadend.org/boards/5/topics/18729]

sudo -s
sudo service tvheadend stop
cd /home/hts/.hts
sudo tar cvfp ../tvheadend.tar tvheadend
cd /home/hts/
sudo scp tvheadend.tar root@ip:~/

On Banana Pi (this is your new machine).

sudo service tvheadend stop
sudo -s
cd /home/hts/.hts
sudo mv tvheadend tvheadend~backup
tar xvfp ~/tvheadend.tar

RE: Migrate tvheadend to another machine/operation system - Added by stefan 327 12 months ago

Hello,
I try to do the same thing, but on a Libreelec Installation.
I changed the hardware (pi3 -> pi4), and flashed a new image of libreelec (9.2.8 -> 11).
the paths seem to be completely different, does anybody know how the migration works in libreelec?
thank you,
Stefan

i got help.
the config is in
/storage/.kodi/userdata/addon_data/service.tvheadend42

    (1-3/3)