aboutsummaryrefslogtreecommitdiff
path: root/restic_check.sh
diff options
context:
space:
mode:
authorSam Scholten2025-10-27 07:34:47 +1000
committerSam Scholten2025-10-27 07:34:47 +1000
commit13ef7419d5ef87162a731f9a6110dc8d3c2dfbd9 (patch)
treeea1b1c5ffbae9adba51a276e1a4ba7b70c787b34 /restic_check.sh
parent0af934099f5b9af34b9fad53ce1100c723db8bb9 (diff)
downloaddrestic-13ef7419d5ef87162a731f9a6110dc8d3c2dfbd9.tar.gz
drestic-13ef7419d5ef87162a731f9a6110dc8d3c2dfbd9.zip
Release v1.4.0: VPS-optimized integrity checks and critical bugfixesv1.4.0
- Fix: Remove invalid --retry-lock flag from restic check (was failing all weekly checks) - Improve: Switch to metadata-only weekly checks (VPS-friendly, ~50MB vs 500MB+ RAM) - Add: Comprehensive manual check documentation with resource guidelines - Add: Multi-machine check strategy for resource-constrained environments - Improve: Brutalist README - concise and action-oriented
Diffstat (limited to 'restic_check.sh')
-rwxr-xr-xrestic_check.sh4
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