Restore a backup
restore_backupReplaces a hosted Minecraft server's current files with a selected backup; changes made since that backup are lost. Create a backup first if current data must be preserved.
Instructions
DESTRUCTIVE: replaces the server's current files with the backup; changes since the backup are lost. Consider create_backup first. If list_backups shows a restore fee, set accept_restore_fee only after the user agrees to pay it.
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": "<backup>"
},
"name": "restore_backup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| backup | Yes | Backup UUID (or numeric ID) from list_backups. | |
| server | No | Server identifier or UUID. Omit to use the configured server (PEBBLEHOST_SERVER_ID); other servers are refused unless PEBBLEHOST_ALLOW_ALL_SERVERS is set. | |
| accept_restore_fee | No | Must be true to restore a backup that has a restore fee. |