HTS Tvheadend 4.3-1914 backup/restore issue Debian 10
Added by Hannes Hultmann almost 4 years ago
Hi,
I use HTS Tvheadend 4.3-1914 with Debian 10.
My /home/hts/ folder is empty for both system.(main and new server)
Firstly I made backup in my /home/hts/ folder in my main server.
sudo service tvheadend stop
sudo -s
cd /home/hts/.hts
sudo tar cvfp ../tvheadend.tar tvheadend
cd /home/hts/
The backup file is correct, include everything.
Thereafter I made restore to the new server:
sudo service tvheadend stop
sudo -s
cd /home/hts/.hts
sudo mv tvheadend tvheadend-backup
tar xvfp ~/tvheadend.tar
Thereafter on my new server nothing has changed.
what did I do wrong?
Why my /home/hts/ folder is empty for both system?
Thank you in advance.
Replies (5)
RE: HTS Tvheadend 4.3-1914 backup/restore issue Debian 10 - Added by Dave Pickles almost 4 years ago
When you created your backup, the file was saved as /home/hts/tvheadend.tar.
When you tried to restore the backup you were in a sudo shell and specified the file name relative to your (sudo) home directory, ie /root/tvheadend.tar.
Try using the same format of tar command for both backup and restore.
RE: HTS Tvheadend 4.3-1914 backup/restore issue Debian 10 - Added by Hannes Hultmann almost 4 years ago
Yes it was saved as /home/hts/tvheadend.tar.
The restore was success, I have checked with WinSCP, all files are in the /home/hts/tvheadend and also I tried to /root/tvheadend, but when I has stopped and started my tvheadend nothing has changed, no network and channels appeared.
RE: HTS Tvheadend 4.3-1914 backup/restore issue Debian 10 - Added by Dave Pickles almost 4 years ago
all files are in the /home/hts/tvheadend
The configuration files should be in /home/hts/.hts/tvheadend.
Is it possible that your old and new servers have different UIDs for the 'hts' user? If you do
ls -la /home/hts/.hts/tvheadend/
is the owner shown as hts?
Are there any clues in the logfile?
RE: HTS Tvheadend 4.3-1914 backup/restore issue Debian 10 - Added by Hannes Hultmann almost 4 years ago
Resolved, thank you very much.
RE: HTS Tvheadend 4.3-1914 backup/restore issue Debian 10 - Added by stefan ott over 2 years ago
hey @hannes how did you do this at the end so it worked?