From e5ef36ce98008c0402e6930cf6a1dc6605a226a0 Mon Sep 17 00:00:00 2001 From: Fabio Rauber Date: Wed, 18 May 2022 15:17:14 -0300 Subject: [PATCH] Use custom format for postgres backup --- charts/saberes/v0.1.0/templates/velero-schedule-weekdays.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/saberes/v0.1.0/templates/velero-schedule-weekdays.yaml b/charts/saberes/v0.1.0/templates/velero-schedule-weekdays.yaml index c868c0c..d475192 100644 --- a/charts/saberes/v0.1.0/templates/velero-schedule-weekdays.yaml +++ b/charts/saberes/v0.1.0/templates/velero-schedule-weekdays.yaml @@ -36,7 +36,7 @@ spec: command: - "/bin/bash" - "-c" - - "PGPASSWORD=$POSTGRES_PASSWORD /opt/bitnami/postgresql/bin/pg_dump -U {{ .Values.moodle.dbUser }} -d {{ .Values.moodle.dbName }} > /bitnami/postgresql/{{ .Values.moodle.dbName }}.dump" + - "PGPASSWORD=$POSTGRES_PASSWORD /opt/bitnami/postgresql/bin/pg_dump -Fc -U {{ .Values.moodle.dbUser }} -d {{ .Values.moodle.dbName }} > /bitnami/postgresql/{{ .Values.moodle.dbName }}.dump" timeout: 360s onError: Continue useOwnerReferencesInBackup: false