summaryrefslogtreecommitdiff
path: root/restic_check.sh
diff options
context:
space:
mode:
authorSam Scholten2025-10-22 16:44:53 +1000
committerSam Scholten2025-10-22 16:44:53 +1000
commit61ca95ae5929928ebfa50b8d99b18cf21c3e2ca7 (patch)
tree0124c23545f21aee35107efb42a7827bb93e3179 /restic_check.sh
parent4352c0aedd3236b805977da8fc910fb8f46a9e2d (diff)
downloaddrestic-1.2.tar.gz
drestic-1.2.zip
Fix: Replace unsupported restic flags for 0.18.1 compatibilityv1.2
- Replace --lock-retry-after and --lock-stale-timeout with --retry-lock - Fix shell script quoting issues (SC2086, SC2046) - All tests passing: local, remote, lint, format
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