diff options
| author | Sam Scholten | 2025-10-22 14:12:20 +1000 |
|---|---|---|
| committer | Sam Scholten | 2025-10-22 15:32:14 +1000 |
| commit | eded676575e6ef6150235b71d34ec4612f1a7bfb (patch) | |
| tree | 3a82e1b91d3d6f09ec906d02c8367297a0751279 /restic_check.sh | |
| parent | 271b8d82b129b0818cf767e7c8245976f6422b50 (diff) | |
| download | drestic-2fb72807b129d27cfc926795e1cf00af6f611339.tar.gz drestic-2fb72807b129d27cfc926795e1cf00af6f611339.zip | |
- Fix memory swap configuration (allow 1G swap)
- Add prune coordination (2-4 AM window with jitter)
- Add lock retry settings for robustness
- Increase rclone bandwidth to 2M
- Memory limits increased to 512M
Diffstat (limited to 'restic_check.sh')
| -rwxr-xr-x | restic_check.sh | 2 |
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 |
