diff options
| author | Sam Scholten | 2025-10-27 13:40:25 +1000 |
|---|---|---|
| committer | Sam Scholten | 2025-10-27 13:40:25 +1000 |
| commit | 98f5396a9f04534856d95a297735709408b2f94e (patch) | |
| tree | 088c3bb4472ba055d31b0825a7ec92086f632282 /restic_check.sh | |
| parent | 56973528a9e4cab924951ad0e4c7b4eead4baa2c (diff) | |
| parent | a827a2c9b84474e023050b54aae192819fabb552 (diff) | |
| download | drestic-98f5396a9f04534856d95a297735709408b2f94e.tar.gz drestic-98f5396a9f04534856d95a297735709408b2f94e.zip | |
Merge remote-tracking branch 'origin/main'
Diffstat (limited to 'restic_check.sh')
| -rwxr-xr-x | restic_check.sh | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/restic_check.sh b/restic_check.sh index 278b2fe..9fe6be1 100755 --- a/restic_check.sh +++ b/restic_check.sh @@ -28,13 +28,11 @@ trap 'notify "Restic Check" "Restic check script finished with exit code $?" $?' # --- Main Logic --- echo "--- Starting Restic Repository Integrity Check at $(date) ---" -echo "Running memory-efficient integrity check on repository: $RESTIC_REPOSITORY (1% data subset)..." +echo "Running VPS-optimized repository integrity check on repository: $RESTIC_REPOSITORY (metadata only)..." restic check \ --repo "${RESTIC_REPOSITORY}" \ --password-file "${RESTIC_PASSWORD_FILE}" \ - --read-data-subset 1% \ --no-cache \ - --retry-lock 5m \ --verbose || { echo "Error: Restic check failed." >&2 notify "Restic Check ($(whoami)@$(hostname))" "Weekly integrity check failed!" 8 |
