i can confirm that the quantifier is not working with windows-fd's (Bacula
2.4.3).
but an equal fileset works fine with a linux-client.
Best Regards
Thomas
bjoern_busch schrieb:
> Ok, It seams like the quantifier isn't working.
>
> This works:
>
> RegexDir = "D:/Project/External/[0-9][0-9][0-9][0-9][0-9]_.*"
>
> Any idea why?
>
>
>
> bjoern_busch wrote:
>> Hi,
>>
>> I've browsed the list now for a while, but I can't really find a solution,
>> so please excuse me, if there is already an answer and I missed it.
>>
>> Bacula is running on an Ubuntu machine, one client is a Windows 2003
>> Server. Everything works fine, but the one part of the FileSet doesn't get
>> interpreted as I thought it would be.
>>
>> The folders that I want to backup look like this:
>>
>> D:\Project\External\12345_Something
>> D:\Project\External\12346_Something2
>> D:\Project\External\12347_Something3
>> D:\Project\External\12348_Something4
>>
>> The folders that I want to exclude are the following:
>>
>> D:\Project\External\1234_Something
>> D:\Project\External\1233_Something
>> D:\Project\External\123456_Something
>>
>> So, assuming that I understood regular expressions and everything
>> correctly, the include for that should look like this:
>>
>> Include {
>> Options {
>> signature = MD5
>> IgnoreCase = yes
>> Exclude = no
>> RegexDir = "[0-9]{5}_.*"
>> }
>> Options {
>> RegexDir = ".*"
>> Exclude = yes
>> }
>> File = "D:/Project/External/"
>> }
>>
>> But if I specify it like this, nothing gets backed up. I've tried several
>> other combinations, like:
>>
>> RegexDir = "D:/Project/External/[0-9]{4}_.*"
>> RegexDir = "^[0-9]{4}_.*"
>>
>> Please help me, I'm really clueless right now. To verify the correct
>> behavior, I use the estimate command.
>>
>> Thanks in advance!
>>
>
--
[:O]###[O:]
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|