Amanda-Users

Re: Upgrade to 2.4.3 has hiccup

2003-01-04 19:55:54
Subject: Re: Upgrade to 2.4.3 has hiccup
From: Jean-Louis Martineau <martinea AT iro.umontreal DOT ca>
To: "Douglas K. Rand" <rand AT meridian-enviro DOT com>
Date: Sat, 4 Jan 2003 19:11:31 -0500
On Sat, Jan 04, 2003 at 05:38:43PM -0600, Douglas K. Rand wrote:
> >> [Doug whining because he has to create those empty exlude files ...]
> 
> Jean-Louis> You can use the keyword 'optional' on your exclude
> Jean-Louis> specification and amanda will not complain if the file
> Jean-Louis> doesn't exist. You don't have to create empty files.
> 
> Cool! I don't see the particular syntax in the man page. (I was afraid
> I'd just not read the page closely enough after the upgrade.  :))
> 
> Does this syntax work?
> 
> define dumptype tar {
>         defaults
>         program  "GNUTAR"
>         optional exclude list    ".amanda.excludes"
> }

The man page is clear:
  exclude [ list|file ][[optional][ append ][ "string" ]+]

So you need: exclude list optional ".amanda.excludes"
Are you looking at the man page for 2.4.3?

Jean-Louis
-- 
Jean-Louis Martineau             email: martineau AT IRO.UMontreal DOT CA 
Departement IRO, Universite de Montreal
C.P. 6128, Succ. CENTRE-VILLE    Tel: (514) 343-6111 ext. 3529
Montreal, Canada, H3C 3J7        Fax: (514) 343-5834