TiVo Community
TiVo Community
TiVo Community
Go Back   TiVo Community > Main TiVo Forums > TiVo Series 1 - UK
TiVo Community
Reply
Forum Jump
 
Thread Tools
Old 01-17-2010, 05:43 AM   #1
speedyrite
Registered User
 
Join Date: May 2002
Location: Droitwich, Worcestershire, England
Posts: 143
/var/hack gone

More than 4 years after doing a hard drive upgrade and adding a cachecard - which gave me TivoWeb and the ability to daily call via the internet (and to which I added EndPad and Aerialplug's logos) - my /var/hack directory disappeared this week. First noticed something was wrong when soft padding stopped working and then found that I couldn't use TivoTool.

I can still access TiVo via Telnet and FTP. The daily call is still working via the internet.

So, I have found a backup on my computer of /var/hack from almost 4 years ago which was created by running the following in /var

tar -cvh hack | gzip > hack.tar.gz

My ancient notes suggest that I can simply FTP the file hack.tar.gz back to /var on TiVo and then run the following in /var

gzip -d hack.tar.gz
cpio -H tar -i < hack.tar

and all should be normal after a restart.

Is it really as simple as that?
Are there any potential pratfalls that I need to be aware of with the above (especially as the backup is so old)?
__________________
"Digital Plumber" - now CCNA & CEA-CompTIA DHTI+ certified !

Last edited by speedyrite : 01-17-2010 at 05:45 AM. Reason: minor rewording
speedyrite is offline   Reply With Quote
Old 01-17-2010, 06:48 AM   #2
Pete77
Registered User
 
Join Date: Aug 2006
Location: Not Far From London
Posts: 7,963
Quote:
Originally Posted by speedyrite View Post
Is it really as simple as that?
Are there any potential pratfalls that I need to be aware of with the above (especially as the backup is so old)?
When my /var directory was wiped in February last year (3 years and 8 months on from upgrading the hard drive and installing Tivoweb) I simply FTP'ed everything back up from a copy I had on my PC hard drive plus I also FTP'ed back the copy of the rc.sysinit and rc.sysinit.author files I had taken to the /etc/rc.d directory on the Tivo after making it writable (if you don't have a copy of these files the instructions at www.steveconrad.co.uk/tivo/tivoweb.html should tell you how to modiify the rc.sysinit file appropriately). These files are the ones that have to be modified to get Tivoweb to start automatically at bootup.

I did also have a tar backup of the type you describe but couldn't seem to get that to work properly so hence why I used the direct copy of /var that was on my hard drive.
__________________
601E with 2 x 250Gb Samsung HA250JCs, Cachecard + 512MB, TivoWeb 1.9.4, TivoWebPlus 2.0.1, Bufferhack, Autospace, Endpad, Tracker, DailyMail and Highlights
Pete77 is offline   Reply With Quote
Old 01-17-2010, 07:08 AM   #3
mikerr
TiVoCentral.co.uk
 
Join Date: Jun 2005
Location: Up North
Posts: 2,594
rc.sysinit.author is unaffected by a /var wipeout as it's under /etc

..and you REALLY should not be altering the rc.sysinit file at all.
mikerr is offline   Reply With Quote
Old 02-07-2010, 03:30 AM   #4
jamesmb
Registered User
 
Join Date: Oct 2005
Posts: 15
I recently lost my /var too. Didn't notice except endpad wasn't working much to my frustartion.
I remembered it happening some time ago when I tried to load tivoweb.
I have TivoHeaven drive upgrade and they suggested:

cd /devbin
restorevar

which worked a treat then and has just saved my bacon again now.
downloaded endpad again, created a directory /var/hack/endpad for it and it has started working again after a restart as luckily this was where I put it last time and my sysinit.rc.author file was OK.
jamesmb is offline   Reply With Quote
Old 02-07-2010, 05:54 AM   #5
speedyrite
Registered User
 
Join Date: May 2002
Location: Droitwich, Worcestershire, England
Posts: 143
Quote:
Originally Posted by speedyrite View Post
More than 4 years after doing a hard drive upgrade and adding a cachecard - which gave me TivoWeb and the ability to daily call via the internet (and to which I added EndPad and Aerialplug's logos) - my /var/hack directory disappeared this week. First noticed something was wrong when soft padding stopped working and then found that I couldn't use TivoTool.

I can still access TiVo via Telnet and FTP. The daily call is still working via the internet.

So, I have found a backup on my computer of /var/hack from almost 4 years ago which was created by running the following in /var

tar -cvh hack | gzip > hack.tar.gz

My ancient notes suggest that I can simply FTP the file hack.tar.gz back to /var on TiVo and then run the following in /var

gzip -d hack.tar.gz
cpio -H tar -i < hack.tar

and all should be normal after a restart.

Is it really as simple as that?
Are there any potential pratfalls that I need to be aware of with the above (especially as the backup is so old)?
Yes, it really was as simple as that!
__________________
"Digital Plumber" - now CCNA & CEA-CompTIA DHTI+ certified !
speedyrite is offline   Reply With Quote
Old 04-02-2010, 11:52 AM   #6
purplesocrates
Registered User
 
Join Date: Jan 2005
Location: abingdon
Posts: 27
My /var/hack folder got deleted mysteriously. It's been that long, I couldn't even remember the name of the utils or anything :-(

I started to worry for tivo, he's pretty old, gulp.. but then as if a gift from the gods...
cd /devbin
restorevar.

Thanks tivo / tivocentral / jamesmb.
purplesocrates is offline   Reply With Quote
Reply
Forum Jump




Thread Tools


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Advertisements

TiVo Community
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
vBulletin Skins by: Relivo Media
(C) 2013 Magenium Solutions - All Rights Reserved. No information may be posted elsewhere without written permission.
TiVoŽ is a registered trademark of TiVo Inc. This site is not owned or operated by TiVo Inc.
All times are GMT -5. The time now is 10:52 AM.
OUR NETWORK: MyOpenRouter | TechLore | SansaCommunity | RoboCommunity | MediaSmart Home | Explore3DTV | Dijit Community | DVR Playground |