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! > -- View this message in context: http://www.nabble.com/Windows-fileset---regexdir-tp20067471p20067891.html Sent from the Bacula - Users mailing list archive at Nabble.com. ------------------------------------------------------------------------- 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users