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