The data directory

ALMA_DATA_DIR (default ~/.alma; set it, typically to ~/.mandala). The Mac app uses ~/Library/Application Support/Mandala/data. Keep it on a local SSD, owned by Mandala's user, mode 700.

PathWhat
dharma/The DHL engine: every record, its history, projections, the engine's own configuration (api.json) and installed artifacts
master.keyEncrypts stored credentials. Secret.
account/Your account and sessions (sessions.json)
updates/Staged releases and the result of the last self-update
contracts/Contracts installed from the Workbench; contracts/archived/ holds replaced versions
vaults/<name>/Vaults created from Knowledge (each with vault.json), and vaults/docs/, the Docs vault
vault-sync/Vault sync state (one CRDT document per file, outside the vault)
comms/index.dbThe Communications thread index (a cache, rebuilt if lost)
telegram.db, telegram/, telegram-accounts/<id>/Telegram sessions and stored messages
whatsapp/WhatsApp sessions and stored messages
push/The Web Push key; apns.p8 if Apple push is set
code/Coding sessions: worktrees' turn directories, agent output
releases/The Mac app's update channel (releases published to this node)
mandala.envThe environment file, by convention (the service reads it via EnvironmentFile=)
bin/, web/, web.prev/The installed binary and web app, by convention of ship.sh

Your own Goethe vaults may live elsewhere (ALMA_GOETHE_JULIEN_ROOT, ALMA_GOETHE_AGENT_ROOTS). Back them up too.

Do not edit files under dharma/ by hand.