Bacula-users

Re: [Bacula-users] Bacula 2.4.4 : Need some help about Exclude

2010-01-19 05:10:19
Subject: Re: [Bacula-users] Bacula 2.4.4 : Need some help about Exclude
From: Cyril Lavier <clavier AT ltutech DOT com>
To: bacula-users <bacula-users AT lists.sourceforge DOT net>
Date: Tue, 19 Jan 2010 11:05:48 +0100
Arno Lehmann wrote:
> Hi, again,
>
> this is the solution. It's actually simple - a bit of though and voilà...
>
> 19.01.2010 10:35, Arno Lehmann wrote:
>   
>> Hello,
>>
>> 19.01.2010 10:19, Cyril Lavier wrote:
>>     
>>> Cyril Lavier wrote:
>>>       
>>>> Dan Langille wrote:
>>>>   
>>>>         
>>>>> Arno Lehmann wrote:
>>>>>           
>>>>>> 18.01.2010 15:21, Cyril Lavier wrote:
>>>>>>             
> ...
>   
>>>>>>> I need to exclude from the backup all file/folder which first character 
>>>>>>> of the filename is "_".
>>>>>>>
>>>>>>> Here is the name of the FileSet :
>>>>>>>               
> Use this one instead - and notice the small modification made :-)
>
> FileSet {
>    Name = "Users"
>    Include {
>       Options {
>          Exclude = yes
>          WildDir = "*/_*"
>          WildFile = "*/_*"
>       }
>
>
>         Options {
>            signature = sha1
>            verify = pnugsi
>         }
>
>
>       File = /users/
>    }
> }
>
>   
Oh thanks.

It works.

Few minutes ago, I get to my result using this line :

Regex = "/_"

I would like to know which solution (Regex or WildDir/WildFile) is the 
best (in performance) and more reliable.

Thanks.

-- 
Cyril LAVIER | Systems Administrator | LTU Technologies
132 Rue de Rivoli - 75001 Paris France
(tel) +33 (0)1 53 43 01 71 | (mail) clavier AT ltutech DOT com
LTU technologies - Making Sense of Visual Content |  www.LTUtech.com 


------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users