backup_database
Manage SQLite database backups: create, list, restore, and configure automatic scheduling with retention limits.
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.
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. |