Backing up the configuration before making changes?
Added by Anders Gustafsson almost 2 years ago
Am I right in assuming that the .hts directroy structure contains everything?
Replies (6)
RE: Backing up the configuration before making changes? - Added by Jonas Lang almost 2 years ago
Depends on how and where it was installed.
RE: Backing up the configuration before making changes? - Added by Anders Gustafsson almost 2 years ago
I realise that you can install and run it in many ways. In this case it is installed on an OpenSuSE server and installed by "make install" which is the default.
So if I rephrase: Assuming you install it the documented way then the complete config is under .hts under the user running tvh?
edit:
sudo find / -name .hts
Will give you all the hts'es. Then just ls -l to find the latest one.
RE: Backing up the configuration before making changes? - Added by Anders Gustafsson almost 2 years ago
Also noteworthy is that more recent versions of tvh will upgrade your config to be incompatible in case you want to go back. Hence the copying.
RE: Backing up the configuration before making changes? - Added by Dave Pickles almost 2 years ago
When Tvheadend starts and detects that it has been newly updated, it makes a compressed tar copy of the existing .hts/tvheadend tree in ~/.hts/tvheadend/backup. If you need to revert to the old version then just extract the most recent backup.
RE: Backing up the configuration before making changes? - Added by Anders Gustafsson almost 2 years ago
Thanks. Did not know that.
RE: Backing up the configuration before making changes? - Added by Anders Gustafsson almost 2 years ago
Absolutely correct! I now have a 4.2.4 and a 4.2.8 tarball under backup. Nice feature!