From 52553fcccf09315488c01ef56530709c24fe60f1 Mon Sep 17 00:00:00 2001 From: Jason Gilfoil Date: Mon, 26 Feb 2024 04:29:06 +0000 Subject: [PATCH] introduce backups for overseerr --- kubernetes/apps/media/prowlarr/app/kustomization.yaml | 1 + .../media/prowlarr/app}/replicationsource.yaml | 9 +++++---- 2 files changed, 6 insertions(+), 4 deletions(-) rename kubernetes/{templates/volsync => apps/media/prowlarr/app}/replicationsource.yaml (83%) diff --git a/kubernetes/apps/media/prowlarr/app/kustomization.yaml b/kubernetes/apps/media/prowlarr/app/kustomization.yaml index 2e1bab3a..d6d1d3bc 100644 --- a/kubernetes/apps/media/prowlarr/app/kustomization.yaml +++ b/kubernetes/apps/media/prowlarr/app/kustomization.yaml @@ -4,3 +4,4 @@ kind: Kustomization resources: - helm-release.yaml - ../../../../templates/volsync + - replicationsource.yaml diff --git a/kubernetes/templates/volsync/replicationsource.yaml b/kubernetes/apps/media/prowlarr/app/replicationsource.yaml similarity index 83% rename from kubernetes/templates/volsync/replicationsource.yaml rename to kubernetes/apps/media/prowlarr/app/replicationsource.yaml index 8ffb83cb..62778045 100644 --- a/kubernetes/templates/volsync/replicationsource.yaml +++ b/kubernetes/apps/media/prowlarr/app/replicationsource.yaml @@ -7,7 +7,7 @@ metadata: spec: sourcePVC: "${APP}" trigger: - schedule: "00 11 * * *" + schedule: "0 */4 * * *" restic: copyMethod: Snapshot pruneIntervalDays: 10 @@ -20,6 +20,7 @@ spec: runAsGroup: 568 fsGroup: 568 retain: - hourly: 24 - daily: 10 - within: 3d + hourly: 9 + daily: 15 + weekly: 3 + monthly: 3