On Thu, Jun 13, 2019 at 10:07:10AM -0400, Jean-Francois Malouin wrote: > * Jon LaBadie <j...@jgcomp.com> [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/*" > } >
Its not that I question whether it will work as advertised. I just don't trust myself to remember which the default is. Nor to I want a future maintainer of my configuration to wonder what that "exclude without file/list" is all about. Jon -- Jon H. LaBadie j...@jgcomp.com 11226 South Shore Rd. (703) 787-0688 (H) Reston, VA 20190 (703) 935-6720 (C)