On Wednesday 21 September 2005 10:20, Arno Lehmann wrote:
> Hello,
>
> On 21.09.2005 09:43, Robert Buurke wrote:
> > Sometimes life can be so simple ;-)
> > It works what you suggested.
> >
> > But on another client I need to include *.bkf files and exclude every
> > other file. What I have tried is this:
>
> I'll have to follow this discussion as I always struggle with excludes ;-)
>
> > FileSet {
> > Name = "Client3"
> > Include {
> > Options {
> > wildfile = *.bkf
> > }
> > Options {
> > Exclude = yes
> > RegexFile = "^.?*$"
> > }
> > File = "C:/baculatesting"
> > }
> > }
> >
> > When I try to do an "estimate" of the client I get "error sending
> > include list".
> > If I then check messages in bconsole it says:
> >
> > ERROR in getmsg.c:133 Malformed message: REGEX EX EX EX EX EX EX EX EX
> > EX EX EX etc.
> > *Console* Fatal Error: Socket error from Filed on Include command:
> > ERR=No data available.
>
> Which version of the bacula-fd is running on the client, and which
> bacula-dir version? I guess this might be an imcompatibility with a
> pre-regex windows FD... then, I'm not even sure if windows FD is
> supposed to understand regexs.
Unfortunately, regex is not implemented on Windows (I was never able to get it
to link correctly), and hence using Regex with a Windows FD does not work.
>
> Arno
>
> > I have installed almost every regex library package with apt-get and the
> > Windows client has .Net Framework 1.1 SP1.
> >
> >> 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"
> >> }
> >> }
> >
> > -------------------------------------------------------
> > 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
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/bacula-users
--
Best regards,
Kern
(">
/\
V_V
-------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users