Syncing Logseq DB

Would it also be possible to incorporate a solution that would allow data to be synchronised via WebDAV? See, for example, the solution from Joplin, which is also open source and based on SQLite.

1 Like

I’m happy to say that we have some progress from the devs :partying_face:

1 Like

Does this mean it will eventually be possible to sync a LogseqDB graph (using Cloudfare, GitHub, or my own server) without needing to have a paid Pro account?

If so, what would be the advantage of paying for Pro? (besides supporting the project - though that can be done via donations)

Yes, thats exactly it, you will be able to sync your graphs by yourself without paying for the subscription

The advantage of paying for Pro is not having to worry about setting up a server to self host the sync service. Most people dont have the technical how, and even if they do, if anything goes wrong, you dont have any recourse whatsoever since you only have yourself to blame

1 Like

Would it be possible to sync without using the internet, via a local network? How?

Or will this depend on someone developing an app or plugin that can do that?

Yes, by running the sync server within your network. The implementation details will be shared as things progress.

7 Likes

Someone mentioned Devonthink and it’s a good example of how this could potentially be resolved. In that case the server is simply built into the desktop app. Turning it on is done through the UI - there’s no setting up or technical knowledge required. This allows local peer-to-peer syncing as the clients (another computer or mobile client) and be set up (again through the UI) to find and connect directly.

2 Likes

DevonThink does sync two ways:

  1. over Bonjour - both systems have to be on the same local network. One of the systems is designated the server and all others connect and sync to that system. Fastest and most reliable in my experience, but not usable for two systems that are never on the same network i.e. two desktops in different offices.
  2. Dropbox/iCloud - uses a sync folder to keep all connected systems synced regardless of location. The DB/iCloud sync folder is NOT a copy of the databases but a record of all the changes and updates. This distinction is often lost on many new users. None of the other cloud storage services (GDrive, OneDrive, Box, etc) are supported. DT is Mac only anyway.
1 Like

I just made a Pull Request on this. I really hope this helps. Github PR: #12919

2 Likes

Do I understand correctly? This would mean that we could download the app and then just sync locally by scanning a QR code á la Syncthing :thinking:. If so that’s pretty epic. I didn’t even know that was possible.

Does it sync files as well (I cannot seem to get away from people sending me PDFs as much as I’d like to :man_facepalming:t4:)

1 Like