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
{{ message }}
Repository navigation
Unable to cluster:/spec/bootstrap/recovery/backup when backup is a plugin-barman-cloud #510
Hi @pvbiesen! I'm Dosu and I’m helping the plugin-barman-cloud team.
Restoring a cluster from a plugin-barman-cloud backup requires using the externalClusters section with the correct plugin and object store credentials. Referencing the backup by name in .spec.bootstrap.recovery.backup.name is not sufficient for plugin-based backups, because it does not provide the necessary object store configuration or credentials, which leads to errors like "missing Azure credentials" during restore.
The supported method is to use .spec.bootstrap.recovery.source and define an externalClusters entry with the plugin name, parameters (such as barmanObjectName and serverName), and credentials for the object store. This is documented as the required approach for plugin-barman-cloud restores, and there are no documented workarounds for using .spec.bootstrap.recovery.backup.name with plugin-based backups. The backup manifest itself does not contain object store references; these must be supplied in the Cluster spec via externalClusters for the restore to succeed. Adding /spec/plugins only enables WAL archiving for the running cluster and does not affect restore operations reference.
To resolve your issue, switch to the documented restore workflow using .spec.bootstrap.recovery.source and configure externalClusters with the required plugin and credentials reference.
There's no indication in the official documentation or recent release notes that .spec.bootstrap.recovery.backup is going to be deprecated or fixed to support plugin-based backups. It remains a supported method for restoring from Backup objects in non-plugin scenarios, but for plugin-barman-cloud restores, the documented and supported workflow is still to use .spec.bootstrap.recovery.source with externalClusters for credentials and configuration reference.
Activity
dosubot commentedon Sep 4, 2025
Hi @pvbiesen! I'm Dosu and I’m helping the plugin-barman-cloud team.
Restoring a cluster from a plugin-barman-cloud backup requires using the
externalClusterssection with the correct plugin and object store credentials. Referencing the backup by name in.spec.bootstrap.recovery.backup.nameis not sufficient for plugin-based backups, because it does not provide the necessary object store configuration or credentials, which leads to errors like "missing Azure credentials" during restore.The supported method is to use
.spec.bootstrap.recovery.sourceand define anexternalClustersentry with the plugin name, parameters (such asbarmanObjectNameandserverName), and credentials for the object store. This is documented as the required approach for plugin-barman-cloud restores, and there are no documented workarounds for using.spec.bootstrap.recovery.backup.namewith plugin-based backups. The backup manifest itself does not contain object store references; these must be supplied in the Cluster spec viaexternalClustersfor the restore to succeed. Adding/spec/pluginsonly enables WAL archiving for the running cluster and does not affect restore operations reference.To resolve your issue, switch to the documented restore workflow using
.spec.bootstrap.recovery.sourceand configureexternalClusterswith the required plugin and credentials reference.To reply, just mention @dosu.
Docs are dead. Just use Dosu.
pvbiesen commentedon Sep 4, 2025
Ok, so the answer is 'no'.
I was just wondering now if
.spec.bootstrap.recovery.backupwas going to be deprecated or fixed.dosubot commentedon Sep 4, 2025
There's no indication in the official documentation or recent release notes that
.spec.bootstrap.recovery.backupis going to be deprecated or fixed to support plugin-based backups. It remains a supported method for restoring from Backup objects in non-plugin scenarios, but for plugin-barman-cloud restores, the documented and supported workflow is still to use.spec.bootstrap.recovery.sourcewithexternalClustersfor credentials and configuration reference.To reply, just mention @dosu.
Docs are dead. Just use Dosu.
siegenthalerroger commentedon Sep 4, 2025
Seeing as the issue seems to be more rooted in CNPG's CRs (not the plugin's ones), a link to an issue with the same problems: #510