Skip to content

Export and Backup

VoodooLikesCoding edited this page Nov 9, 2025 · 3 revisions

The backend can produce a tar.gz archive containing:

  • The SQLite database (if included)
  • A JSON dump of settings, customers, invoices, item taxes, and templates
  • Installed template assets under data/templates/

Endpoint

GET /api/v1/export/full?includeDb=true&includeJson=true&includeAssets=true

Authentication: Requires Authorization: Bearer <token> header (obtain token from /api/v1/auth/login).

Frontend: The admin UI provides an export form in Settings that handles authentication automatically.

Notes

  • The archive is generated in a temporary directory and cleaned up after download.
  • File name format: invio-export-YYYYMMDD-HHMMSS.tar.gz.
  • If you run via Docker Compose, persistence is already handled by the invio_data volume, but exports are great for off‑site backups.

Clone this wiki locally