knowledge_backup
Snapshot the Cortex knowledge store to a consistent SQLite file for offline restore, then verify its integrity; existing files are not overwritten.
Instructions
Snapshot the store to a consistent SQLite file (VACUUM INTO, safe under WAL) and report its integrity. Refuses to overwrite an existing file. Restore is done offline via 'cli restore ' while the server is stopped.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target_path | No | Absolute target path; defaults to <CORTEX_DB_DIR>/backups/cortex-backup-<timestamp>.sqlite |