Configure database backups
databases.backups.configureConfigure managed backups and scheduled snapshots for an authorized database.
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": {
"deployment_id": "<deployment_id>",
"enabled": "<enabled>"
},
"name": "databases.backups.configure"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| enabled | Yes | whether managed backups are enabled | |
| deployment_id | Yes | managed database deployment identifier | |
| retention_days | No | backup retention from 1 to 365 days | |
| organization_id | No | organization membership to use for this call; omit only when the account has one current membership | |
| snapshot_schedule | No | cron expression for scheduled snapshots | |
| snapshots_enabled | No | whether scheduled snapshots are enabled | |
| snapshot_retain_count | No | number of scheduled snapshots to retain |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deployment | Yes |