From 77781f0cfdd999facf1651e41b88016707cb22b5 Mon Sep 17 00:00:00 2001 From: Melvin GABALI Date: Wed, 14 Jan 2026 23:20:10 +0100 Subject: [PATCH] add backup-daily --- helm/longhorn/dev/templates/backup-daily.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 helm/longhorn/dev/templates/backup-daily.yaml diff --git a/helm/longhorn/dev/templates/backup-daily.yaml b/helm/longhorn/dev/templates/backup-daily.yaml new file mode 100644 index 0000000..996dacb --- /dev/null +++ b/helm/longhorn/dev/templates/backup-daily.yaml @@ -0,0 +1,12 @@ +apiVersion: longhorn.io/v1beta2 +kind: RecurringJob +metadata: + name: backup-daily + namespace: {{ .Release.Namespace }} +spec: + cron: "0 0 * * *" + task: "backup" + groups: + - "default" # Optionnel : permet de regrouper les jobs + retain: 7 + concurrency: 2 \ No newline at end of file