Bacula-users

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

2010-07-06 04:33:37
Subject: Re: [Bacula-users] Looking for a correct FileSet definition...
From: "Beck J Mr" <james.beck AT shunsley.eril DOT net>
To: "Masopust, Christian" <christian.masopust AT siemens DOT com>, <bacula-users AT lists.sourceforge DOT net>
Date: Tue, 6 Jul 2010 09:31:04 +0100
I don't know about the RegEx but you could use the estimate command from bconsole to see what files will be selected. This will save you lots of time.
 
estimate job=<jobname> listing
 
James


From: Masopust, Christian [mailto:christian.masopust AT siemens DOT com]
Sent: 06 July 2010 07:11
To: bacula-users AT lists.sourceforge DOT net
Subject: [Bacula-users] Looking for a correct FileSet definition...

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...
 
Thanks for your help!
Christian
 
 

___________________________________________________________

        Christian Masopust

        SIEMENS AG  SIS SDE SVI CON IPB
        Tel:   +43 (0) 5 1707 26866
        E-mail: christian.masopust AT siemens DOT com
        Addr: Austria, 1210 Vienna, Siemensstraße 90-92, B. 33, Rm. 243

        Leader of the RUGA

        Firma: Siemens Aktiengesellschaft Österreich, Rechtsform: Aktiengesellschaft,
        Sitz: Wien, Firmenbuchnummer: FN 60562 m,
        Firmenbuchgericht: Handelsgericht Wien, DVR 0001708
        ___________________________________________________________

 
------------------------------------------------------------------------------
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>