Skip to content

feat(backup): allow zstd compression for base backups - #1144

Open
dgsardina wants to merge 1 commit into
cloudnative-pg:mainfrom
dgsardina:dev/1104
Open

dgsardina wants to merge 1 commit into
cloudnative-pg:mainfrom
dgsardina:dev/1104

Conversation

@dgsardina

Copy link
Copy Markdown

Upgrade the barman-cloud library to a version that includes
cloudnative-pg/barman-cloud#310, which adds zstd to the
DataBackupConfiguration.compression enum. Regenerate the ObjectStore
CRD and the release manifest, and update the compression docs so that
zstd is no longer listed as WAL-only.

Barman 3.20.0 added --zstd to barman-cloud-backup; the sidecar image
already ships barman 3.20.1 with the zstandard extra, and
barman-cloud-restore picks the decompressor from the .tar.zst suffix
recorded in backup.info, so no plugin code changes are needed.

The library bump also pulls in s3AddressingStyle
(cloudnative-pg/barman-cloud#288), which therefore appears in the CRD.

Closes #1104

The pseudo-version can be replaced with v0.7.0 once cloudnative-pg/barman-cloud#303 is merged; renovate will do that automatically.

Upgrade the barman-cloud library to a version that includes
cloudnative-pg/barman-cloud#310, which adds `zstd` to the
`DataBackupConfiguration.compression` enum. Regenerate the ObjectStore
CRD and the release manifest, and update the compression docs so that
`zstd` is no longer listed as WAL-only.

Barman 3.20.0 added `--zstd` to `barman-cloud-backup`; the sidecar image
already ships barman 3.20.1 with the `zstandard` extra, and
`barman-cloud-restore` picks the decompressor from the `.tar.zst` suffix
recorded in `backup.info`, so no plugin code changes are needed.

The library bump also pulls in `s3AddressingStyle`
(cloudnative-pg/barman-cloud#288), which therefore appears in the CRD.

Closes cloudnative-pg#1104

Signed-off-by: Daniel Garcia Sardina <dgsardina@navarino.gr>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

data.compression rejects zstd although barman-cloud-backup supports it

1 participant