Syncing vaults across devices

Anthracite does not ship cloud sync yet (Anthracite Cloud is a future phase). Your vault is a plain folder on disk — you can copy or sync it yourself with iCloud Drive, Dropbox, Synology, git, or any file sync you already use. This page explains what travels well, what to exclude, and the rules that keep SQLite and watchers from corrupting your data.

What syncs well

Copy or sync the whole vault folder (or at least these paths):

Path Why
raw/ Immutable captured sources
wiki/ Processed knowledge pages
tasks/ Board task files
ANTHRACITE.md Policy spine
.anthracite/config.json LLM/OCR/connector settings
.anthracite/state.json Connector cursors, ingest token, webhook secret

Everything above is plain files. Anthracite on a second Mac can open the same folder and keep working.

Safe to exclude or let diverge

Path Why
.anthracite/index.db Full-text search index — rebuildable by processing again / reindexing on the new machine
Port numbers in .anthracite/state.json Machine-specific loopback ports

If index.db is missing after sync, the app rebuilds search as you process and query. You do not need to copy it between Macs.

Bring-your-own sync options

iCloud Drive, Dropbox, Google Drive, Synology, etc.

Git

Anthracite does not validate or merge conflicts from external sync. If two copies diverge, treat it like any shared folder: pick a winner or merge files manually before opening the vault.

Per-machine registry

~/.anthracite/state.json (in your home directory, not inside the vault) lists vaults this Mac has opened and which one was last active. It does not sync with iCloud or Dropbox — each Mac remembers its own vault list and paths.

After copying a vault to a new machine:

  1. Open Anthracite.
  2. Go to Settings → Vault → Add vault and point at the synced folder (or use Create vault in the new location if you prefer a fresh registry entry).

Hard rules

  1. Never run the same vault on two machines at once — SQLite index + folder watchers assume exclusive access.
  2. Quit Anthracite before switching devices when using cloud sync.
  3. Secrets stay local — API keys live in the macOS keychain per machine; you may need to re-enter credentials on a new Mac even if config.json synced.

Future: Anthracite Cloud

A later Anthracite Cloud release will add encrypted sync, conflict UI, and always-on remote webhooks. Until then, BYO file sync is the supported path for multi-device use.

See also Core concepts — vault layout and Troubleshooting.