Configuring Compression Settings
By default, Veeam Plug-In compresses backup data using the LZ4 compression algorithm. You can enable or disable compression with the Veeam Plug-In configuration tool. If you disable compression, the tool sets the compression attribute to NoCompression. If you enable compression again, the tool removes the compression attribute, and Veeam Plug-In uses the default Lz4 compression level.
To change the compression level, do the following:
- Open the Veeam Plug-In configuration file with a text editor. The file is located in one of the following locations:
- For Linux or Unix:
/opt/veeam/VeeamPluginforDB2/veeam_config.xml.
- For Microsoft Windows:
%PROGRAMFILES%\Veeam\VeeamPluginforDB2\veeam_config.xml.
- In the veeam_config.xml file, find the <AgentParams /> line and add the compression attribute:
|
<AgentParams compression="<compression_level>" /> |
where <compression_level> is the compression level for the backup job.
For example:
|
<AgentParams compression="Zstd9" /> |
For the compression attribute, you can specify one of the following values:
|
Value |
Description |
|---|---|
|
NoCompression |
No compression. This value is recommended if you plan to store backup files on storage devices supporting hardware compression and deduplication. Disabled compression can reduce performance due to the increased amount of data to be transferred. |
|
Rle |
This value enables run-length encoding (RLE) compression. |
|
Lz4 |
This value is used by default. It provides the best ratio between compression and performance, the lowest CPU usage and the fastest restore. |
|
Zstd3 |
This value provides up to 60% of additional data reduction over the Lz4 value at the cost of 2x higher CPU usage and 2x slower restore. |
|
Zstd9 |
This value provides up to 33% of additional data reduction over the Zstd3 value at the cost of 5x higher CPU usage. |
|
Tip |
|
- Save the veeam_config.xml file.