Skip to content

Backup & Restore

Everything lives in two places:

  • SQLite database at DATABASE_PATH
  • Template files under backend/data/templates/ (for manifest-installed templates)
  1. Stop the app (to flush writes):
Terminal window
# Docker Compose
docker compose down
  1. Copy files:
Terminal window
cp /path/to/volumes/app-data/invio.db ./backup/
cp -r /path/to/volumes/app-templates/ ./backup/templates/
  1. Stop the app.
  2. Replace the DB file and templates folder with your backup copies.
  3. Start the app.
Terminal window
docker compose up -d
  • Automate backups on a schedule (daily or weekly) and test a restore.
  • Keep backups off the host for safety (object storage or another volume).
  • If you don’t use manifest-installed templates, only the DB file matters.