Browse Source

Use custom format for postgres backup

master
Fábio Kaiser Rauber 3 years ago
parent
commit
e5ef36ce98
  1. 2
      charts/saberes/v0.1.0/templates/velero-schedule-weekdays.yaml

2
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

Loading…
Cancel
Save