[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Backing up whole disk



On Mon, 28 Aug 2006 16:35:17 -0500, Sergio Cuéllar Valdés wrote:

> On 8/28/06, T <mlist4suntong@yahoo.com> wrote:
>> Hi
>>
>> I tried to backup my whole partition with tar:
>>
>>   tar -cvzf /mnt/.../cache11.tgz .
>>
>> but when testing the archive result with
>>
>>  tar -tzf /mnt/.../cache11.tgz
>>
>> It ends with the following error, without explaining what's wrong:
>>
>> gzip: stdin: unexpected end of file
>> tar: Unexpected EOF in archive
>> tar: Error is not recoverable: exiting now
>>
>> I thought about it and think the reason might be that I'm backing up to
>> a vfat volume, which might have some serious limits on file size (but
>> unfortunately, that's my only backup option now).
>>
>> If so, how can I backup my nearly 20G partition using vfat volume?
>>
>> rar can do multi-volume but can it understand all the special Unix
>> files, symlink, hard links, named pipes, dev, etc?
>>
>> tar can do multi-volume too, but "You should only type 'y' after you
>> have changed the tape; otherwise tar will write over the volume it just
>> finished.".
>>
>> Any of the *commonly used* archive tool can achieve this?
> 
> Hello,
> 
> maybe you could try with dd.
> 
> And if you have partitions, that would be easier.
> 
> dd if=/dev/hda of=/tmp/partion_hda.img bs=1k, for example.

hi, thanks Sergio for your post. I'm replying for your own good. Please
read my OP again and you will know that your solution won't work. And I've
gave the reason in OP too.

hendrik, thanks for your reply. I'll give it a try.

tong





Reply to: