Bacula-users

Re: [Bacula-users] fileset question

2009-05-14 16:42:04
Subject: Re: [Bacula-users] fileset question
From: Jeff Dickens <jeff AT seamanpaper DOT com>
To: bacula-users <bacula-users AT lists.sourceforge DOT net>
Date: Thu, 14 May 2009 16:35:47 -0400
Here it is:

FileSet {
        Name = "XP_WS3"
        Include {
                Options {
                        exclude = yes
                        RegEx = ".*\.lnk"
                        RegEx = ".*\.mp3"
                        RegEx = ".*\.wma"
                }
                Options {
                        signature = MD5
                        compression=GZIP
                        WildDir  = "C:/Documents and Settings/*/My Documents"
                        Wild     = "C:/Documents and Settings/*/My Documents/*"
                        WildDir  = "C:/Documents and Settings/*/Desktop"
                        Wild     = "C:/Documents and Settings/*/Desktop/*"
                        RegExDir = "C:/Documents and Settings/[^/]+$"
                }
                Options {
                        exclude = yes
                        Wild = "C:/Documents and Settings/*"
                }
                File = "C:/Documents and Settings"
        }
}

Thanks to those that responded to Robin Bonin's thread about a year ago, in particular Martin Simmons.

I have two follow-up questions:

What exactly is the RegExDir directive doing?  I understand what the regex is doing, but how does that help here, since all the WildDirs are getting "ored" together.. what does it match that the others don't?

Secondly, does anyone else agree that it would be desirable to have the fileset look more like this:

Include {
       Rational_Filespec: = "C:/Documents and Settings/*/My Documents"
       Rational_Filespec: = "C:/Documents and Settings/*/Desktop"
}

instead of the dog's breakfast?



Jeff Dickens wrote:
Is there any way to accomplish what I'm trying to do here ?

FileSet {
Name = XP_WS2
Enable VSS = yes
Include {
 Options {
  signature = MD5
  compression = GZIP
  IgnoreCase = yes
  Wild = "C:/Documents and Settings/*/Desktop/*"
  Wild = "C:/Documents and Settings/*/Documents/*"
 }
 Options {
  Exclude = yes
  Wild = "C:/Documents and Settings/*"
 }
 File = "C:/Documents and Settings"
}
}


__________________________________________________________
 Scanned by Google Message Security  - Leaving Seaman Paper
------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com

_______________________________________________ Bacula-users mailing list Bacula-users AT lists.sourceforge DOT net https://lists.sourceforge.net/lists/listinfo/bacula-users
------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
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>