--On Friday, October 11, 2002 10:26:58 -0500 pointer <[EMAIL PROTECTED]> 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____ disklist snippet
> client /usr no-mirror-tar
> ____SNIP____
>
> Here's the def for no-mirror-tar:
>
> ____SNIP____ amanda.conf snippet
> define dumptype no-mirror-tar {
> global
> program "GNUTAR"
> compress client fast
> comment "usr partitions dumped with tar"
> exclude list ".amanda-exclude.gtar"
> priority medium
> }
> ____SNIP____
>
> The global config only has a comment and 'index yes.'
>
> The exclude list (on the client) has this:
>
> ____SNIP____
> $ cat /usr/.amanda-exclude.gtar
> ./local/mirror
> ./local/www/logs
> ____SNIP____
>
>
>
> The runtar.debug looks like this:
>
> ____SNIP____
> gtar: version 2.4.2
> running: /usr/local/bin/tar: gtar --create --directory /usr
> --listed-incremental /usr/local/var/amanda/gnutar-lists/client_usr_0.new
> --sparse --one-file-system --ignore-failed-read --totals --file -
> --exclude-from /usr/.amanda-exclude.gtar .
> ____SNIP____
>
> And the backup of this partition errors out with this:
>
> ____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____
>
> There's also a 'file changed as we read it' error, but all of these
> errors come from ./local (/usr/local) in places that are excluded (see
> above).
>
> Suggestions?
>
> Thanks,
>
> Mike
Your config looks correct to me. What does '/usr/local/bin/tar --version'
show? Can your backup user read the exclude file?
Frank
--
Frank Smith [EMAIL PROTECTED]
Systems Administrator Voice: 512-374-4673
Hoover's Online Fax: 512-374-4501