forked from cloudnative-pg/plugin-barman-cloud
-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
Hi,
First, thank you for this great plugin
Here is my Archive Manifest
apiVersion: pgbackrest.cnpg.opera.com/v1
kind: Archive
metadata:
name: s3-xxxx-k8s-dbaas-test
namespace: pg-guiet-ns
spec:
configuration:
repositories:
- destinationPath: /k8s-dbaas-test
bucket: pg-backup-01-prod
endpointURL: xxxx
disableVerifyTLS: true
retention:
archiveType: full
full: 3
fullType: count
s3Credentials:
uriStyle: path
region: "eu-west-3"
accessKeyId:
name: pgbackrest-s3-secret
key: access-key-id
secretAccessKey:
name: pgbackrest-s3-secret
key: secret-access-key
stanza: pgbackrest
compression: zst
data:
immediateCheckpoint: true
jobs: 2
instanceSidecarConfiguration:
resources:
requests:
memory: "2Gi"
cpu: "1m"
limits:
memory: "2Gi"
cpu: "2"I have mentioned stanza: pgbackrest as you can see but as soon as I create my first backup, stanza name is ignored and stanza is initialized with cluster name as you can see below in the log
{"level":"info","ts":"2025-07-26T20:59:20.960352193Z","msg":"Executing pgbackrest stanza-create command","logging_pod":"pg-test-cluster-1","options":["stanza-create","--repo1-type","s3","--repo1-s3-endpoint","xxx","--repo1-storage-verify-tls=n","--repo1-s3-bucket","pg-backup-01-prod","--repo1-path","/k8s-dbaas-test","--repo1-s3-uri-style","path","--pg1-path","/var/lib/postgresql/data/pgdata","--pg1-user","postgres","--pg1-socket-path","/controller/run/","--log-level-stderr","warn","--log-level-console","off","--stanza","pg-test-cluster","--lock-path","/controller/tmp/pgbackrest"]}--stanza","pg-test-cluster" should be --stanza","pgbackrest" in my case
Thank you
frederic
Metadata
Metadata
Assignees
Labels
No labels