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