Skip to content

Rate this page
Thanks for your feedback
Thank you! The feedback has been submitted.

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: December 1, 2025
Created: December 1, 2025