When you stop/shutdown Tvheadend, its configuration is written to disk. (And when you start it, its configuration is read from disk ...)
By default, these settings are written to the
.hts/tvheadend/
directory belonging to the user that Tvheadend runs as. Inside that directory you will find several subdirectories containing the settings:
*
accesscontrol – These are the user/access settings
*
backup – When you start a new version of Tvheadend, the old settings are saved into a compressed tar archive and placed into this directory
*
bouquet – This is where the bouquets are stored
*
channel – These are your channels (not to be confused with services)
*
dvr – These are the DVR settings and logs (including previously recorded programs)
*
epggrab – You EPG grabber settings
*
imagecache – If you are using the imagecache feature, the images are stored here
*
input – This holds the configuration for your networks, muxes and services; also, the settings for you hardware adapters are in there as well
*
passwd – This is the password information for users in the
accesscontrol
directory
*
profile – These are your profiles: that includes streaming, recording and individual stream profiles
*
timeshift – Timeshift settings
You can selectively copy out the directories with the information you want to backup, but I would recommend doing it while Tvheadend is not running: that way all of your settings and changes will be written to disk and be saved, waiting for you to archive them.