I actually need that inclusion match, each subdirectory of CUSTOMER_DATA
(starting with a, starting with b, etc) gets its own job due to the massive
size of each.
From: Eduardo Antonio Adami
Sent: Monday, October 3, 2022 2:07 PM
To: Dave
Cc: bacula-users@lists.sourceforge.net
Subject: Re:
Yeah, you need delete the line /mnt/CUSTOMER_DATA/i*
I did a test inside my test machine, please see the my example:
FileSet {
Name = "CD-i"
Include {
Options {
signature = MD5
Exclude = yes
WildDir = "*/\.cache"
WildDir = "/home/adami/CUSTOMER_DATA/i*/temp"
Awesome, that makes a lot of sense and I'll give it a shot.
-Original Message-
From: Martin Simmons
Sent: Monday, October 3, 2022 1:52 PM
To: Dave
Cc: bacula-users@lists.sourceforge.net
Subject: Re: [Bacula-users] wilddir not working for exclusion but is for
inclusion
Bacula uses on
Bacula uses on the first Options clause that matches (in the order they are
written) to decide whether to include or exclude something. If no clauses
match, then the item is backed up using the options (e.g. Compression) from
the final clause.
The problem with your clauses is that directories
Thanks for the response, but I want to include the /mnt/CUSTOMER_DATA/i* and
exclude the /mnt/CUSTOMER_DATA/*/temp. Wouldn’t your exclude both?
From: Eduardo Antonio Adami
Sent: Monday, October 3, 2022 12:35 PM
To: bacula-users@lists.sourceforge.net
Subject: Re: [Bacula-users] wilddir
Hi Dave, you can try to use only one option block!
FileSet {
Name = "CD-i"
Include {
Options {
signature = SHA1
Compression = GZIP9
exclude = yes
wilddir = "/mnt/CUSTOMER_DATA/i*"
wildfile = "*.rar"
wildfile = "*.zip"
wilddir =
I'm running Bacula 9.0.6 and cannot seem to get a wilddir exclusion to work.
My fileset is:
FileSet {
Name = "CD-i"
Include {
Options {
signature = SHA1
Compression = GZIP9
wilddir = "/mnt/CUSTOMER_DATA/i*"
}
Options {
RegexDir = ".*"