Per the doc excerpt below, I read this to mean:

"First Matching Rule Stops Further Evaluation".

Then, per the example below the except below regarding:

   [...snip...]
        wildfile = "*.Z"
        wildfile = "*.gz"

   Options {
        Exclude = yes
        RegexFile = ".*"
     }
    File = /myfile
  [...snip...]

Then the note says:

"...It does not match directory names, so all directories in /myfile
will be backed up (the directory entry) and any *.Z and *.gz files
contained in them....Backing up a directory entries is not very
expensive."

---

My question is: Is this still the best approach?  The idea of loading my
Files and Directories tables seems "expensive" to me, but then again,
we're talking about backups.

Any ideas on another approach to "Exclude all Files and Directories
except this Regex/WildDir" ? 

~BAS


"Multiple Options resources may be specified one after another. As the
files are found in the specified directories, the Options will applied
to the filenames to determine if and how the file should be backed up.
The wildcard and regular expression pattern matching parts of the
Options resources are checked in the order they are specified in the
FileSet until the first one that matches. Once one matches, the
compression and other flags within the Options specification will apply
to the pattern matched.

Once Bacula determines that the Options resource matches the file under
consideration, that file will be saved without looking at any other
Options resources that may be present. This means that any wild cards
must appear before an Options resource without wild cards.

However, one additional point is that in the case that no match was
found, Bacula will use the options found in the last Options resource.
As a consequence, if you want a particular set of "default" options, you
should put them in an Options resource after any other Options.



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to