On 6/15/22 15:23, sruckh--- via Bacula-users wrote:> Below is an example Fileset I use which has includes and excludes.
Fileset {
Name = "Firewall Full"
Include {
File = "/"
File = "/boot"
File = "/home"
File = "/var"
Options {
Compression = "Gzip"
Signature = "Md5"
Exclude = "Yes"
WildDir = "/ISO"
WildFile = "/.journal"
WildFile = "/.fsck"
}
}
}
Hello,
I don't think yout fileset is working the way you think/want.
This fileset will not compress, nor create md5 signature for any files in /, /boot
/home, or /var. I'd expect you to see "No
signature found for file xxxx" during restores. (or some similar message)
In words, your example fileset says to backup those included directories and
below, but exclude those two wild files, and one
wilddir, but only if they are found in the root directory.
But, I am not even sure th
ose wilddir and wildfiles will correctly work because you have not included any
wildcards in them.
I would re-write this fileset as follows:
----8<----
FileSet {
Name = FirewallFull
Include {
Options {
compression = gzip
signature = md5
}
File = "/"
File = "/boot"
File = "/home"
File = "/var"
}
Exclude {
File = ISO
File = .fsck
File = .journal
}
}
----8<----
This example will compress and create an md5 signature for everything under /,
/boot /home, or /var, and then will exclude
any files or directories called ISO, .fsck, and .journal wherever they are
found.
If you want to anchor them to the root directory only, then set them to /ISO,
/.fsck, and /.journal
Hope this helps.
Bill
--
Bill Arlofski
[email protected]
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Bacula-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/bacula-users
