feat(backup): add scheduler alerts and recovery notifications

This commit is contained in:
William Valentin
2026-02-16 13:46:35 -08:00
parent ce621d1b72
commit 8684c3a07d
11 changed files with 349 additions and 72 deletions
+5
View File
@@ -583,6 +583,11 @@ backup:
schedule: "0 2 * * *" # Optional cron schedule (nightly 2 AM)
interval: "24h" # Fallback when schedule is not set
run_on_start: true # Also run once on daemon start
notify:
channel: telegram
peer: "123456789"
failure_threshold: 1 # Notify after this many consecutive failures
notify_recovery: true # Send a recovery message after failure clears
local_dir: ~/.local/share/flynn/backups
include_vectors: true
minio: