Last backup run
get_backup_historyRetrieve the completed backup run retained for a Duplicacy snapshot, including duration, file and upload counts, chunks, revision, and exit code to monitor backup health.
Instructions
Details of the last completed run of one Duplicacy snapshot: duration in seconds, files total and new, bytes uploaded and new, new chunks, revision, exit_code (0 = success, null = unknown). The exporter keeps only the last run, so this is not a list of past runs. Get valid IDs from list_snapshots.
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 | Yes | Duplicacy snapshot ID, exactly as list_snapshots returns it, for example "photos". | |
| 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 |
|---|---|---|---|
| count | Yes | ||
| backups | Yes |