Skip to content

Document syncing an existing local DB graph with the CLI - #145

Open
arudaev wants to merge 1 commit into
logseq:masterfrom
arudaev:docs/sync-existing-graph-cli
Open

arudaev wants to merge 1 commit into
logseq:masterfrom
arudaev:docs/sync-existing-graph-cli

Conversation

@arudaev

@arudaev arudaev commented Nov 3, 2026

Copy link
Copy Markdown

Problem: The Sync section only covers creating a new synced graph. I wanted to sync a graph I already had, and Desktop 2.0.2 has no menu item for that.

Answer: The bundled CLI can do it:

logseq sync upload --graph NAME --e2ee-password ...   # prints the graph-id
logseq sync start  --graph NAME --e2ee-password ...   # keeps it in sync

The password is the one from Settings > Encryption. Without it, the upload fails with missing-e2ee-password.

Change: I added these two commands to the Sync section, plus a one-line tip for keeping the password out of shell history.

Tested with Desktop 2.0.2 (533ac43) on Windows 11 against the official Sync server.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant