docs: troubleshooting does not cover "cannot proceed with the backup as the cluster has no backup section"

Offen Anfängerfreundlich
#1,165 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

@fjvbn2003 arbeitet bereits daran.

Seit 16.10.2026.

  • #1166 von @fjvbn2003 — offen

Bewertung

Schwierigkeit
1/5
Geschätzter Aufwand
1-3 Stunden
Anfängerfreundlichkeit
85/100
Issue-Typ
Dokumentation
Klarheit
Klar beschrieben
Aktivitätsstatus
Aktiv
Tech-Stack
go, postgresql
Bereich
documentation

Rechercherichtung

Lies troubleshooting.md und suche den Abschnitt "Backup job fails immediately". Verwende den gemeldeten Fehler und das Migrationsverhalten als Kontext und prüfe dann, wie Backup und ScheduledBackup method festlegen und wie kubectl cnpg backup Plugin-Optionen akzeptiert. Fertig, wenn der Troubleshooting-Eintrag den Fehler erklärt und die Korrektur für beide Ressourcentypen und den Befehl angibt.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

After migrating to the plugin and removing .spec.backup from the Cluster (as
Step 2 of the migration guide says), any Backup or ScheduledBackup that
does not set method: plugin fails with:

cannot proceed with the backup as the cluster has no backup section

method defaults to barmanObjectStore in the Backup and ScheduledBackup
CRDs, and the operator then requires cluster.Spec.Backup
(internal/controller/backup_controller.go). #353 is the same report for
kubectl cnpg backup, answered with -m plugin --plugin-name ....

I hit this myself with a ScheduledBackup after the migration. The message is
not in troubleshooting.md, which is where users search for it. I'd like to
add it to "Backup job fails immediately" with the fix for the resources and
for kubectl cnpg backup.

Vorherrschende Sprache
Go
Sterne
207
Forks
88
Ø Merge
2 T. 4 Std.
Gemergte PRs (30 T.)
41

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus cloudnative-pg/plugin-barman-cloud

Alle Issues in cloudnative-pg/plugin-barman-cloud

Ähnliche Issues

Weitere Issues zu Go

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.