Hi,

Glad you understood your problem.

Now I'm confused however.

I thought you just wanted to include directories the start with /script* 
- is this still the case?

If so, The example given before should cater to that nicely I would have 
thought. It includes /script* directories using the wilddir option and 
then excludes everything that isn't matched by the previous Include 
section using "Wildfile *" ( Once Bacula finds a matching 
Include/Exclude section it stops checking the rest as I understand it, 
which I know confused me at first )

If you look at it, it doesn't define "File = /" in an include section, 
but rather on it's own at the bottom of the definition. I believe you 
need at least one thing defined outside the Include/Exclude blocks for 
the fileset to work.

Have you actually tried the example Marc provided?

Cheers,



Troy Daniels.
Systems Admin.
Itouch Australia.





Xeos Laenor wrote:
> Hum, I've understood my problem
> I must obligatority define "File = /" in include :-\
> it's a really problem for me because that forces me to exclude 
> explicitly all wrong directories and i don't know what i must exclude 
> before.
> Does anyone have an another solution?
> 
> Franck
> French User
> 
> 2007/4/26, Xeos Laenor <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>:
> 
>     Here is my Test File Set :
>     FileSet {
>       Name = "TestSet"
>       Include {
>         Options {
>           signature = MD5
>           verify = pins5
>           aclsupport = yes
>           onefs = no
>           WildDir = /script*
>         }
> 
>       }
>       Exclude {
>       }
>     }
>     I create some directories which start with "script" (/script,
>     /scripts and /scriptLNS are empty)
>     it doesn't work :-\
> 
>     Franck
> 
>     2007/4/26, Marc Schiffbauer <[EMAIL PROTECTED]
>     <mailto:[EMAIL PROTECTED]>>:
> 
>         * Xeos Laenor schrieb am 25.04.07 um 23:46 Uhr:
>         >  I have some problem to make Wilddir work
>         >  i don't really understand the part of doc about it
>         >  Does anyone can give me an example of FileSet for that :
>         >  I want to save all directories that start with "/script*"
> 
>         Hi Xeos,
> 
>         what in the docs you did not understand?
> 
>         I guess you want sowmething like that:
>         (And there is an example for something like that in the docs...)
> 
>         Untested:
> 
>         FileSet {
>           Include {
>             Options {
>               WildDir = /script*
>             }
>             Options {
>               Exclude = yes
>               WildFile = *
>             }
>             File = /
>           }
>         }
> 
> 
>         -Marc
>         --
>         8AAC 5F46 83B4 DB70 8317  3723 296C 6CCA 35A6 4134
> 
>         
> -------------------------------------------------------------------------
>         This SF.net email is sponsored by DB2 Express
>         Download DB2 Express C - the FREE version of DB2 express and take
>         control of your XML. No limits. Just data. Click to get it now.
>         http://sourceforge.net/powerbar/db2/
>         <http://sourceforge.net/powerbar/db2/>
>         _______________________________________________
>         Bacula-users mailing list
>         Bacula-users@lists.sourceforge.net
>         <mailto:Bacula-users@lists.sourceforge.net>
>         https://lists.sourceforge.net/lists/listinfo/bacula-users
>         <https://lists.sourceforge.net/lists/listinfo/bacula-users>
> 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to