allow prune to work with stale locks
This commit is contained in:
		| @@ -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 | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user