Auto Backup Sensor and Events
Features
-
Adds
sensor.auto_backup
that will show :- If there is a backup in progress (note: currently only one backup can be running at a time).
- The number of backups being monitored for deletion.
- The number of backups that will be deleted upon the next purge.
-
Adds events (see the README for an example automation):
- Event:
auto_backup.snapshot_successful
, data:{"name": "NAME", "slug": "SLUG"}
- Event:
auto_backup.snapshot_failed
, data:{"name": "NAME", "error": "ERROR"}
- Event:
auto_backup.purged_snapshots
, data:{"snapshots": ["SLUG"]}
- Event:
Fixes
- Provide more specific error messages.
- Run the snapshot as a job instead of inside the service call.