Back up a database
backup_databaseStarts a backup of a database declared in while.yaml, and a test restore on a throwaway database that proves it.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "backup_database"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wait | No | Wait for the backup (and its restore test) to receive its id and its result. | |
| project | No | The project. | |
| database | No | Database name; the first declared by default. | |
| environment | No | Production or a preview. | production |
| test_restore | No | Restore it to a throwaway database, to prove it. |