Backup usually require for a lot of storage space, and so we always hope to preform some compression. Default style of Bacula on Debian is coming "without" compression, which means all txt/bmp/wav files will store as original size. You can configure Bacula director to use GZIP during backup, and the compression will preform in File Daemon (FD, which means your backup client) locally before send to Storage Daemon (SD) though network, which means it will also save some of your bandwidth usage. But for sure, it trade some performance for the benefits.
To configure Bacula director to use GZIP compression is quite simple: within the director configuration file (/etc/bacula/bacula-dir.conf), just add the line compression = GZIP under your FileSet ->Include -> Options section, e.g.:
FileSet {
Name = "Full Set"
Include {
Options {
signature = MD5
compression = GZIP
}
File = /etc
File = /home
}Before software compression option on, your log report should have line as below:
Software Compression: NoneRestart all of your Bacula daemons, and preform a full backup if possible. Now you may see the difference within the log report with line similar as:
Software Compression: 34.0 %So that's it :-)








