db_restore
Restore databases from backup files in the Berth MCP server. Use admin mode and confirmation tokens to perform this controlled operation with sandboxed paths.
Instructions
Restore a database from a backup file.
Requires admin mode and a confirmation token (destructive operation). Paths are sandboxed to BERTH_BACKUP_DIR (default: cwd).
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": {
"connection_id": "<connection_id>",
"input_path": "<input_path>"
},
"name": "db_restore"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| connection_id | Yes | ||
| input_path | Yes | ||
| confirmation_token | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |