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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"snapshot_id": "<snapshot_id>"
},
"name": "get_backup_history"
}
}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 |