xo_restore_backup
Restore a virtual machine from an XO backup, optionally targeting a specific storage repository or gateway, to recover workloads after data loss or failure.
Instructions
Restore a VM from an XO backup.
Write operation — recorded in the audit log.
Args: backup_id: Backup ID to restore. target_sr: Target storage repository UUID (optional). gateway_id: Target gateway (optional).
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": {
"backup_id": "<backup_id>"
},
"name": "xo_restore_backup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| backup_id | Yes | ||
| target_sr | No | ||
| gateway_id | No |