backup_database
Create, list, restore, or configure SQLite database backups with automatic retention pruning.
Instructions
Create, list, or restore SQLite database backups.
Actions:
create— Create a new backup nowlist— List available backups with sizes and agesrestore— Restore from a specific backup fileconfigure— Set backup schedule (hourly/daily/weekly)
Backups are stored in ~/.prism/backups/ by default. Automatic retention pruning keeps only the configured maximum.
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": {
"action": "<action>"
},
"name": "backup_database"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Backup action to perform. | |
| schedule | No | Backup schedule (for 'configure' action). | |
| backup_path | No | Path to backup file (required for 'restore' action). | |
| max_backups | No | Maximum number of backups to retain (for 'configure' action). Default: 7. |