Amanda-Users

Excludes [Was: Re: Service looping/terminating...]

2003-09-04 18:24:50
Subject: Excludes [Was: Re: Service looping/terminating...]
From: "Paul Bijnens" <Paul.Bijnens AT xplanation DOT com>
To: <dbarcelo AT datajunction DOT com>, <amanda-users AT amanda DOT org>
Date: Fri, 5 Sep 2003 00:21:31 +0200
----- Original Message ----- 
From: "David Barcelo" <dbarcelo AT datajunction DOT com>
> I can't get amanda to exclude files.  I am defining them on the server 
> and not the client.  I have the following entries under my global 
> dumptype definition in amanda.conf:
> 
> define dumptype global {
>     comment "Global definitions"
>     index yes
>      record no
>      exclude "./tmp"
>      exclude "./proc"
>      exclude "./dev"
>      exclude "./dumps"
>      exclude "./var/lib/amanda"
>      exclude "./var/lib/spool/postfix"
> }

You forgot the "append" directive.  Without "append", you overwrite
the append list, and effectively only the last item will be excluded.
Something like:
     ...
    exclude append "./tmp"
    exclude append "./proc"
    ...



<Prev in Thread] Current Thread [Next in Thread>