>>>>> On Wed, 31 Oct 2007 22:50:02 -0400, Brian A Seklecki (Mobile) said:
> 
> 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.

There is no other way that uses Regex/WildDir.


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

You could generate the list of Z/gz files using /usr/bin/find and use a
fileset with File = "\\|..." like the "All local partitions" example in the
manual.

__Martin

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