From d73f8ab57280539f241f1b1d09862cc9e4bd4956 Mon Sep 17 00:00:00 2001 From: Tim Kreuzer <t.kreuzer@fz-juelich.de> Date: Wed, 1 Jan 2025 17:56:15 +0100 Subject: [PATCH] simplify --- templates/cronjob.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/templates/cronjob.yaml b/templates/cronjob.yaml index a19b5b8..8c7763d 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 ; -- GitLab