summaryrefslogtreecommitdiffstats
path: root/roles/backup/templates
diff options
context:
space:
mode:
Diffstat (limited to 'roles/backup/templates')
-rw-r--r--roles/backup/templates/restore.sh.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/backup/templates/restore.sh.j2 b/roles/backup/templates/restore.sh.j2
index 35428693..44334138 100644
--- a/roles/backup/templates/restore.sh.j2
+++ b/roles/backup/templates/restore.sh.j2
@@ -20,7 +20,7 @@ export AWS_SECRET_ACCESS_KEY="${BACKUP_SECRET_ACCESS_KEY}"
# --target /, as a guardrail against unbounded deletion, so scope it to
# exactly the paths this job backs up.
restic restore "{{ backup_restore_id }}" \
- --cache-dir "/var/cache/{{ backup_name }}-backup" \
+ --cache-dir "/var/cache/{{ backup_name }}-restore" \
--target "{{ restore_target }}" \
--delete \
--include {{ backup_paths | map('quote') | join(' --include ') }}