On Sunday 25 February 2007 16:49, Ralf Gross wrote:
> Ralf Gross schrieb:
> > This is my default FileSet for this client and does not backup ACL's, in
> > /server or /home.
> >
> > FileSet {
> >   Name = "VU0EM003 Full"
> >   Include {
> >     Options {
> >       aclsupport = yes
> >       signature = MD5
> >     }
> >     File = /
> >     File = /server
> >     File = /public
> >     File = /home
> >
> >     Options {
> >            RegexDir = ".*000_KEIN_BACKUP.*"
> >            exclude = yes
> >     }
> >    }
>
> [snip]
>

The above does not work because the first Options does nothing.  The second 
options does an exclude, and if nothing is excuded by the second Options, it 
is included, *but* included with the Options used in the *last* Options to 
appear within the Include { }.

The above *probably* would have written (I am unsure what you really wanted) 
had you written it as:

 FileSet {
   Name = "VU0EM003 Full"
   Include {
     File = /
     File = /server
     File = /public
     File = /home
     Options {
           aclsupport = yes
           signature = MD5
            RegexDir = ".*000_KEIN_BACKUP.*"
            exclude = yes
      }
    }

 [snip]



> The two Options{} declarations wasn't working as I expected. This FS seems
> to work.


>
> FileSet {
>   Name = "VU0EM003 Full"
>   Include {
>     Options {
>       aclsupport = yes
>       signature = MD5
>     }
>     File = /
>     File = /public
>     File = /home
>   }
>   Include {
>     Options {
>       aclsupport = yes
>       signature = MD5
>       RegexDir = ".*000_KEIN_BACKUP.*"
>       exclude = yes
>     }
>     File = /server
>    }
> [snip]
>
> Thanks to Florian Heigl to pointing me in the right direction.
>
> Ralf
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to