allow prune to work with stale locks

This commit is contained in:
Remy Moll 2024-09-17 10:24:10 +02:00
parent 40146b69d8
commit dacb84ee59

View File

@ -17,10 +17,12 @@ spec:
# RESTIC_ARGS Can be for instance: --verbose --dry-run
# RESTIC_REPOSITORY is set in the secret
- >-
restic unlock
&&
restic forget
-r $(RESTIC_REPOSITORY)
--verbose=2
--keep-daily 7 --keep-weekly 5
--keep-daily 7 --keep-weekly 10
--prune
containers:
- name: ntfy-command-send