Restore a backup
restore_backupOVERWRITES THE SERVER'S WHOLE DISK with a backup. Everything written since that backup is lost and the server is offline while it restores. Ask the person before calling this. confirm must repeat the server id. Needs a key with vm:destroy. The account owner is emailed.
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": {
"server_id": "<server_id>",
"backup_id": "<backup_id>",
"confirm": "<confirm>"
},
"name": "restore_backup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | Yes | Repeat the server id | |
| backup_id | Yes | From list_backups | |
| server_id | Yes | ||
| request_id | No | An id you choose for this one action, 8 to 64 characters. Send the same id again when retrying, so nothing is done twice. Use a new id for a new action. |