Bacula-users

[Bacula-users] WildDir and *

2008-10-09 19:04:27
Subject: [Bacula-users] WildDir and *
From: "Dupree, Craig" <cdupree AT austin.utexas DOT edu>
To: "bacula-users AT lists.sourceforge DOT net" <bacula-users AT lists.sourceforge DOT net>
Date: Thu, 9 Oct 2008 17:33:48 -0500

I’m trying to set up my FileSet to allow people to store Personal files on my fileserver without backing them up.  To do that,  we’ve all agreed that anything in ~/Personal should be ignored.   I’ve put this into the FileSet

 

Include {

                Options {

                        Exclude = yes;

 

                        WildDir = "/export/home/*/Personal"

 

                }

 

                File = "/export/home/user";

        }

 

and now I’m running estimate to test this out.  >>From the looking at the Windows sample config (the server and client I’m using are Linux), I see a few rules with “foo/*/*/bar” which seems to indicate the * stops at /.  However, what I find is that /export/home/user/Personal and /export/home/user/otherdir/Personal both get ignored which indicates that * doesn’t stop at /.  I’ve combed the manual but I don’t see any reason why this shouldn’t work.   Anyways, I do see that if I have the WildDir in the options both directories called Personal located anywhere in the /export/home/ tree get removed.   If I remove it they survive.  This is  with a 2.4.2 client and server.  If this is the expected behavior maybe it should be changed and replaced with something like rsync’s ** versus * to indicate whether you are interested in stopping at /.   

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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>
  • [Bacula-users] WildDir and *, Dupree, Craig <=