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:

  1. 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.

  1. 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:

Configuring Compression Settings

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

  • You can specify a different compression level for network traffic. To do this, add the trafficCompression attribute with one of the values from the table. Otherwise, Veeam Plug-In uses the value of the compression attribute for both data and network traffic.
  • Compression settings affect the load on the IBM Db2 server. For details, see Reducing Load on the IBM Db2 Server.
  1. Save the veeam_config.xml file.

Page updated 2026-12-03

Page content applies to build 13.2.0.193