>>>>> On Tue, 6 Jul 2010 08:11:02 +0200, Masopust, Christian said:
>
> 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"
> }
Try removing the / at the end of your regexps. You could put $ at the end
instead, to make sure it matches the end of the path.
> 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...
I suggest testing it with a small tree of files that looks like /export/home
but with only a few KB of data.
__Martin
------------------------------------------------------------------------------
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 AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|