MeridianDocsSign in
Operate

Backups & upgrades

What to back up, how to upgrade safely, and how to check integrity.

What to back up

Everything lives in the data directory (MERIDIAN_DATA_DIR, /var/lib/meridian in Docker):

PathContents
meridian.db (+ -wal, -shm)The SQLite database: workspace, users, roadmap, policies, conversations, ledger
evidence/Uploaded evidence files
brand/Uploaded logos
shadow/Shadow's persona, encrypted vault and key. Keep these together and private
secret.keyEncrypts code-connection tokens. Without it, connections must be re-made

Take a consistent copy of the database while it runs:

shell
sqlite3 data/meridian.db ".backup data/backup-$(date +%F).db"

Upgrade

Pull the latest code and run ./meridian up locally, or meridian deploy <remote> on a server. The database schema is created and migrated automatically on start, and your data volume is preserved.

Integrity

Activity → Verify chain (or GET /api/activity/verify) recomputes the ledger's hash chain. Evidence fingerprints can be rechecked with shasum -a 256 against the values shown in the app.