From 7b0e7c7c60b8e1cc36ccb0a9ba82bea6b08a98d8 Mon Sep 17 00:00:00 2001 From: Morten Olsen Date: Sat, 6 Sep 2025 00:16:00 +0200 Subject: [PATCH] fix --- charts/backup/templates/cron-job-backup.yaml | 2 +- images/backup/backup.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/backup/templates/cron-job-backup.yaml b/charts/backup/templates/cron-job-backup.yaml index 1d56467..7125acf 100644 --- a/charts/backup/templates/cron-job-backup.yaml +++ b/charts/backup/templates/cron-job-backup.yaml @@ -31,7 +31,7 @@ spec: - name: source mountPath: "/mnt/source" - name: target - mountPath: "/mnt/backups" + mountPath: "/mnt/backup" subPath: "{{ $release.Name }}-{{ $key }}" volumes: - name: source diff --git a/images/backup/backup.sh b/images/backup/backup.sh index 388a042..eb1e821 100644 --- a/images/backup/backup.sh +++ b/images/backup/backup.sh @@ -23,7 +23,7 @@ restic backup \ -r "$RESTIC_REPOSITORY" "$SOURCE_DIR" \ --verbose \ - --tag "daily" \ + --tag "daily" if [ $? -eq 0 ]; then echo "Restic backup completed successfully!"