tar.gz backups fail crc check

Bill Moran wmoran at potentialtech.com
Fri Apr 25 11:30:12 PDT 2003


Redmond Militante wrote:
> hi all
> 
> i've been backing up to a dell powervault 715 device mapped to my machine
 > through an nfs share
> 
> i have a script in /etc/periodic that i run nightly that tar's up the
 > /usr/local /root /etc /var and /sbin partitions and moves them to the
 > powervault nfs share
> 
> it looks like my backups are no good.  when i try to extract my var.tar.gz
 > files, for example i get the following output
> 
> it starts uncompressing, then
> 
> tar: skipping to the next header
> tar: archivve contains obsolescent base-64 headers
> gzip: stdin: invalid compressed data--crc error
> tar: child returned status 1
> tar: error exit delayed from previous errors
> 
> is this because i'm backing up to a nas device?  

Shouldn't be.
I've done the same sort of thing with success from FreeBSD -> FreeBSD over
NFS.  I would think that there is probably some sort of NFS problem with
the NAS.  Can it also do SMB?  Perhaps try mounting an SMB share and doing
the same process and see if the files are valid.  That would rule NFS out
at least.  I doubt it's your tar program, but you could try making an
archive locally to rule it out for sure.

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com



More information about the freebsd-questions mailing list