Bacula-users

Re: [Bacula-users] options section of exclude in Bacula 3.0

2009-04-14 08:10:39
Subject: Re: [Bacula-users] options section of exclude in Bacula 3.0
From: Martin Simmons <martin AT lispworks DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Tue, 14 Apr 2009 13:05:05 +0100
>>>>> On Mon, 13 Apr 2009 09:59:19 +0300, Silver Salonen said:
> 
> Hello.
> 
> I upgraded my Bacula on FreeBSD from 2.4.x to 3.0, but running bacula-dir -t 
> gives an error:
> =====
> 13-Apr 09:53 bacula-dir: ERROR TERMINATION at inc_conf.c:712
> Config error: Options section not permitted in Exclude
> 
>             : line 12, col 10 of file /usr/local/etc/bacula/fileset-var.conf
>                 Options {
> =====
> 
> The fileset itself is:
> =====
> FileSet {
>       Name = var
>       Include {
>               Options {
>                       Compression = GZIP
>                       Signature = MD5
>                       Verify = pins5
>               }
>               File = /mnt/snap/var
>       }
>       Exclude {
>               Options {
>                       wilddir = .snap
>                       wilddir = .journal
>                       wilddir = .fsck
>               }
>               File = /mnt/snap/var/tmp
>               File = /mnt/snap/var/crash
>               File = /mnt/snap/var/virusmails
>               File = /mnt/snap/var/log
>       }
> }
> =====
> 
> From release notes I found nothing about 'options' being illegal in 
> Exclude{}. 
> Is it supposed to be so or is it a bug?

Looks like a bit of both.

Firstly, wilddir has never worked in Exclude (it was silently ignored).

OTOH, 2.x did handle Options with wild in Exclude, so it looks like that has
been lost in 3.0.

__Martin

------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

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