TiVo Community Forum Archive 1
READ ONLY ARCHIVES

Welcome to the TiVo Community Forum Archive
This archive covers threads on TiVo Community Forum that have not been posted to from the start until June 30, 2004.  Any thread that has a post made to it between 7/1/04 and 12/31/05, that had not been posted to, will be found in Archive 2.
This is a READ ONLY site.

  Search | ARCHIVE 2 | MAIN SITE

TiVo Community Forum Archive 1 : Powered by vBulletin version 2.2.8 TiVo Community Forum Archive 1 > Underground Playground > TiVo Underground
>>> Need clarification on backup to a HD <<<

 
Forum Jump:
Search this Thread:
Last Thread   Next Thread
Author
Thread ---> Show Printable Version | Email this Page | Subscribe to this thread Post New Thread    Post A Reply
Old Post 08-30-2000 03:44 AM
Show Printable Version Edit/Delete Message Reply w/Quote
Bushamster
Guest

Registered: Not Yet
Location:
Posts: N/A

Question Need clarification on backup to a HD

Firstly, thanks for an amazing site and faq.

I've got a spanking brand new 14hr and an equally new Maxtor 60gb. I want to back up my virgin drive to the C drive on my computer - it's a a 30 GB drive, with plenty of space left. It's the main drive for my computer, with all my programs on it. I've read the FAQ multiple times, and gone back into the archives but...stupid obvious question alert...

If I use Dylan's boot disk to backup to a single compressed file on my computer's C drive, will it wipe the rest of the drive? Or will it just install the backed up Tivo A drive onto a sub-directory or some sort of partition? I'm assuming the latter is the case, but want 100% confirmation to avoid a major "oh s***" moment later. Thanks much.

POST #1 | Report this post to a moderator | IP: Logged

Old Post 08-30-2000 09:24 AM
Show Printable Version Edit/Delete Message Reply w/Quote
Guy_Gordon
Guest

Registered: Not Yet
Location:
Posts: N/A

Talking

Lets say you have your C: drive as Primary Master. That makes it hda under Linux. And if you make your Tivo drive Secondary Master, that makes it hdc under Linux.

You will be backing up with the dd command. If you write to /dev/hda, you are doing a raw disk write and it will kill your drive. Don't do it.

Instead, you need to mount the drive, and then write to it. use:
mount -t vfat /dev/hda1 /mnt
to mount the first partition of hda (assuming it is a fat32 partition.)

Now you can do the following commands to see your drive directory.
cd /mnt
ls (or ls -l)

Now, for this next step you shouldn't trust me. I'm just learning Linux. So don't do this until someone else says it look right. But I would use this command to back up:

dd if=/dev/hdc bs=8192 | gzip -9c | split -b 600m - /mnt/tivo.gz

This command says to back up the entire hdc drive (which will catch all 11 partitions). It uses a block size of 8192 (instead of the default 512) for speed. It pipes the bytes to gzip, using level 9 compression. Those bytes are piped to split, which should write out a bunch of 600Mb files named tivoaa.gz, tivoab.gz, etc. These files can be written to CDR. More important, this should avoid the 2Gb file size limit.

OK everybody, how did I do?

POST #2 | Report this post to a moderator | IP: Logged

DanT is offline Old Post 08-30-2000 08:01 PM
Click Here to See the Profile for DanT Find more posts by DanT Add DanT to your buddy list Show Printable Version Edit/Delete Message Reply w/Quote
DanT
In Absentia

Registered: Aug 2000
Location: Henderson, NV
Posts: 1039

Talking

Not bad. But I'd change the size of your split command to 650m since that gets an extra 50 Megs on each CD. Using 650m and putting the files on a Joliet format 74 minute CD-R with Adaptec Easy-CD Creator 4.0 told me I had 48k left on the CD. So it's just under the limit.

I'd also add a _ to the end of the tivo.gz filename, so it was a little more obvious that the resulting chunks were gzip chunks. For example, your version would give files named tivo.gzaa, tivo.gzab, etc. What I'm talking about would end up with tivo.gz_aa, tivo.gz_ab, etc. Just a little clearer, in my mind.

I also wouldn't bother with the -9c on the gzip command, since it's not going to get much more compression than the default, and it will end up taking two or three times as long. Unless he's using a bleeding-edge CPU, then it might be able to beat the hard drive, but I doubt it. Instead, just use -c (drop the 9) and it'll go much faster.

So to reiterate, everything you said would work fine (I'm pretty sure) but the options could be improved.


------------------
Dan T.
RKBA!

POST #3 | Report this post to a moderator | IP: Logged

All times are GMT. The time now is 05:27 AM. Post New Thread    Post A Reply
  Last Thread   Next Thread
>>> Need clarification on backup to a HD <<<

TiVo Community Forum Archive 1 : Powered by vBulletin version 2.2.8 TiVo Community Forum Archive 1 > Underground Playground > TiVo Underground
Search The Internet
 
Show Printable Version | Email this Page | Subscribe to this thread

Forum Jump:
 
Search this Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is ON
 

< Contact Us - TiVo Community Forum Archive 1 >

Powered by: vBulletin Version 2.2.8
Copyright ©2000, 2001, Jelsoft Enterprises Limited.
(C)opyright - All Rights Reserved. No information may be posted elsewhere without written permission.
TiVoŽ is a registered trademark of TiVo Inc. This site is not affiliated with TiVo Inc.
Page generated in 0.07941008 seconds (16.99% PHP - 83.01% MySQL) with 21 queries.


Spider History Index