urbackup_restore_files
Restore selected files or directories from a specific backup to an online client, with an optional glob filter and confirmation required before execution.
Instructions
Restore files from a backup to the client (client must be online).
Args: client_id: Client ID. backup_id: Backup ID to restore from. path: Path of the file or directory inside the backup to restore. file_filter: Optional glob filter for files (e.g. "*.docx"). confirm: Must be true to actually perform the restore.
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": {
"client_id": "<client_id>",
"backup_id": "<backup_id>",
"path": "<path>"
},
"name": "urbackup_restore_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| confirm | No | ||
| backup_id | Yes | ||
| client_id | Yes | ||
| file_filter | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||