Thank you for the suggestions. Using wilddir on the includes works much better than the RegexDir. I did find that using wild = "*" on the excludes was problematic. I'd backup the directories, but none of the files. I've switched to using wilddir for the excludes, too, which adds a level of self-documentation to the fileset. A working example shows the changes and I just adjust the wilddir statements for the fileset as needed.
FileSet { Name = "home_dirs1 Set" # Capture /home/[0-9]* Include { Options { signature = MD5 wilddir = "/home/[0-9]*" } Options { wilddir = "/home/[a-z]*" wilddir = "/home/[A-Z]*" Exclude = yes } File = /home } } Patti On 6/18/12 2:12 PM, "Martin Simmons" <mar...@lispworks.com> wrote: >>>>>> On Fri, 15 Jun 2012 13:59:26 -0400, Clark, Patricia A said: >> >> To get the multiple streams I've broken my filesets and their >>corresponding >> jobs into multiple pieces. The snippets below are 2 of the 7 that I >> created. I am finding that I am getting everything in /home from each >>of >> these filesets and not just the subset of the home directories. Testing >> with bwild suggests that the RegexDir should be correct. So, what am I >> missing? >> >> FileSet { >> Name = "home_dirs1 Set" >> # Capture /home/[0-9]* >> Include { >> Options { >> signature = MD5 >> RegexDir = "/home/[0-9]*" >> } >> Options { >> RegexDir = ".*" <--I have also tried /home/* to be more >>explicit >> Exclude = yes >> } >> File = /home >> } >> } >> FileSet { >> Name = "home_dirs2 Set" >> # Capture /home/[a-e]* >> Include { >> Options { >> signature = MD5 >> RegexDir = "/home/[a-e]*" >> } >> Options { >> RegexDir = ".*" >> Exclude = yes >> } >> File = /home >> } >> } > >Your main RegexDir patterns are wrong: "/home/[0-9]*" matches everything >starting with "/home/" because of the definition of "*" in a regex. You >probably want wilddir = "/home/[0-9]*" instead. > >Also, you should wild = "*" instead of RegexDir = ".*". > >__Martin ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users