i think you need something like this :
>
> Now, lets assume you only want to backup .Z and .gz files and nothing else.
> This is a bit trickier because Bacula by default will select everything to
> backup, so we must exclude everything but .Z and .gz files. If we take the
> first example above and make the obvious modifications to it, we might come
> up with a FileSet that looks like this:
>
> FileSet {
> Name = "Full Set"
> Include { !!!!!!!!!!!!
> Options { This
> wildfile = "*.Z" example
> wildfile = "*.gz" doesn't
> work
> } !!!!!!!!!!!!
> File = /myfile
> }
> }
>
> The *.Z and *.gz files will indeed be backed up, but all other files that are
> not matched by the Options directives will automatically be backed up too
> (i.e. that is the default rule).
>
> To accomplish what we want, we must explicitly exclude all other files. We do
> this with the following:
>
> FileSet {
> Name = "Full Set"
> Include {
> Options {
> wildfile = "*.Z"
> wildfile = "*.gz"
> }
> Options {
> Exclude = yes
> RegexFile = ".*"
> }
> File = /myfile
> }
> }
>
> The "trick" here was to add a RegexFile expression that matches all files. It
> does not match directory names, so all directories in /myfile will be backed
> up (the directory entry) and any *.Z and *.gz files contained in them. If you
> know that certain directories do not contain any *.Z or *.gz files and you do
> not want the directory entries backed up, you will need to explicitly exclude
> those directories. Backing up a directory entries is not very expensive.
Martin Simmons schrieb:
>>>>>> On Thu, 11 Jan 2007 11:37:40 +0200, Silver Salonen said:
>> Hello.
>>
>> I'm having trouble with WildDir directive in win32 fileset.
>>
>> Fileset looks like:
>> FileSet {
>> Name = serv2
>> Enable VSS = yes
>> Include {
>> Options {
>> Compression = GZIP
>> Signature = MD5
>> IgnoreCase = yes
>> WildDir = "D:/Exchsrvr/*"
>> WildDir = "D:/srs*"
>> }
>> }
>> }
>>
>> I'm absolutely sure there are directories D:\Exchsrvr as well as D:\srsdata.
>> But estimate says it that this fileset has 0 files/directories:
>> estimate job=serv2 listing level=Full
>> Using Catalog "MySQL"
>> Connecting to Client serv2-fd at 192.168.16.3:9102
>> 2000 OK estimate files=0 bytes=0
>>
>> What's wrong with such fileset?
>
> You need to add a File directive inside the Include (the Options directive
> just filters what it finds starting from the File directives).
>
> __Martin
>
> -------------------------------------------------------------------------
> 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
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bacula-users
--
IC3S Information, Computer und Solartechnik AG
Baekerbarg 6, 22889 Tangstedt, Germany
Telefon +49.4109.555.121
Telefax +49.4109.555.57
E-Mail [EMAIL PROTECTED]
Web http://www.ic3s.de/
Vorstand: Jan Behrmann (Vorsitzender), Stefan Fehlauer
Aufsichtsrat: Sven Niklasson (Vorsitzender)
Dresdner Bank (200 800 00), Kto. 0123 9582 00
Commerzbank (200 400 00), Kto. 8540 288
Amtsgericht Kiel HRB 7590
UST.IdNr. DE184532766
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users