Hi Kevin -

Two problems, your gtar is too old and needs to be upgraded.  Second is
that if you're using gtar, you're not suppose to use the disk device but
the actual partition in the disklist, e.g.:

linux1          /       always-full-tax 1 le0
(assuming hda3 is /)

I use exclude files, which you put on the client.  Assuming the partition
is '/', the exclude list would just contain:

./var/log/messages

to exclude entire directories would be like this:

./var/spool/mqueue

Check the online FAQ and/or the online search archives for further
examples.

-Doug

On Thu, 18 Apr 2002, Spicer, Kevin wrote:

> Hi,
>
> I'm having a problem backing up one of my linux hosts with amanda.  I keep
> getting...
>
> FAILURE AND STRANGE DUMP SUMMARY:
>   linux1       /dev/hda3 lev 0 FAILED [/bin/tar returned 2]
>
[snip]
>
> Obviously /var/log/messages is the problem (/dev/hda3 is /var).  But I
> followed the instructions in the man pages to exclude this file - from
> amanda.conf ...
>
> define dumptype always-full-tax {
>     global
>     comment "Full dump of this filesystem always using tar"
>     program "GNUTAR"
>     exclude "/var/log/messages"
>     compress fast
>     priority high
>     record no
>     index yes
>     dumpcycle 0
> }
>
> and from disklist..
>
> linux1    /dev/hda3 always-full-tax 1 le0
>
> I also tried exclude"./log/messages"  in the dumptype definition but that
> didn't work either.  Has anyone else had a problem like this.
>
> I'm using amanda2.4.2p2 the server is Solaris 6 and the client is Slackware
> 7.1.0 with GNU tar 1.13



Reply via email to