Skip to content

For help, click the link below to get free database assistance or contact our experts for personalized support.

Enable compression for backups

You can enable LZ4 compression for backups if you run Percona XtraDB Cluster 8.0 and higher.

To enable compression, use the pxc.configuration key in the deploy/cr.yaml configuration file. Specify the following options from the my.cnf configuration file in the [sst] and [xtrabackup] sections:

pxc:
  image: percona/percona-xtradb-cluster:8.0.19-10.1
  configuration: |
    ...
    [sst]
    xbstream-opts=--decompress
    [xtrabackup]
    compress=lz4
    ...

When enabled, compression will be used for both backups and SST .


Last update: 2025-04-15