Add zstd back to `DataBackupConfiguration` compression enum
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 88/100
Research direction
Open pkg/api/config.go and inspect DataBackupConfiguration.Compression and its doc comment. The work is complete when zstd is listed as a valid compression value, the comment reflects it, and xz remains excluded.
Written by the indexing model from the issue text.
Description
Add zstd back to DataBackupConfiguration compression enum
Summary
Barman 3.20.0 added --zstd support to barman-cloud-backup (EnterpriseDB/barman@0aa20706f2c430f7ccf44cd749c7838f40087ce0). This reverses the premise of #88 for zstd: it is now a valid base backup compression, alongside bzip2, gzip, lz4, and snappy.
DataBackupConfiguration.Compression in pkg/api/config.go still has +kubebuilder:validation:Enum=bzip2;gzip;lz4;snappy. Add zstd to the Enum and update the doc comment on the field. xz is still WAL-only and stays out.
Barman release notes for Release 3.20.0 (2026-08-27)
Add Zstd compression support for cloud backups
barman-cloud-backupnow supports Zstd compression via the--zstdoption.
Zstd offers a good balance between compression ratio and speed, making it
well-suited for cloud backup workloads.Zstd compression requires the optional
zstandardPython library to
be installed.References: BAR-729.
Related Commits on EnterpriseDB/barman
- EnterpriseDB/barman@0aa20706f2c430f7ccf44cd749c7838f40087ce0
- EnterpriseDB/barman@00e61951bb997d353a87f69ad378e152f2405554
- EnterpriseDB/barman@ed228ea789445e02fb4c199f30690942950e5813
- EnterpriseDB/barman@8af084f2b1ae5b9235552dfc5c82174cf9cc0959
Related Issues and Pull Requests on cloudnative-pg/barman-cloud
- #215
- #216
- Dominant language
- Go
- Stars
- 11
- Forks
- 26
- Avg merge
- 7h 53m
- Merged PRs (30d)
- 5
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from cloudnative-pg/barman-cloud
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
cloudnative-pg/barman-cloud#276 ·
-
Dependency Dashboard Open
Difficulty 4/5 3-5 days Newbie friendliness 15/100
All issues in cloudnative-pg/barman-cloud
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 84/100
-
enhancement needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
kind/cleanup
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
kubernetes-sigs/kueue#15947 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
sympozium-ai/sympozium#627 ·
-
priority: p3
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
googleapis/librarian#7636 ·