Backup fails when schedule is disabled
Backup issue :
/srv/mim-libre/git-eole3/tools/eole3 backup socle --action save
namespace/backup configured
================================================================================
Backup laboite's MongoDB database
================================================================================
persistentvolumeclaim/laboite-database-backup-pvc created
secret/laboite-mongodb-credentials configured
The CronJob "backup-laboite-mongodb-schedule" is invalid: spec.schedule: Invalid value: "False": expected exactly 5 fields, found 1: [False]
Error from server (NotFound): cronjobs.batch "backup-laboite-mongodb-schedule" not found
Error from server (NotFound): jobs.batch "laboite-database-backup" not found
error: error from server (NotFound): jobs.batch "laboite-database-backup" not found in namespace "backup"
Error from server (NotFound): error when deleting "database-backup-cronjob.yaml": cronjobs.batch "backup-laboite-mongodb-schedule" not found
namespace/backup configured
================================================================================
Backup keycloak's PostgreSQL database
================================================================================
persistentvolumeclaim/keycloak-database-backup-pvc unchanged
secret/keycloak-postgresql-credentials configured
The CronJob "backup-keycloak-postgresql-schedule" is invalid: spec.schedule: Invalid value: "False": expected exactly 5 fields, found 1: [False]
Error from server (NotFound): cronjobs.batch "backup-keycloak-postgresql-schedule" not found
Error from server (NotFound): jobs.batch "keycloak-database-backup" not found
error: error from server (NotFound): jobs.batch "keycloak-database-backup" not found in namespace "backup"
Error from server (NotFound): error when deleting "database-backup-cronjob.yaml": cronjobs.batch "backup-keycloak-postgresql-schedule" not found
namespace/backup configured
================================================================================
Backup minio
================================================================================
persistentvolumeclaim/laboite-s3-backup-pvc unchanged
secret/laboite-minio-credentials configured
cronjob.batch/backup-laboite-s3-schedule created
job.batch/laboite-s3-backup created
...
Edited by Barconnière Fabrice