fix(backup): use plain restic unlock with || true instead of --remove-all

This commit is contained in:
jared 2026-05-07 12:50:14 -04:00
parent 0ac58a3cb9
commit 8ff8088f84
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ else
fi fi
# B2: clear any stale lock before attempting (safe no-op if no lock exists) # B2: clear any stale lock before attempting (safe no-op if no lock exists)
restic -r "b2:${B2_BUCKET}:" unlock --remove-all 2>&1 | tee -a "$LOG" restic -r "b2:${B2_BUCKET}:" unlock 2>&1 | tee -a "$LOG" || true
run_and_notify "b2:${B2_BUCKET}:" "Backblaze B2" "desktop" "backblaze-b2" run_and_notify "b2:${B2_BUCKET}:" "Backblaze B2" "desktop" "backblaze-b2"
echo "=== Backup complete $(date) ===" | tee -a "$LOG" echo "=== Backup complete $(date) ===" | tee -a "$LOG"