Hi There,
I’ve deployed a new PXC Cluster to k8s using the operator. Now, I’m trying to create a backup of my cluster, however the backup pod fails with the below error and then exist.
+ xbcloud delete --curl-retriable-errors=7 --storage=s3 --s3-bucket=test-2023-11-28-09:34:54-full.sst_info
231128 09:35:00 xbcloud: Successfully connected.
231128 09:35:00 xbcloud: error: backup named test-2023-11-28-09:34:54-full.sst_info doesn't exists!
The above is confusing, since I’m trying to create the backup, so it makes sense that it does not exist.
This is my manifest file:
apiVersion: pxc.percona.com/v1
kind: PerconaXtraDBClusterBackup
metadata:
name: test-backup
spec:
pxcCluster: cluster-1
storageName: backup
I have also configured PITR backup, however they work fine with no errors. This is not a S3 bucket permission error since I use the same bucket and creds for PITR and this works fine.
In my values.yaml file I this configured for backups:
backup:
enabled: true
image:
repository: percona/percona-xtradb-cluster-operator
tag: 1.13.0-pxc8.0-backup-pxb8.0.32
imagePullSecrets: []
pitr:
enabled: true
storageName: backup
timeBetweenUploads: 60
resources:
requests: {}
limits: {}
storages:
backup:
type: s3
verifyTLS: true
s3:
bucket: test
region: eu-west-1
credentialsSecret: s3-creds
Any ideas on what I’m doing wrong?