Skip to Content
Commands

export

Write the stored rows into a new directory.

traj export writes the stored rows into a new directory. The export is a lossless dump, and JSONL stays the only importable format (ADR 0017, ADR 0028).

  • --format <string> — the file format to write: jsonl, csv or md
  • --out <string> — a directory to create; it must not already exist; required
traj export --out backup                        # Write the canonical JSONL dump.
traj export --format jsonl --out backup --json  # Describe what was written, per table.

See Commands for the global options, exit codes and error envelope.