Synopsis
Description
backup creates and restores snapshots of profClaw’s persistent data. A backup includes the SQLite database, configuration files, skills directory, and optionally the memory index. Backups are stored as compressed archives and can be restored to the same or a different machine.
Subcommands
| Subcommand | Description |
|---|---|
create | Create a new backup |
list | List available backups |
restore <file> | Restore from a backup file |
delete <file> | Delete a backup file |
schedule | Configure automatic backup schedule |
backup create
Directory or file path for the backup archive. Defaults to
~/.profclaw/backups/profclaw-YYYY-MM-DD.tar.gz.Exclude the memory index from the backup (reduces size significantly).
Exclude configuration files (back up data only).
Output backup result as JSON.
backup restore <file>
Path to the backup archive to restore.
List what would be restored without making changes.
Skip the confirmation prompt.
backup schedule
Schedule interval:
daily, weekly, or a cron expression.Number of backups to retain. Older backups are automatically deleted.
Examples
What is Backed Up
| Component | Included by default |
|---|---|
SQLite database (data/profclaw.db) | Yes |
Configuration (config/) | Yes |
Skills (skills/) | Yes |
.env file | No (contains secrets) |
| Memory index | Yes (use --no-memory to skip) |
| Log files | No |
Related
profclaw reset- Reset configuration without backupprofclaw status- Verify system health after restore- Docker Deployment - Persistent volume backup strategies