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
>>> How can I create a backup image file smaller than the drive capacity? <<<

 
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
jkc120 is offline Old Post 05-23-2004 01:12 AM
Click Here to See the Profile for jkc120 Find more posts by jkc120 Add jkc120 to your buddy list Show Printable Version Edit/Delete Message Reply w/Quote
jkc120
New Member

Registered: Apr 2003
Location:
Posts: 19

Question How can I create a backup image file smaller than the drive capacity?

Forgive me if this is a FAQ, I couldn't find the answer in the Tivo HACK FAQ.

I have a 40GB drive that I've pulled from my Tivo (replaced with a Western Digital 160GB drive, of which 137GB is seen on my S2 AT&T/Tivo). I would like to use this 40GB drive in my PC to play around with FreeBSD, but would like to backup the drive first, in the event I need to restore it and use it back in my Tivo.

However, I'd like to avoid holding onto a 40GB sector-for-sector copy of the drive via dd. Is there an easier way to make a backup of JUST the OS/etc? I imagine it would fit on a CD, so I could burn it and keep the backup. Can anyone point me to the FAQ or HOWTO for this?

Thanks in advance!

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

stevel is offline Old Post 05-23-2004 01:16 AM
Click Here to See the Profile for stevel Visit stevel's homepage! Find more posts by stevel Add stevel to your buddy list Show Printable Version Edit/Delete Message Reply w/Quote
stevel
Dumb Blond

Registered: Aug 2000
Location: Nashua, NH
Posts: 7476

The Hinsdale Upgrade How-To explains how to use mfs_tools to create a small backup which typically fits on a CD. This excludes any recorded content, but does have the software plus all your settings, season passes, etc.

The Hack FAQ is pretty useless nowadays. It hasn't been kept current.

__________________
Steve

One thousand three hundred thirty-three, zero

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

jkc120 is offline Old Post 05-23-2004 01:21 AM
Click Here to See the Profile for jkc120 Find more posts by jkc120 Add jkc120 to your buddy list Show Printable Version Edit/Delete Message Reply w/Quote
jkc120
New Member

Registered: Apr 2003
Location:
Posts: 19

Thanks Steve, appreciate it. I used the mfs tools 2.0 to do the upgrade, and I *thought* I remembered a section that talked about a "fast" upgrade (e.g. doesn't capture recorded programs) so that should be similar. Thanks again, I'll check that out.

Actually, one complication. The native drive in the PC I'm working with is NTFS, and SATA to boot. So I don't think there's kernel support for NTFS write, nor for the SATA controller. So can I use a bootable Linux CD like Damn Small Linux or Knoppix for the OS/etc, then just mount the mfstools cd in my other drive and use the mfstools from it? Are they statically linked, etc?

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

bsnelson is offline Old Post 05-23-2004 05:10 AM
Click Here to See the Profile for bsnelson Visit bsnelson's homepage! Find more posts by bsnelson Add bsnelson to your buddy list Show Printable Version Edit/Delete Message Reply w/Quote
bsnelson
TiVo Forum Special Member

Registered: Oct 1999
Location: Allen, TX, USA
Posts: 4810

I'm pretty sure there's a static linked version available; if not, I can whip you one up. The rest of your plan sounds good.

Brad

__________________
(3) Philips DSR6000R (188, 146 and 106 hours, in hibernation),
(2) Hughes HDVR2 (221 and 35 hours),
(1) Philips DSR7000/17 (144 hours),
(1) Samsung SIR4040R (35 hours)

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

jkc120 is offline Old Post 05-23-2004 08:40 PM
Click Here to See the Profile for jkc120 Find more posts by jkc120 Add jkc120 to your buddy list Show Printable Version Edit/Delete Message Reply w/Quote
jkc120
New Member

Registered: Apr 2003
Location:
Posts: 19

Thanks, I was able to get things going.

I ended up booting Damn Small Linux, mounting the MFStools CD in my other box, unziping the statically linked mfstools, and scp'ing them over to the Damn Small Linux box. When I unzip'd it, it was basically just a single "mfstool" binary, but which operates in multiple modes (suggesting perhaps "mfsbackup" is just an alias on the MFStools cd for "mfstools backup".

Anyway, thanks for the offer, but I was able to back it up. Compressed, it was about 160MB, and I was able to just run something along these lines:

mfstool backup -f 9999 -9 -s -o - /dev/hda | ssh user@linuxbox 'cat - >> /home/user/tivo.mfs'

That seems to have worked fine.

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

Robert S is offline Old Post 05-23-2004 08:56 PM
Click Here to See the Profile for Robert S Find more posts by Robert S Add Robert S to your buddy list Show Printable Version Edit/Delete Message Reply w/Quote
Robert S
TiVo Forum Special Member

Registered: Jul 2002
Location: Cambridgeshire, UK
Posts: 9266

'mfsbackup' is not an alias. It's a link that points to the mfstool file. When mfstool starts up, it checks the name it was invoked as, and if it's 'mfsbackup' (or, I think, 'backup'), it switches to backup mode. Unlike DOS, where such things indicate serious filesystem corruption, in Unix, it's quite natural for files to have multiple names.

Nice trick with ssh, although I think I'll continue to suggest people use their upgrade drive as a temporary FAT partition...

__________________
Please do not PM me asking for TiVo backups. I don't have any.

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

jkc120 is offline Old Post 05-23-2004 11:42 PM
Click Here to See the Profile for jkc120 Find more posts by jkc120 Add jkc120 to your buddy list Show Printable Version Edit/Delete Message Reply w/Quote
jkc120
New Member

Registered: Apr 2003
Location:
Posts: 19

Oh I agree, the ssh thing works but is probably not for the faint of heart, and of course requires another box on the network you can dump the image to

That makes sense about mfstool, it's just checking argv[0] then I take it?

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

Robert S is offline Old Post 05-23-2004 11:59 PM
Click Here to See the Profile for Robert S Find more posts by Robert S Add Robert S to your buddy list Show Printable Version Edit/Delete Message Reply w/Quote
Robert S
TiVo Forum Special Member

Registered: Jul 2002
Location: Cambridgeshire, UK
Posts: 9266

Yes. That's a very common thing in Unix.

There's a binary called busybox that does dozens of common commands. You'd never know it unless you started picking apart the file links (or read the docs!).

__________________
Please do not PM me asking for TiVo backups. I don't have any.

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

All times are GMT. The time now is 10:20 PM. Post New Thread    Post A Reply
  Last Thread   Next Thread
>>> How can I create a backup image file smaller than the drive capacity? <<<

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.10719609 seconds (19.00% PHP - 81.00% MySQL) with 22 queries.


Spider History Index