From 2cc77feb63c1992c06104e5ac42e2df228e9565a Mon Sep 17 00:00:00 2001 From: Michael Haehnel Date: Fri, 3 Feb 2023 16:24:55 +0100 Subject: [PATCH] DEV-790 Reapply schedule for pgbasebackup - decreased s3 retention time to save storage - backups go to offsite storage additionaly for long term archiving - blanked bucket scope pre-/suffix --- templates/cm_postgres_bkp.yaml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/templates/cm_postgres_bkp.yaml b/templates/cm_postgres_bkp.yaml index c3b8723..53bfd9d 100644 --- a/templates/cm_postgres_bkp.yaml +++ b/templates/cm_postgres_bkp.yaml @@ -9,10 +9,12 @@ data: AWS_ENDPOINT: https://s3storage-nsodev-prodwork01.smardigo.digital AWS_REGION: "" AWS_S3_FORCE_PATH_STYLE: "true" # needed for MinIO - BACKUP_NUM_TO_RETAIN: "14" - BACKUP_SCHEDULE: "*/15 * * * *" + BACKUP_NUM_TO_RETAIN: "7" + BACKUP_SCHEDULE: "* */12 * * *" CLONE_USE_WALG_RESTORE: "true" USE_WALG_BACKUP: "true" USE_WALG_RESTORE: "true" WALG_DISABLE_S3_SSE: "true" - WAL_S3_BUCKET: postgres \ No newline at end of file + WAL_S3_BUCKET: postgres + WAL_BUCKET_SCOPE_PREFIX: "" + WAL_BUCKET_SCOPE_SUFFIX: "" \ No newline at end of file