diff --git a/templates/cronjob.yaml b/templates/cronjob.yaml index a19b5b8dcf2b4b313a6124f394270b6851788845..8c7763d7123cceb65f58803807459fdf9768ba2e 100644 --- a/templates/cronjob.yaml +++ b/templates/cronjob.yaml @@ -41,7 +41,6 @@ spec: - -c - >- find /mnt/persistent/ -mindepth 1 -mtime +10 -delete ; - pg_dumpall -h {{ .Values.database.host }} --if-exists -U postgres -a -f /mnt/persistent/$(date +"%Y%m%d_%H%M%S").all.dump ; pg_dumpall -h {{ .Values.database.host }} -U postgres -a -f /mnt/persistent/$(date +"%Y%m%d_%H%M%S").data.dump ; pg_dumpall -h {{ .Values.database.host }} --clean --if-exists -U postgres -s -f /mnt/persistent/$(date +"%Y%m%d_%H%M%S").schema.dump ; pg_dumpall -h {{ .Values.database.host }} --clean --if-exists -U postgres -r -f /mnt/persistent/$(date +"%Y%m%d_%H%M%S").roles.dump ;