Page:
Data and Migrations
Pages
Architecture
Backups and Restore
Build and Test
Character Sheet
Codex and Mentions
Container Builds
Contributing
Data and Migrations
Developer Home
Dice Roller
FAQ and Troubleshooting
Getting Started
Graph and Relationships
Home
Images
Languages and Scripts
Local Assistant
Localization Workflow
Party
Privacy and Data
QA Scenarios
Release Process
Repository Map
Rules Wiki and SRD
Search and Summary
Session Journal
Sharing with a Server
Sync Client
Updates
No results
1
Data and Migrations
Joël Jon Moix edited this page 2026-10-27 11:27:07 +01:00
Table of Contents
Data and migrations
- Location: the OS app-data folder for the legacy identifier
it.nodex.desktop(kept so existing archives open). Before the first restore the database isnodex.sqlite3in that folder; afterwardsactive-profile.jsonselectsprofiles/<UUID>/. Never move the database alone. - Migrations:
src-tauri/migrations/NNN_name.sql, applied once, in a transaction. A migration must never destroy data without a recovery path. Bump the schema only with a migration and update backup validation. - Keys: UUIDs everywhere; titles are data, never keys.
- Revisions: documents carry a revision; a save based on an old revision is refused ("changed elsewhere").
- Backups (
.nodex): ZIP with a v1 manifest and a SHA-256 per file, a SQLite snapshot, managed attachments and imported sources. Restores verify everything, write a safety copy first and switch to a new profile generation. Older schemas restore and migrate in the copy. - Debug profiles: debug builds honour
NODEX_DEV_DATA_DIRandNODEX_DEV_DOCUMENTS_DIR(absolute, new folders). Never point them at personal data. - Outside the archive: interface and wiki preferences (JSON next to the profiles), the
sharing session (
sync-account.json), AI weights and runtime. None enter Git.
Details: docs/DECISIONS.md, docs/STATUS.md, src-tauri/src/backup.rs.
Using Chronexus
- Getting started
- Session journal
- Codex and mentions
- Graph and relationships
- Character sheet
- Party
- Dice roller
- Search and summary
- Rules wiki and SRD
- Images
- Local assistant
- Languages and scripts
- Backups and restore
- Updates
- Sharing with a server
- Privacy and data
- FAQ and troubleshooting
For developers