Bacula-users

Re: [Bacula-users] File Set configuration and excluding some files?

2011-03-22 04:56:02
Subject: Re: [Bacula-users] File Set configuration and excluding some files?
From: Jeremy Maes <jma AT schaubroeck DOT be>
To: bacula-users AT lists.sourceforge DOT net
Date: Tue, 22 Mar 2011 09:53:02 +0100
Op 21/03/2011 22:06, Mark Nienberg schreef:
> On 3/20/2011 5:52 PM, Mike Eggleston wrote:
>> Afternoon,
>>
>> I'm trying to get some spam email folders excluded in the backup. I
>> wonder if there is an ordering issue I'm missing. For this unix server
>> I have a:
>>
>> File Set {
>>      Name = Unix-Files-elo
>>      Ignore Fileset Changes = yes
>>      Include {
>>              Options {
>>                      signature = MD5
>>                      Exclude = yes
>>                      IgnoreCase = yes
>>
>>                      # Exclude files and directories that can be replaced 
>> using the red hat network
>>                      WildDir = "/var/spool/imap/*/user/*/spam"
>>              }
>>              File = /var/spool/imap
>>      }
>> }
> Here is a similar working example from my backups:
>
> FileSet {
>     Name = "gecko Files"
>     Ignore FileSet Changes = yes
>     Include {
>       Options {
>         signature = MD5
>         wildDir = "/share/office/TmpShare/*/personal"
>         wildDir = "/share/homes/*/thunderbird/*/ImapMail"
>         wildDir = "/share/drawings/*dwgs/*/Received"
>         ignore case = yes   #so the above will match Personal, etc
>         Exclude = yes
>       }
>       File = /etc
>       File = /root
>       File = /share
>     }  # end Include
> }  # end FileSet
>
> I wonder if it is a problem with Ignore Case? The documentation is 
> inconsistent about
> the space between Ignore and Case.
>
That is because the directives are case insensitive, and spaces are 
ignored. Quoting the manual:
> Case (upper/lower) and spaces are totally ignored in the resource 
> directive keywords (the part before the
> equal sign).
> Within the keyword (i.e. before the equal sign), spaces are not 
> significant. Thus the keywords: name,
> Name, and N a m e are all identical.
> Spaces after the equal sign and before the first character of the 
> value are ignored.

Kind regards,
Jeremy

 **** DISCLAIMER ****
http://www.schaubroeck.be/maildisclaimer.htm

------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
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>