Compare commits

...

2 Commits

Author SHA1 Message Date
Morten Olsen
9928f908a0 fix 2025-09-06 00:17:49 +02:00
Morten Olsen
d091f3030b update 2025-09-06 00:11:42 +02:00
2 changed files with 3 additions and 2 deletions

View File

@@ -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

View File

@@ -20,9 +20,10 @@ restic init --repo "$RESTIC_REPOSITORY" || true
echo "Running Restic backup..."
restic backup \
-r "$RESTIC_REPOSITORY" \
"$SOURCE_DIR" \
--verbose \
--tag "daily" \
--tag "daily"
if [ $? -eq 0 ]; then
echo "Restic backup completed successfully!"