diff options
| author | Sam Scholten | 2025-10-22 16:44:53 +1000 |
|---|---|---|
| committer | Sam Scholten | 2025-10-22 16:44:53 +1000 |
| commit | 61ca95ae5929928ebfa50b8d99b18cf21c3e2ca7 (patch) | |
| tree | 0124c23545f21aee35107efb42a7827bb93e3179 /restic_check.sh | |
| parent | 4352c0aedd3236b805977da8fc910fb8f46a9e2d (diff) | |
| download | drestic-61ca95ae5929928ebfa50b8d99b18cf21c3e2ca7.tar.gz drestic-61ca95ae5929928ebfa50b8d99b18cf21c3e2ca7.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-x | restic_check.sh | 3 |
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 |
