Description:
I tried scheduling a backup using the psmdb operator and the db works fine but the backup is not scheduled at the given time.
Steps to Reproduce:
here is the backup part in my yaml →
backup:
enabled: true
image:
repository: percona/percona-backup-mongodb
tag: 2.0.4
serviceAccountName: percona-server-mongodb-operator
annotations:
iam.amazonaws.com/role: arn:aws:iam::645193536862:role/percona-eks-role
# resources:
# limits:
# cpu: "300m"
# memory: "0.5G"
# requests:
# cpu: "300m"
# memory: "0.5G"
storages:
backupstorage:
type: s3
s3:
bucket: "postgreseks"
credentialsSecret: percona-backup-secret
region: ap-south-1
prefix: "perconabackup"
# uploadPartSize: 10485760
# maxUploadParts: 10000
storageClass: STANDARD
insecureSkipTLSVerify: true
# minio:
# type: s3
# s3:
# bucket: MINIO-BACKUP-BUCKET-NAME-HERE
# region: us-east-1
# credentialsSecret: my-cluster-name-backup-minio
# endpointUrl: http://minio.psmdb.svc.cluster.local:9000/minio/
# prefix: ""
# azure-blob:
# type: azure
# azure:
# container: CONTAINER-NAME
# prefix: PREFIX-NAME
# credentialsSecret: SECRET-NAME
pitr:
enabled: false
# oplogSpanMin: 10
# compressionType: gzip
# compressionLevel: 6
tasks:
- name: mongobackup
enabled: true
schedule: "0 1 * * *"
keep: 3
storageName: backupstorage
compressionType: gzip
type: logical
Also else everything in the db works fine, and this service account used here has all the permissions.But still the backup is not being scheduled on the mentioned time i.e. 1:00 am. I have used helm to deploy this percona mongodb operator
Version:
[Insert the version number of the software]
Logs:
[If applicable, include any relevant log files or error messages]
Expected Result:
[What the user expected to see or happen before the issue occurred]
Actual Result:
[What actually happened when the user encountered the issue]
Additional Information:
[Include any additional information that could be helpful to diagnose the issue, such as browser or device information]