Robert Buurke wrote:
> I'm trying to exclude *.bkf files and include all the other files of a
> directory on a Windows client. I used the example from the User's Manual:
> 
> FileSet {
>   Name = "Full Set"
>   Include {
>     Options {
>       wildfile = *.Z
>       wildfile = *.gz
>       Include = yes
>     }
>     Options {
>       Exclude = yes
>       RegexFile = "^.?*$"
>     }
>     File = /myfile
>   }
> }
> 
> 
> And changed it to:
> 
> FileSet {
>   Name = "Client2"
>   Include {
>     Options {
>       Include = yes
>       RegexFile = "^.?*$"
>     }
>     Options {
>       Exclude = yes
>       wildfile = *.bkf
>     }
>     File = "C:/baculatesting"
>   }
> }
> 
> If I restart Bacula it complains about that the Include keyword is not
> allowed in permitted in this resource. If I then remove Include = yes
> from the resource it stops complaining but when I try to do an
> "estimate" of the client I get "error sending include list".
> 
> I have installed almost every regex library package with apt-get and the
> Windows client has .Net Framework 1.1 SP1.
> 
> What am I doing wrong?

Since you want to include everything except *.bkf files, I don't see
that you need an include option at all.  Try this:


FileSet {
  Name = "Client2"
  Include {
    Options {
      Exclude = yes
      wildfile = *.bkf
    }
    File = "C:/baculatesting"
  }
}


-- 
 Phil Stracchino       [EMAIL PROTECTED]
    Renaissance Man, Unix generalist, Perl hacker
 Mobile: 603-216-7037         Landline: 603-886-3518


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. 
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to