From 705bb2e9df03c61d8bcf2dfe1534965c1b719f98 Mon Sep 17 00:00:00 2001 From: Hoan To Date: Mon, 22 Jul 2024 11:07:30 +0200 Subject: [PATCH] adjustments too pg-cluster config for backup rotation --- templates/cm_postgres_bkp.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/cm_postgres_bkp.yaml b/templates/cm_postgres_bkp.yaml index d91b943..d74d7f6 100644 --- a/templates/cm_postgres_bkp.yaml +++ b/templates/cm_postgres_bkp.yaml @@ -9,7 +9,7 @@ data: AWS_ENDPOINT: {{ .Values.postgres_bkp.bkp_url }} AWS_REGION: "" AWS_S3_FORCE_PATH_STYLE: "true" # needed for MinIO - BACKUP_NUM_TO_RETAIN: "7" + BACKUP_NUM_TO_RETAIN: "6" BACKUP_SCHEDULE: "00 2 * * *" CLONE_USE_WALG_RESTORE: "true" USE_WALG_BACKUP: "true" @@ -18,4 +18,4 @@ data: WAL_S3_BUCKET: postgres WAL_BUCKET_SCOPE_PREFIX: "" WAL_BUCKET_SCOPE_SUFFIX: "" - CRONTAB: "['* * * * * /nso_scripts/backup-monitoring.sh','30 2 * * * /scripts/backup_retry.sh']" \ No newline at end of file + CRONTAB: "['* * * * * /nso_scripts/backup-monitoring.sh']" \ No newline at end of file