PDA

View Full Version : Help! My hacks have disappeared


verses
10-03-2006, 02:58 PM
Hi,

A few weeks ago I posted (http://www.tivocommunity.com/tivo-vb/showthread.php?t=313754) regarding my TiVo rebooting fairly frequently. Due to not having much free time I've not got around to doing anything about it, and the TiVo wasn't rebooting so frequently anymore either.

HOWEVER, over the last few days TiVo's rebooted daily, and today I've discovered that my /var/hack/ dir has disappeared! Other than that the TiVo seems to work OK, but can anyone advise as to whether it's possible to get my hack dir back?

Also, I've obtained a new drive to replace the old one, it's the same brand and the same size. Ideally I'd like to duplicate the disc bit for bit, is there a straightforwards way to do this? Presumably a Linux dd command or something similar?

Cheers,

IanF

wonderboy
10-03-2006, 04:34 PM
I don't think you can get it back, but should back it up - to backup /var/hack use :-
cd /var

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

then FTP it to your PC for safekeeping!!

Happened to me too not long ago, fortunately I had a backup... :rolleyes:

BTW to restore it should be


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

(again from the VAR directory)


There's some good stuff here about CRONing an autobackup:-
http://www.tivocommunity.com/tivo-vb/archive/index.php/t-209313.html