Enable compression for backups¶
You can enable ZSTD compression for backups if you run Percona XtraDB Cluster 8.0.34 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.4.0-5.1
configuration: |
...
[sst]
xbstream-opts=--decompress
[xtrabackup]
compress=zstd
...
When enabled, compression will be used for both backups and SST .
Last update:
January 19, 2026
Created: July 4, 2023
Created: July 4, 2023