Re: exact-match

2019-06-13 Thread Jean-Francois Malouin
* Jon LaBadie  [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 "
> > or
> >  "exclude file "
> > 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 j...@jgcomp.com
>  11226 South Shore Rd.  (703) 787-0688 (H)
>  Reston, VA  20190  (703) 935-6720 (C)


Re: exact-match

2019-06-13 Thread Jon LaBadie
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 "
> or
>  "exclude file "
> 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.

jon
-- 
Jon H. LaBadie j...@jgcomp.com
 11226 South Shore Rd.  (703) 787-0688 (H)
 Reston, VA  20190  (703) 935-6720 (C)