You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the only supported backup method is based on Volume Snapshots. However Volume snapshots are not supported by every CSI and sometimes cost more than simple object storage it would make sense to also enable the existing CNPG backup functionality through barman cloud. Is there any huge blocker which would currently prevent this?
Applied:go, enhancement Project fields suggested: Component api · Priority P2 · Effort XL · Status Triage Confidence: 0.72 (llm)
Reasoning
LLM: Adding Barman Cloud backup support is a significant new feature requiring API, controller, and potentially manifest changes across multiple components.
If a label is wrong, remove it manually and ping @patty-chow so the rules can be tuned. The bot will not re-label items that already have component labels.
@DRSchlaubi Thanks for raising this! The initial backup implementation focused on volume snapshots. Optional Barman Cloud support would be a welcome addition, though there’s no implementation planned at the moment.
Is this something you need for a current or upcoming deployment? Contributions are also welcome if you’re interested—we can discuss the approach here first.
Is this something you need for a current or upcoming deployment?
Yes it is as it is the current backup solution used within my cluster. Every CNPG node uses local path provisioning for its PVC and backups are put into an s3 bucket. My CSI /hetzner cloud) doesn't even support volume snapshots, so having support for barman is currently a major blocker for adopting documentdb
Contributions are also welcome if you’re interested—we can discuss the approach here first.
I would be willing to try contributing this, altough I am not all that familiar with working on kubernetes operators. Although I don't think it should be all that complicated as we only need to expose the CNPG API for this and let CNPG do the majority of the work?
@DRSchlaubi Thanks for explaining! That makes sense, especially since snapshots aren’t available in your setup.
Your understanding is correct: CNPG would handle the backup mechanics. We’d mainly need to expose the configuration and integrate it with our backup and restore flows, with tests.
We’d welcome a contribution! You’re welcome to discuss ideas here or open a draft PR early so we can work through the details together.
it's the same as cnpg so it's easier to understand for cnpg users
if someone adds a newer plugin, it's supported directly, since this was the reason why barman was made a plugin to begin with, it would be bad to just give up on this advantage
Activity
documentdb-triage-tool commentedon Nov 5, 2026
🤖 Auto-triaged by documentdb-triage-tool.
Applied:
go,enhancementProject fields suggested: Component
api· PriorityP2· EffortXL· StatusTriageConfidence: 0.72 (llm)
Reasoning
LLM: Adding Barman Cloud backup support is a significant new feature requiring API, controller, and potentially manifest changes across multiple components.
If a label is wrong, remove it manually and ping
@patty-chowso the rules can be tuned. The bot will not re-label items that already have component labels.WentingWu666666 commentedon Nov 9, 2026
@DRSchlaubi Thanks for raising this! The initial backup implementation focused on volume snapshots. Optional Barman Cloud support would be a welcome addition, though there’s no implementation planned at the moment.
Is this something you need for a current or upcoming deployment? Contributions are also welcome if you’re interested—we can discuss the approach here first.
DRSchlaubi commentedon Nov 9, 2026
Yes it is as it is the current backup solution used within my cluster. Every CNPG node uses local path provisioning for its PVC and backups are put into an s3 bucket. My CSI /hetzner cloud) doesn't even support volume snapshots, so having support for barman is currently a major blocker for adopting documentdb
I would be willing to try contributing this, altough I am not all that familiar with working on kubernetes operators. Although I don't think it should be all that complicated as we only need to expose the CNPG API for this and let CNPG do the majority of the work?
WentingWu666666 commentedon Nov 10, 2026
@DRSchlaubi Thanks for explaining! That makes sense, especially since snapshots aren’t available in your setup.
Your understanding is correct: CNPG would handle the backup mechanics. We’d mainly need to expose the configuration and integrate it with our backup and restore flows, with tests.
We’d welcome a contribution! You’re welcome to discuss ideas here or open a draft PR early so we can work through the details together.
DRSchlaubi commentedon Nov 10, 2026
Off the top of my head-we would need the following changes then:
documentdb.pluginsBackup.methodandBackup.pluginConfiguration+ ScheduledBackup fieldsIs there anything i missed?
WentingWu666666 commentedon Nov 11, 2026
Thanks, that looks like a good starting point!
One API idea: We don’t necessarily need to mirror CNPG’s plugin API directly. One possible DocumentDB API shape, just for reference, could be:
The operator could then configure the CNPG plugin internally. This is only a suggestion—I’m open to other approaches if you think they fit better.
DRSchlaubi commentedon Nov 11, 2026
I would prefer the plugin approach: