On Sat, Mar 08, 2003 at 12:31:26PM +0100, Paul wrote:
> Greetings everyone,
> 
> I seem to have a problem with my tar backups.
> 
> When I check the backed up information, I see:
> 
> -rw-r--r--    1 paul     paul     102400000 Mar  8 12:00 backup1.tar.gz
> -rw-r--r--    1 paul     paul     102400000 Mar  7 12:00 backup2.tar.gz
> 
> Weird, since the backup1 file (made today) should be bigger than the one
> that rolled over to backup2 from yesterday; I installed OpenOffice 1.0.2.
> 
> When listing the contents of the backup1 file (tar -tzf backup1.tar.gz), tar
> lists part of the file and then tells me
> 
> gzip: stdin: unexpected end of file
> tar: Unexpected EOF in archive
> tar: Error is not recoverable: exiting now
> 
> I run Mandrake 8.2 with
> 
> [EMAIL PROTECTED] paul]$ tar --version
> tar (GNU tar) 1.13.25
> 
> The command I use to make the backup-file is
> 
> tar -czf backup1.tar.gz -X ~/div/dont_do ~/*
> 
> where ~/div/dontdo contains the extensions of some files I do not want
> backed up.
> 
> Am I hitting some kind of limit with tar files? Would be strange, at work we
> tar files that grow into the 1Gb size (running HP-UX though).
> 
> Paul

If you can't beat the limit, use the tar options for a multivolume archive.
It took me a long time to figure out that in additionn to these options, you can 
specify the --file option multipe times to tell tar which multiple file manes to use 
for the pieces of the tarfile.  And the multivolume option does *not* allow you to 
compress while tarring.

Here's a command I use to back up a WIndows C partition:

tar --one-file-system --multi-volume --tape-length=2000000 -c 
--file=/offsite/lovesong/win_c-1.tar --file=/offsite/lovesong/win_c-2.tar 
--file=/offsite/lovesong/win_c-3.tar --file=/offsite/lovesong/win_c-4.tar 
--file=/offsite/lovesong/win_c-5.tar /mnt/win_c
-- hendrik

> 
> --
> If thou thinkest twice, before thou speakest once,
> thou wilt speak twice the better for it.
> -William Penn
> 
> http://nlpagan.net - Linux by Mandrake - Sylpheed by Hiro
> 

> Want to buy your Pack or Services from MandrakeSoft? 
> Go to http://www.mandrakestore.com


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to