feat(backup): add scheduler alerts and recovery notifications
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user