Operations
Data and backups
Contents of the persistent volume and a consistent backup procedure.
Contents of data/
data/
├── tradoc.db
├── tradoc.db-wal
├── tradoc.db-shm
├── provider_credentials.json
├── glossaries/
├── jobs/<id>/input/
├── jobs/<id>/output/
└── tmp/The -wal and -shm files may exist while SQLite is active. Do not copy only tradoc.db while the application is writing.
Recommended backup
- Pause active projects.
- Stop TraDoc or its container cleanly.
- Back up the entire
data/directory with its permissions. - Restart the application.
- Test restoration periodically in an isolated directory.
Data to protect
The volume can contain manuscripts, translations, glossaries and provider keys. Encrypt off-site backups and restrict their access.
Restoration
Restore a consistent version of the whole volume before starting TraDoc. Then check /health, the project list, a glossary and a known export.