I tried your suggestion, but without the exlude section it backs up
everything from the specified directory.
I'm not using this version so I'm shooting from the hip, but I would
think you don't need the exclude section at all, as using a wild in the
include would automatically exclude everything else, otherwise what's
the point.
Try removing the exclude section.
Graham
Bacula-dir is 1.36.2
Bacula-fd on the Windows client is 1.36.2.
I also tried bacula-fd 1.36.3 on the Windows client without succes.
>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.
>
>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
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users