Bacula-users

Re: [Bacula-users] Wildcards problem

2011-10-24 10:02:54
Subject: Re: [Bacula-users] Wildcards problem
From: R.Lindner AT seg DOT de
To: Dimitri Gourdon <dgourdon AT itool DOT com>
Date: Mon, 24 Oct 2011 15:46:44 +0200

> Hi,
>
> So i have tried your suggestions, so my fileset is now like that :
>
> FileSet {
>    Name = "XXXXX"
>    Include {
>      Options {
>        signature = SHA1
>        compression=GZIP
>        wilddir = "/data/backup/DB-ADMIN*/"
>      }
>    File = /data/backup
>    }
> }
>
> And it don't work as expected ! I've also tried with wilddir =
> "DB-ADMIN*". It's the same.
>
> All the files in /data/backup are selected ! Not only directory like
> DB-ADMIN* !
>
> Where is my mistake ?
>
> Does somebody have an other suggestion ?


Hi,
Take a look at the bacula Manual, there is an example labled "!!!This example doesn't work!!!" that looks exactly like your fileset.

You'll probably have do do something like:

FileSet {
  Name = "Full Set"
  Include {
     Options {
        wilddir = "DB-ADMIN*"
     }
     Options {
        Exclude = yes
        RegexDir = "*"
     }
     File = /data/backup
  }
}


Best Regards

Robert
------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users