Restore Backup to a Different Service
nexusai_db_restore_toRestore a database backup into a different deployment service in the same org. Use to seed a new deployment from a snapshot of an old one. Both services must use the same engine (postgres-to-postgres only). Existing data on the target is overwritten.
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": {
"targetServiceId": "<targetServiceId>",
"backupId": "<backupId>"
},
"name": "nexusai_db_restore_to"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| backupId | Yes | Backup ID to restore from. Backup must belong to a service in the same org. | |
| targetServiceId | Yes | DeploymentService ID to restore INTO. |