From 8ff8088f847341b7d4825b231b2d0ac6bebe0b85 Mon Sep 17 00:00:00 2001 From: jared Date: Thu, 7 May 2026 12:50:14 -0400 Subject: [PATCH] fix(backup): use plain restic unlock with || true instead of --remove-all --- scripts/backup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/backup.sh b/scripts/backup.sh index 067d6c5..a7de7ab 100755 --- a/scripts/backup.sh +++ b/scripts/backup.sh @@ -74,7 +74,7 @@ else fi # 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" echo "=== Backup complete $(date) ===" | tee -a "$LOG"