Project

General

Profile

(Solved) Backup TVH - reinstall after OSMC etc reinstall

Added by Mark Brown over 8 years ago

UPDATE: Please see solution that worked for me second reply below

===============================================================

Please help with the correct procedure.

It took quite a while to get TVH running - recognizing channels and picons last time. Also TV recordings were lost last time.

So I want help to do it right.

I have my old SD Card with it all running. But a problem with OSMC and apparently the advise is to reinstall (I messed up upgrading using apt-get -y update instead of apt-get -y dist-upgrade)

Anyway what is the best process.
I'm figuring backup .tvh from old.
But do I install TVH then overwrite the .tvh folder?
backend or frontend first?

When to I run OSMC backup restore?


Replies (2)

RE: Backup TVH - reinstall after OSMC reinstall - Added by Mark Brown over 8 years ago

Okay this is resolved.

I muddled around and finally got it to all work.

Seems that I needed to delete the .TVH folder completely before coping the old one over.

Great thing is all works as it originally did, after copying the folder over.

Mark

RE: Backup TVH - reinstall after OSMC reinstall - Added by Mark Brown over 8 years ago

FYI This is what I did, for those who may read this for info. I presume can be used for OpenELEC also, though have not tried.

On original system
Backup OSMC to USB Drive (go to System/My OSMC and manual Backup - or similar for OpenELEC)
Copy .TVH to USB Drive

On new system
Install OSMC fresh
Update (go to System/My OSMC/Update) BTW If using SSH in OSMC to update, never use apt-get -y upgrade, only use apt-get -y update && apt-get -y dist-upgrade
From AppStore install Tvheadend (hereafter TVH) backend & Samba (go to System/My OSMC/AppStore - or similar for OpenELEC)
Reboot
Restore OSMC backup from USB Drive
Reboot
Delete .TVH folder
Copy .TVH from USB Drive
Reboot
Enable TV - (go to Sytem/Settings/TV)
Should say "TVH found at ... (IP Address). Agree to this.
Most likely will give error re TVH cannot connect
Sytem/Settings/Add-ons/My Add-ons/PVR clients/Tvheadend../Configure and enter Username and Password (both defaults are osmc).

The error "TVH cannot connect" should stop now

Home window should now show a TV icon
All TV settings should be there as per previous backup.

BTW Tvheadend../Configure on my system also works on the default 127.0.0.1, as long as the login stuff is entered)

Also, BTW to use the web interface in Windows 10, I use:
//osmc:9981

(for some reason the IP address directly (//192.168.0.10:9981) did not work, but that's a whole nother story and internet searching)

Cheers
Mark

    (1-2/2)