* Jon LaBadie <[email protected]> [20190613 05:05]:
> On Tue, Jun 11, 2019 at 04:28:50PM +0200, C. Scheeder wrote:
> > Errm
> > sorry to interup this all,
> > but isn't the option
> >  "exclude list <filename>"
> > or
> >  "exclude file <filename>"
> > man amand.conf dosn't know the option "exclude" without being folowed by the
> > word "file" or "list".
> > 
> In amanda.conf(5) it shows:
> 
>   exclude [list|file] ...
> 
> The square brackets typicaly surround optional arguments.
> Indeed, the next line shows:
> 
>       Default: file.  ...
> 
> While I would never recommend it, the file/list argument can
> be omitted.

I have done that quite often in the past without an itch. 
For example, a disklist.conf entry for a DLE, I exclude everything below
path{1,2,3,4} but not the subdirs themselves:

 client_hostname /some/dle { 
   app-amgtar-span
   estimate server
   index no
   exclude append "./path1/*"
   exclude append "./path2/*"
   exclude append "./path3/*"
   exclude append "./path4/*"
 }

jf

> 
> jon
> -- 
> Jon H. LaBadie                 [email protected]
>  11226 South Shore Rd.          (703) 787-0688 (H)
>  Reston, VA  20190              (703) 935-6720 (C)

Reply via email to