allow prune to work with stale locks
This commit is contained in:
parent
40146b69d8
commit
dacb84ee59
@ -17,10 +17,12 @@ spec:
|
|||||||
# RESTIC_ARGS Can be for instance: --verbose --dry-run
|
# RESTIC_ARGS Can be for instance: --verbose --dry-run
|
||||||
# RESTIC_REPOSITORY is set in the secret
|
# RESTIC_REPOSITORY is set in the secret
|
||||||
- >-
|
- >-
|
||||||
|
restic unlock
|
||||||
|
&&
|
||||||
restic forget
|
restic forget
|
||||||
-r $(RESTIC_REPOSITORY)
|
-r $(RESTIC_REPOSITORY)
|
||||||
--verbose=2
|
--verbose=2
|
||||||
--keep-daily 7 --keep-weekly 5
|
--keep-daily 7 --keep-weekly 10
|
||||||
--prune
|
--prune
|
||||||
containers:
|
containers:
|
||||||
- name: ntfy-command-send
|
- name: ntfy-command-send
|
||||||
|
Loading…
x
Reference in New Issue
Block a user