DocsMaintenanceUniversal Data Export & Backups
Master Docs Hub Index
Maintenance • Backups

Universal Data Export & Automated CLI Backups

Nuncio empowers you to perform full backups or exports of all your emails, accounts, folders, or NSQL result sets into standard portable open formats without vendor lock-in.

1. Headless CLI Automated Backup Commands

Run automated periodic backup scripts via POSIX shell scripts, systemd timers, or cron jobs using `nuncio mail export`:

# Export full account inbox to standard RFC 4155 MBOX format
nuncio mail export --account "james.maes@kof22.com" --format mbox --output ~/backups/inbox.mbox

# Export specific folder to compressed EML ZIP archive with manifest.json
nuncio mail export --folder "Archive" --format eml-zip --output ~/backups/archive.zip

# Export NSQL filter query results to line-delimited JSONL for LLM data pipelines
nuncio mail export --query "sender LIKE '%@kof22.com%'" --format jsonl --output ~/backups/kof22_vip.jsonl

2. Supported Portable Export Formats

MBOX (`.mbox`)

Standard RFC 4155 mailbox format compatible with Thunderbird, Apple Mail, and Python `mailbox` module.

EML ZIP Archive (`.zip`)

Compressed archive containing raw `.eml` MIME message files and `manifest.json` metadata index.

JSON (`.json`) & JSONL (`.jsonl`)

Structured payload streams tailored for LLM fine-tuning, vector embeddings, and custom analytics.