[lotus-land-story] add healthcheck to restic backup cron
change mouvzpynskmlpswyyvlmvpmtymplxynk
commit 81c19ce8daad82c70ca1b5346b9b497160e490f3
author Alpha Chen <alpha@kejadlen.dev>
date
parent yuoxwzvk
diff --git a/lotus-land-story/templates/backup.sh b/lotus-land-story/templates/backup.sh
index deda03c..4afe25e 100644
--- a/lotus-land-story/templates/backup.sh
+++ b/lotus-land-story/templates/backup.sh
@@ -20,3 +20,12 @@ restic --verbose forget \
   --keep-within-weekly 1y \
   --keep-within-monthly 100y \
   --prune
+
+curl \
+  --fail \
+  --silent \
+  --show-error \
+  --max-time 10 \
+  --retry 5 \
+  --output /dev/null \
+  https://hc-ping.com/459ab86c-7845-404a-a00f-ea1cfb99f788