On Fri, Oct 11, 2002 at 10:26:58AM -0500, pointer wrote:
> 
> 
> I've checked the docs/FAQ/google/archives and I must be missing
> something really simple. :\
> 
> I have an amanda client that I'm backing having problems backing up.
> 
> We're using tar for /usr on this client:
> 
> 
> ____SNIP____
> /-- client  /usr lev 0 FAILED [/usr/local/bin/tar returned 2]
> sendbackup: start [client:/usr level 0]
> sendbackup: info BACKUP=/usr/local/bin/tar
> sendbackup: info RECOVER_CMD=/usr/local/bin/gzip -dc |/usr/local/bin/tar
> -f... -
> sendbackup: info COMPRESS_SUFFIX=.gz
> sendbackup: info end
> ? gtar: Cannot add file ./local/mirror/pub/redhat/i386
> .
> .
> .
> | Total bytes written: 8484853760
> ? gtar: Error exit delayed from previous errors
> sendbackup: error [/usr/local/bin/tar returned 2]
> \--------
> ____SNIP____

Even when gnutar "ignores failed reads", it exits with an error message
and an error status (the "returned 2" above).

You can compile amanda to consider this exit message and status as "normal"
by placing in config.h a line like

#define IGNORE_TAR_ERRORS 1

-- 
Jon H. LaBadie                  [EMAIL PROTECTED]
 JG Computing
 4455 Province Line Road        (609) 252-0159
 Princeton, NJ  08540-4322      (609) 683-7220 (fax)

Reply via email to