Skip to content

export

Export your Snippbot data as JSON. Useful for backups, migration, GDPR data-portability requests, or feeding your own tooling.

All three subcommands can either print the JSON to stdout or write to --output.

Terminal window
snippbot export conversations # Conversations + messages
snippbot export projects # Projects + phases + tasks
snippbot export all # Everything, as a directory of JSON files

Dump every conversation and its messages from snippbot.db.

Terminal window
snippbot export conversations # To stdout
snippbot export conversations -o conv.json # To a file

Output shape:

{
"conversations": [
{ "id": "c1", "title": "Project kickoff", ... }
],
"messages": [
{ "id": "m1", "conversation_id": "c1", "content": "" }
]
}

Dump every project, phase, and task from projects.db.

Terminal window
snippbot export projects # To stdout
snippbot export projects -o projects.json

Output shape: { "projects": [...], "phases": [...], "tasks": [...] }.


Write a bundle directory with one JSON file per data domain plus a metadata file.

Terminal window
snippbot export all # Creates ./snippbot-export/
snippbot export all -o ~/backups/2026-04-16

Bundle contents:

FileDescription
conversations.jsonConversations + messages
projects.jsonProjects + phases + tasks
meta.jsonExport timestamp + per-database schema versions

  • secrets export — encrypted backup of the secret store (separate file)
  • reset —restore — restore full installation from a timestamped backup (different format)