Hello,
I have created a cluster with 2 instances and the plugin and executed the following backup:
---
apiVersion: postgresql.cnpg.io/v1
kind: ScheduledBackup
metadata:
name: pg16-pgbackrest-daily-backup
namespace: postgres
spec:
schedule: "0 3 * * *"
backupOwnerReference: self
cluster:
name: pg16-pgbackrest
method: plugin
# target: primary
pluginConfiguration:
name: pgbackrest.dalibo.com
When I don't use target: primary I have the following error: unable to find primary cluster.
Using it fixes the backup.
- CNPG: 1.27.0
- Plugin: latest
- kind v0.30.0 go1.24.6 linux/amd64
Robin,