Backup health overview
get_backup_overviewCheck the health of all Duplicacy backups in one call, returning a status verdict for each snapshot, storage target, and machine to show whether backups are OK, running, stale, or failed.
Instructions
Health of every backup in one call. Each snapshot, storage target and machine gets a verdict: ok, running, stale (last success older than max_age_hours), never (no successful run) or failed (last exit code not 0), with a reason and the age of the last success. status is ok, attention or no_data. Use this to answer "are my backups OK?"; use get_backup_status for the details of one snapshot.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| machine | No | Only this machine, exactly as list_snapshots returns it in machines, for example "nas". Omit for all. | |
| snapshot_id | No | Duplicacy snapshot ID, exactly as list_snapshots returns it, for example "photos". | |
| max_age_hours | No | A backup whose last success is older than this many hours is stale. Default 26, which suits daily backups. | |
| storage_target | No | Only this storage target, exactly as list_snapshots returns it in storage_targets, for example "b2". Omit for all. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| counts | Yes | ||
| status | Yes | ok when every backup is ok or running, attention when any is stale, never ran or failed, no_data when the exporter reports no backups | |
| backups | Yes | ||
| summary | Yes | ||
| exporter | Yes | ||
| checked_at | Yes | When the overview was computed, RFC 3339 in UTC | |
| max_age_hours | Yes | A backup whose last success is older than this is stale |