>>>>> On Wed, 24 Feb 2010 10:46:15 +0100, Albert Pauw said:
> 
> I am struggling a bit with the wildcard stuff.
> 
> I want to back up all Mail directories in the homedirectories of users, 
> so /home/*/Mail (including subdirs) needs to be backed up.
> In order to take a more generic approach I tried the wild card stuff, 
> but or nothing gets backed up, or everything.
> So maybe somebody can help me out with this simple problem. Here is my 
> fileset definition (which doesn't work):
> 
> FileSet {
>    Name = "MailSet"
>    Include {
>      File = "/home"
>      Options {
>        signature = MD5
>        RegExDir = "^/home/[^/]+$"
>        WildDir = "/home/*/Mail"
>        Wild = "/home/*/Mail/*"
>      }
>      Options {
>        RegexDir = ".*"
>        exclude = yes
>      }
>    }
> }
> 
> Any help will be appreciated.

I would expect that to almost work, but it should say Wild = "/home/*" in the
second options clause to removes all other files (as well as directories).

__Martin

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to