On 7/6/2010 2:11 AM, Masopust, Christian wrote: > Hi all, > I'm currently looking for a correct FileSet definition to NOT include > some "results" directories > in my backup. The problem is, that I don't know the level down in the > directory-tree where the > "results" will be (and it definitly is in different depth for different > users...). > All that I know is, that "results" (that "results" that I want to > exclude) is always within a > special directory, but also in different depth :-) > So I tried the following: > Include { > Options { > Exclude = yes > RegexDir = ".*/SpecialDir/.*/results/" > } > File = "/export/home" > } > But it didn't work.... would the following work? > Include { > Options { > Exclude = yes > RegexDir = "^/export/home/.*/SpecialDir/.*/results/" > } > File = "/export/home" > } > The problem I have is (not only to find the correct definition :-)) that > this is a 1TB filesystem, so > any try and error cycle will need too much time...
Tried WildFile instead? Also, the bwild tool will help you test -- Dan Langille - http://langille.org/ ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users