PDA

View Full Version : What are the odds?


martink0646
01-27-2007, 05:17 AM
Hi All,

Decided it was about time to backup my var/hack directory so used these forums to search for a method. I found two & decided to try them. In the process I realised that I didn't have tar so searched, found it & installed it...fine. Then I used this method;

"tar -cvf varhack.tar . <enter> to create a backup file,
and then FTP it to my pc

Then...

put it back in the /var/hack directory and:

tar -xvf varhack.tar"


I then went to ftp it & I couldn't find the resulting file. So I rebooted & after some problem ftping in I found it where it was supposed to be.

I then decided to use the other method as well to have two backups;

"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...

BTW to restore it should be


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

(again from the VAR directory)"


Midway through this second method my telnet session hung & my var/hack directory had disappeared. I can't believe it is a coincidence this should happen while I am backing up. It must have something to do with the reboot?

I assume that the backup I made has now disappeared with the var/hack directory?

Finally a bit of advice. Where should I start since its been two years since my var/hack disappeared before. I was planning to create a new var/hack using the mkdir command & then work through Steve Jenkins tutorial. Then install TiVoweb, then endpad.tcl, autospace & screensave before installing tystudio & all the other hacks & modules I have collected over the years.

Is this a 'good schedule of works' or can anyone else suggest a better order & why?

Thanks all

Martin

martink0646
01-27-2007, 05:20 AM
Sorry, one last question. Will my mode0 settings have disappeared or will they still be in effect?

Pete77
01-27-2007, 05:24 AM
I just ftp the whole hack directory to my PC using my Filezilla client and have never had any problem with this simple method. I try to avoid messing with all the horrid tarball stuff wherever possible as it usually seems to be a recipe for things to go wrong. I might have to manually reset a few file permissions if the worst happens and I have to restore but at least this backup process seems simple and doable.

I always rename the var directory on my PC to something else before I do my next var backup from the Tivo in case the hard drive ever crashes for good half way through the backup. My PC is then backed up elsewhere.

martink0646
01-27-2007, 05:33 AM
Thanks for the advice for the future. Any advice for right now Pete? Cheers

Pete77
01-27-2007, 05:47 AM
Thanks for the advice for the future. Any advice for right now Pete? Cheers

The below would probably help although I'm sure you know most of them. I would work through the Planetbuilders diary in terms of getting TivoWeb and all the modules back to where you were. Also the Wikipedia list can point you to most of the Tivoweb additional module add-ons.

http://www.planetbuilders.org/tivo/...rade_diary.html

http://tivo.stevejenkins.com/network_cd.html

www.steveconrad.co.uk/tivo

http://tivo.lightn.org/

www.ljay.org.uk/tivoweb/

www.garysargent.co.uk/tivo/hacking.htm

www.beaconhill.plus.com/TiVo/tivohacks.htm

http://www.arielbusiness.pwp.blueyo.../TiVo/HowTo.htm

http://alt.org/wiki/index.php/TiVoWeb%20Modules

http://thomson.tivo.googlepages.com

http://thomson.tivo.googlepages.com/tivowebplus

http://widgets.yahoo.com/gallery/?search=oztivo&x=0&y=0

www.tivohackman.com

http://www.planetbuilders.org/tivo/...rade_diary.html