Restore a database to a moment
restore_databasePut a Postgres database back as it was at a given second (within list_backups' pitr span, the last week): everything after that moment is undone (a safety copy of now is taken first). Down for a few minutes. Confirm the moment and its timezone with the person first.
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": {
"id": "<id>",
"at": "<at>"
},
"name": "restore_database"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| at | Yes | The moment, ISO 8601 with a timezone, e.g. "2026-10-27T14:03:09Z" | |
| id | Yes | The database's service id, from list_services |