Data Storage and Backups
Data Storage and Backups
Section titled “Data Storage and Backups”ThreadLens stores open-core application data in SQLite.
Docker storage
Section titled “Docker storage”Docker profiles store SQLite data in the named volume scout_open_core_sqlite_data. The API container sees the database at /data/scout.db.
Local API storage
Section titled “Local API storage”When running the Go API outside Docker, SCOUT_DB_PATH controls the SQLite path. If SCOUT_DB_PATH is empty, the API uses the default path from its configuration.
Backup notes
Section titled “Backup notes”- Stop write-heavy local activity before copying a SQLite database file.
- Back up the Docker volume before deleting it.
- Keep provider keys in
.env; do not put secrets into database backups shared for bug reports.