-
Notifications
You must be signed in to change notification settings - Fork 210
No way to enable compression for backups via xtrabackup sidecar #2350
Copy link
Copy link
Open
Description
Report
There doesn't seem to be a way to enable compression for backups when they are performed via the sidecar.
More about the problem
Attempted the following:
- Set the following on the backup storage part of the PXC cluster:
containerOptions:
args:
xbstream:
- "--decompress"
xtrabackup:
- "--compress=zstd"
- Set the following on the configuration part of the PXC cluster:
pxc:
configuration: |
[sst]
xbstream-opts=--decompress
[xtrabackup]
compress=zstd
Neither options result in compressed backups.
Steps to reproduce
As above.
Versions
- Kubernetes 1.35
- Operator 1.19.0
- Database 8.4.0
Anything else?
A quick look at the codebase suggests to me that the backup job is not setting the CONTAINER_OPTIONS environment variable that would have been used to set ContainerOptions on the BackupConfig?
Let me know if I'm missing something and there actually is a way to enable compression.
Reactions are currently unavailable