Backup Database
localnest_backupCreate a point-in-time backup of the memory database as a compacted, integrity-checked SQLite file. Optionally specify a destination path; defaults to a timestamped file.
Instructions
Create a point-in-time backup of the LocalNest memory database using SQLite VACUUM INTO. The backup is a clean, compacted SQLite file verified with PRAGMA integrity_check. If destination is omitted, the backup is written to {memoryDbDir}/backups/{timestamp}.db.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| destination | No | Absolute or relative path for the backup file. Defaults to {memoryDbDir}/backups/{timestamp}.db | |
| response_format | No | json |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| meta | Yes |