List Restic Snapshot Files
hestia_list_restic_filesLists files and directories inside a HestiaCP user's Restic backup snapshot, with optional snapshot ID and folder filters, to locate paths for restore or inspection.
Instructions
List files and directories inside a user Restic incremental backup snapshot via v-list-user-files-restic. Use when locating paths inside a known Restic snapshot; prefer hestia_list_restic_backups to discover snapshot IDs first or hestia_backup_archive_inspect (diagnostics) for classic .tar archives. Returns { ok, targetId, command, data (file listing) }.
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": {
"user": "<user>"
},
"name": "hestia_list_restic_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user | Yes | HestiaCP account username. | |
| folder | No | Optional subfolder path filter inside the snapshot. | |
| snapshot | No | Optional Restic snapshot ID (or "latest"). | |
| targetId | No | Configured target identifier (defaults to "default"). |