Storage usage
get_storage_usageRetrieve byte size, chunk count, and retained revision counts per storage target, machine, or snapshot ID to monitor Duplicacy backup usage and capacity.
Instructions
Size in bytes and chunk count of each storage, and how many revisions each snapshot keeps, as the exporter's storage poller last saw them. Empty, with a note, when the poller is off.
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". | |
| 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 |
|---|---|---|---|
| note | No | ||
| storages | Yes | ||
| snapshots | Yes | ||
| poller_errors_total | Yes | Poller errors since the exporter started | |
| poller_last_success | No | Time of the poller's last fully successful cycle, RFC 3339 in UTC |