summaryrefslogtreecommitdiff
path: root/restic_check.sh
diff options
context:
space:
mode:
Diffstat (limited to 'restic_check.sh')
-rwxr-xr-xrestic_check.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/restic_check.sh b/restic_check.sh
index c8271ea..278b2fe 100755
--- a/restic_check.sh
+++ b/restic_check.sh
@@ -34,8 +34,7 @@ restic check \
--password-file "${RESTIC_PASSWORD_FILE}" \
--read-data-subset 1% \
--no-cache \
- --lock-retry-after 5m \
- --lock-stale-timeout 24h \
+ --retry-lock 5m \
--verbose || {
echo "Error: Restic check failed." >&2
notify "Restic Check ($(whoami)@$(hostname))" "Weekly integrity check failed!" 8