Synchronization Strategies#
- Use iCloud Sync
You can use iCloud Drive on all operating systems except Android and Linux. If you are sure that you will not use Obsidian on Android or Linux, then using iCloud Sync would be an excellent synchronization solution.
- Use Official Obsidian Sync
$10 per month.
- Use Self-hosted LiveSync Plugin for Syncing
- Use Obsidian-Git Plugin for Syncing
- Use Remotely Save Plugin for Syncing
The author has not updated Remotely Save for a long time, and it has quite a few bugs now, so it is not recommended for use at the moment.
Steps#
-
Install the Self-hosted LiveSync plugin. In Settings -> Community Plugins -> Community Plugins -> Browse, search for "LiveSync" and find the Self-hosted LiveSync plugin to install and activate it.
-
Set up a CouchDB server. You can set it up in the following ways:
- Set up CouchDB using Docker.
- Set up CouchDB for free using fly.io. fly.io offers a certain amount of free credits, thanks to their generosity, so you can set up a CouchDB server at zero cost. However, you will need a credit card or debit card (Depay can also be used for card binding) that supports MasterCard or VISA.
You can refer to the related tutorial Fly.io for self hosting CouchDB · vrtmrz/obsidian-livesync · Discussion #85 (github.com).
-
Configure the parameters of the LiveSync plugin. Open Settings -> Community plugins -> Self-hosted LiveSync, and enter the settings of the Self-hosted LiveSync plugin. Click on the 🛰 icon.
-
Enter the
URI
,Username
,Password
, andDatabase name
of CouchDB in order. TheDatabase name
can be any lowercase word.
Please pay special attention: You need to ensure that all devices being synced use the exact same database name.
-
Scroll down to find
Check database configuration
and click the Check button, then click all the Fix buttons one by one. -
Find
Test Database Connection
and click the Test button. If successful, it will displayConnected to <database_name>
in the upper right corner.<database_name>
is the database name you set yourself.
-
-
In the settings page of the Self-hosted LiveSync plugin, click the 🔁 button to enter the Sync settings.
Activate the LiveSync toggle.
-
If you want to sync installed plugins as well: Click the 🔌 button on the settings page of the Self-hosted LiveSync plugin to enter the Plugins settings.
Turn on the
Enable plugin synchronization
toggle, and give a name to your device and Vault inDevice and Vault name
. -
Congratulations! Now go ahead and see if your notes will be synced between different devices.