Hello,
I'm sorry, please disregard my last post (the two filesets are identical). Following is a more detailed test (and this is not a cosmetic error of the backup log):
1) compression works.
FileSet {
Name = "Full Set"
Include {
Options {
exclude = yes
wildfile = "*.data*"
}
Options {
signature = MD5
compression = GZIP
}
File = /opt/bacula/bin
}
Build OS: x86_64-unknown-linux-gnu ubuntu 14.04
JobId: 62
Job: BackupClient1.2016-03-26_01.37.17_04
Backup Level: Full
Client: "bacula-server-fd" 7.4.0 (16Jan16) x86_64-unknown-linux-gnu,ubuntu,14.04
FileSet: "Full Set" 2016-02-19 23:35:17
...
FD Files Written: 17
SD Files Written: 17
FD Bytes Written: 7,015,847 (7.015 MB)
SD Bytes Written: 7,017,616 (7.017 MB)
Rate: 3507.9 KB/s
Software Compression: 58.0% 2.4:1
...
Volume name(s): Vol-0001
Volume Session Id: 1
Volume Session Time: 1458952340
Last Volume Bytes: 7,025,678 (7.025 MB)
...
Termination: Backup OK
-rw-r----- 1 root root 7025678 mar 26 01:37 Vol-0001
2) compression do not work:
FileSet {
Name = "Full Set"
Include {
Options {
signature = MD5
compression = GZIP
}
Options {
exclude = yes
wildfile = "*.data*"
}
File = /opt/bacula/bin
}
Build OS: x86_64-unknown-linux-gnu ubuntu 14.04
JobId: 63
Job: BackupClient1.2016-03-26_01.41.46_03
Backup Level: Full
Client: "bacula-server-fd" 7.4.0 (16Jan16) x86_64-unknown-linux-gnu,ubuntu,14.04
FileSet: "Full Set" 2016-02-19 23:35:17
...
FD Files Written: 17
SD Files Written: 17
FD Bytes Written: 16,691,953 (16.69 MB)
SD Bytes Written: 16,693,466 (16.69 MB)
Rate: 16692.0 KB/s
Software Compression: None
...
Volume name(s): Vol-0001
Volume Session Id: 1
Volume Session Time: 1458952842
Last Volume Bytes: 16,706,736 (16.70 MB)
...
Termination: Backup OK
-rw-r----- 1 root root 16706736 mar 26 01:41 Vol-0001
3) compression works:
FileSet {
Name = "Full Set"
Include {
Options {
signature = MD5
compression = GZIP
}
Options {
exclude = yes
compression = GZIP
wildfile = "*.data*"
}
File = /opt/bacula/bin
}
Build OS: x86_64-unknown-linux-gnu ubuntu 14.04
JobId: 65
Job: BackupClient1.2016-03-26_01.50.53_03
Backup Level: Full
Client: "bacula-server-fd" 7.4.0 (16Jan16) x86_64-unknown-linux-gnu,ubuntu,14.04
FileSet: "Full Set" 2016-02-19 23:35:17
...
FD Files Written: 17
SD Files Written: 17
FD Bytes Written: 7,015,847 (7.015 MB)
SD Bytes Written: 7,017,360 (7.017 MB)
Rate: 3507.9 KB/s
Software Compression: 58.0% 2.4:1
...
Volume name(s): Vol-0001
Volume Session Id: 1
Volume Session Time: 1458953395
Last Volume Bytes: 7,025,230 (7.025 MB)
...
Termination: Backup OK
-rw-r----- 1 root root 7025230 mar 26 01:50 Vol-0001
Notes:
- I created some *.data* files in /opt/bacula/bin for testing purposes
- all three Filesets correctly exclude the *.data* files
- I cannot see the need of a compressed clause in the options with the exclude option set to yes. But as Heitor suggested, it works.
Randy, I have not run tests with your Fileset configuration. We should have a close look in bacula client version, linux version, zlib devel version, maybe verify carefully if there is really no difference in Fileset configurations, check if without the exclude clause compression works and finally check if the selected files for this "compression not working client" can be compressed.
Best regards,
Ana