Bacula-users

Re: [Bacula-users] fileset question

2009-05-14 17:30:49
Subject: Re: [Bacula-users] fileset question
From: Jeff Dickens <jeff AT m2.seamanpaper DOT com>
To: bacula-users <bacula-users AT lists.sourceforge DOT net>
Date: Thu, 14 May 2009 17:24:19 -0400
Maybe if I had the answers to those questions I would understand why this fileset is totally non-functional.  It backs up just the top level directories under "Documents and Settings".

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


Jeff Dickens wrote:
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
__________________________________________________________
  Scanned by Google Message Security  - Leaving Seaman Paper

Attachment: jeff.vcf
Description: Vcard

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
_______________________________________________
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>