Last active
October 1, 2022 06:26
-
-
Save 7wells/b669bbcc06ec458eee18a528655cba31 to your computer and use it in GitHub Desktop.
Tvheadend backup and restore
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# How to backup and restore Tvheadend settings located in /home/hts/.hts (used on Raspberry Pi OS) | |
# | |
# Backup .hts folder incl. all sub-folders and files | |
# | |
sudo su hts | |
cd /home/hts | |
tar cvjf backup_hts.tar.bz2 .hts | |
# Consider /home/hts/icons in case they should be saved, too | |
# | |
tar cvjf backup_icons.tar.bz2 icons | |
# Restore .hts folder incl. all sub-folders and files | |
# | |
sudo su hts | |
cd /home/hts | |
tar xvjf backup_hts.tar.bz2 | |
# Restore /home/hts/icons in case they were saved, too | |
# | |
tar xvjf backup_icons.tar.bz2 | |
# Restart tvheadend service | |
# | |
sudo systemctl restart tvheadend |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment