Bacula-users

Re: [Bacula-users] Looking for a correct FileSet definition...

2010-07-06 13:50:38
Subject: Re: [Bacula-users] Looking for a correct FileSet definition...
From: Dan Langille <dan AT langille DOT org>
To: "Masopust, Christian" <christian.masopust AT siemens DOT com>
Date: Tue, 06 Jul 2010 13:48:16 -0400
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 AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>