Trying to do what seems to me like a very simple exclude in a Fileset.
Basically I want to Include /root and /home and exclude all directories named .cache and Downloads.
FileSet {
Name = Exclusion_example
Include {
Options {
Signature = SHA1
}
File = /root
File = /home
}
Exclude {
File = Downloads
File = .cache
}
}
I've tried moving these to the Options section and use Exclude=yes. I've tried with WildDir/WildFile yet it doesn't seem to be correct when I use the 'estimate' command: these files are still listed.
Can someone give the exact syntax here? I've looked into the BareOS and Bacula docs and none of them seem to explain me what I'm doing wrong.