Offline Obsidian Sync

How to Sync Obsidian Across Devices Safely

Choose an Obsidian sync method that fits your devices, then connect one authoritative vault safely. Learn how to handle offline edits, settings, conflicts, and backups.

How to Sync Obsidian Across Devices Safely

What does it mean to sync an Obsidian vault while offline?

An Obsidian vault is a folder of local files containing notes and related content. Obsidian can open and edit those files without a network connection. A sync method transfers local changes to other devices later, once it can reach those devices or a shared service.

That distinction affects which method to choose. With direct device-to-device sync, a receiving peer must reconnect before it can get changes. With a service or server between devices, each device can exchange changes with that service when it reconnects, even if the other device is offline.

Start by matching the method to your devices and how you want them to connect. Then identify the authoritative vault, decide how to handle settings, and prepare for conflicts and accidental deletion. A synchronized copy is useful, but it is not an independent backup.

Which sync method fits my devices?

Use this comparison to narrow your choices. It reflects platform fit, not a ranking of speed or reliability.

Obsidian sync options by device combination
Device combinationOptions to considerHow changes travelMain limitation
Windows, macOS, or Linux to another desktopSyncthing for local-first device sync; Obsidian Sync for a hosted optionSyncthing transfers between devices. Obsidian Sync uses its sync service.Syncthing needs participating devices to connect; Obsidian Sync depends on its service.
Desktop to AndroidSyncthing with Syncthing-Fork, or Obsidian SyncSyncthing transfers between devices. Obsidian Sync uses its service.Syncthing-Fork requires configuration; check Android background behavior.
macOS, iPhone, or iPadObsidian Sync or iCloudBoth use a remote service.iCloud Drive on Windows may cause file duplication or corruption.
Windows with iPhone or iPadObsidian SyncChanges pass through the Obsidian Sync service.Syncthing is not a straightforward iOS option; iCloud Drive on Windows carries file risks.
Supported devices using LiveSyncCouchDB mode for server-mediated sync, or WebRTC for peer-to-peer syncCouchDB mode uses a server. WebRTC connects peers and may use a relay.LiveSync needs plugin setup and should not run alongside another sync method on the same vault.

Obsidian Sync supports Windows, macOS, Linux, iOS, and Android. Syncthing is a local-first option for desktop combinations; for Android, Obsidian’s guidance points to Syncthing-Fork rather than the unmaintained official Android app. Obsidian recommends iCloud for macOS, iOS, and iPadOS, and cautions that iCloud Drive on Windows may lead to duplication or corruption. Google Drive is not officially supported for Obsidian vault sync on iOS. On other devices, make files available offline so they are not offloaded while you need them.

Choose Syncthing or LiveSync WebRTC if direct transfer and local-first operation suit your setup. In both cases, a peer must be reachable for a transfer. Choose Obsidian Sync or LiveSync with CouchDB if you want devices to exchange changes through a service or server at different times. Factor service availability, server maintenance, and privacy into that choice.

How do Syncthing and LiveSync work when devices are offline?

Syncthing transfers files between participating devices and does not provide an always-available remote vault of its own. Each device keeps its local files and edits while offline. Another device receives those changes after the devices can connect.

LiveSync has two distinct modes. Consider the difference before choosing a setup:

  • CouchDB mode: Devices synchronize through a CouchDB server that you configure. The server stores synchronized data, and each device can exchange changes with it when that device and the server are reachable. The devices do not have to be online together. You are responsible for the server’s availability, access controls, storage, and backup.
  • WebRTC mode: Peers transfer vault contents directly when they can connect. A signalling service helps them discover or establish a connection. If a direct connection is unavailable, a TURN server may relay encrypted traffic between the peers. A signalling service or TURN relay is not a persistent vault store unless the particular setup is designed to store a copy there. Both peers still need to be available for a transfer.

Review the relay and plugin configuration you plan to use. A relay may expose connection metadata, and its availability or log-retention practices may depend on the operator. Mobile background limits can also affect when a peer is reachable.

Do not enable LiveSync alongside Obsidian Sync, iCloud, or another sync method on the same vault. Multiple systems acting on the same files can create confusing results and conflicts.

How should I set up a vault to avoid sync problems?

For every method, first back up the vaults, identify which copy has the notes you intend to keep, and avoid editing multiple copies until the initial transfer is confirmed. If existing copies may contain unique work, preserve each one and reconcile them before connecting them. Then follow the setup path for your method:

Obsidian Sync

  1. On the device with the complete, intended vault, make a separate backup and select that vault as the source for your remote vault.
  2. Let the source finish uploading. Check that the remote vault is the one you meant to create and that its files match the source.
  3. On the second device, choose the option to download or open that existing remote vault. Do not create a separate blank remote vault or select a different local vault as the source.
  4. Wait for the initial download to finish. Confirm that the expected folders and notes are present before editing on both devices.

iCloud

  1. On the Apple device with the authoritative vault, move or create the vault in the intended iCloud Drive location. Back it up first if it already contains notes.
  2. Wait for iCloud to upload the vault. Check that the files are available in iCloud Drive before connecting another device.
  3. On the second Apple device, open the same iCloud-stored vault; do not create another vault with the same name in a local Obsidian folder.
  4. Wait for the contents to finish downloading. Check the folder path and expected notes before making edits on both devices.

Syncthing

  1. On the device with the authoritative vault, back it up and share the actual vault folder. Confirm its full path in Syncthing.
  2. For a controlled initial copy, set the source folder to Send Only and the second device’s matching folder to Receive Only. On the second device, accept the share into an empty destination folder, not a separate vault that contains notes you want to keep.
  3. Wait for the initial transfer, then compare the destination with the source and check for missing files or unexpected conflict copies.
  4. When the second device has the intended baseline, change both folders to Send & Receive for two-way sync. Confirm the folder paths again before editing on both devices.

LiveSync

  1. Choose WebRTC or CouchDB, make a separate backup, and select the complete vault as the initial source. Disable any other sync method for that vault.
  2. For CouchDB, configure the server and initialize its remote database from the authoritative vault. For WebRTC, keep the authoritative device awake with Obsidian open while the initial transfer takes place.
  3. On the second device, configure the same LiveSync destination and connect to the existing remote data. Do not initialize a separate empty database or push a blank local vault over the intended copy.
  4. Wait for the initial sync and check the resulting files against the source before making changes on both devices.

Use the verification checklist below before trusting any setup. If a method’s interface uses different labels, the key decision is the same: identify the source, connect the second device to that source, and confirm the baseline before allowing changes in both directions.

Should I sync Obsidian settings between devices?

The .obsidian folder contains vault settings, plugins, and workspace information. Decide whether you want one shared configuration, separate configurations, or a shared base with a few device-specific files excluded.

  • Sync the whole folder when you want the same plugins and vault settings on every device and those settings work across platforms. Check that each plugin is available and behaves as expected on every device.
  • Exclude the whole folder when each device needs its own configuration or you prefer to set up plugins and preferences separately. The notes will sync, but settings will not.
  • Exclude selected files when most settings should match but some should remain device-specific. Workspace or layout state is a common candidate; other configuration files may control appearance, hotkeys, core plugins, or community plugins. Choose exclusions based on the settings you actually want to vary, not by excluding files at random.

Apply the same intended rule on every device and in the chosen sync method. Obsidian Sync lets you choose which configuration to sync on each device. Syncthing supports ignore rules, which you should check on each peer so a local-only file is not unintentionally sent or removed. iCloud syncs the folder as a whole, so selective file rules may not be practical there. For LiveSync, use its configuration and exclusion options consistently across clients.

Before changing the rule, back up the vault. Test with a harmless settings change, then confirm it appears where expected and that platform-specific settings remain intact. If devices unexpectedly overwrite each other’s configuration, recheck which files each one includes.

What should I do when a sync conflict file appears?

Conflict behavior depends on the sync method. Before replacing or deleting a file, preserve both versions and check the method’s conflict or version-history tools. Do not assume every app creates the same conflict filename or follows the same recovery process.

Syncthing-specific conflict recovery

When Syncthing detects different contents after simultaneous edits, it may create a renamed conflict copy. A typical filename follows this pattern: <filename>.sync-conflict-<date>-<time>-<modifiedBy>.<ext>. Syncthing treats that copy as a normal file and can propagate it to other devices; it does not merge the note’s text for you.

  1. Keep the original and conflict copy. If practical, copy both outside the synchronized folder before editing.
  2. Compare their contents and identify unique paragraphs, links, attachments, or other material.
  3. Reconcile the useful content in the chosen note. Confirm the final version appears on the intended devices.
  4. Remove the extra copy only after checking that no unique content remains and that your backup is intact.

Syncthing chooses which copy to rename based on modification time; if timestamps match, the device ID determines which is renamed. That does not identify the more complete version. Paths that differ only in capitalization can also cause unpredictable outcomes on systems such as Windows and macOS, so use consistent filename capitalization.

For Obsidian Sync, iCloud, or LiveSync, check the app’s conflict notifications, version history, or recovery tools. Preserve the current vault and any alternate version before replacing a note, then verify the result on other devices.

How do I protect my vault with a real backup?

Synchronization can spread unwanted edits and deletions to every connected copy. Keep backups outside the active sync system and on storage that remains available if a device is lost or synced files are damaged.

  • Use a simple schedule. For an actively edited vault, make a backup before changing sync methods or configuration and keep a dated backup at least weekly. Retain several dated weekly versions, such as the latest four. If you edit important notes more often, increase the backup frequency to match how much work you can afford to lose.
  • Store copies separately. Use another device or storage location, not just another folder on the same device. Do not let the active sync method manage the backup.
  • Test a restore. Copy a dated backup to a temporary location or spare device, open it in Obsidian, and check that notes and important attachments are present. Never test by overwriting your live vault.
  • Treat built-in recovery as an extra safeguard. Obsidian File Recovery can help recover earlier versions of notes, but it is limited and does not replace a separate backup.
  • Know Syncthing versioning’s limits. Versioning can archive files replaced or deleted because of changes received from another device, but it does not archive changes made locally on the same device. It is off by default and is not a complete backup.

Before a sync change, check the backup date and confirm that the copy contains the expected files. Repeat the restore test after changing your backup process.

What network access and security does Syncthing need?

Syncthing uses TLS for device-to-device traffic and authenticates devices using certificate fingerprints. The ports below are defaults, not a checklist of ports every user must manually open or forward.

  • TCP 22000: default Syncthing sync protocol traffic.
  • UDP 22000: default QUIC traffic.
  • UDP 21027: default local discovery.
  • Web GUI: the local management interface commonly listens on 127.0.0.1:8384, so it is accessible only from the same machine by default.

Many setups work without manual firewall or router changes. If devices cannot connect, first confirm Syncthing is running, the folder is shared with the right device, and local firewall rules are not blocking traffic. Consider router or firewall changes only when troubleshooting shows they are needed. Sync ports carry device traffic, not access to the web GUI.

Do not expose the web GUI publicly. If you deliberately make it accessible from another network, secure it with a password and HTTPS, and restrict who can reach it. Opening sync ports does not secure the management interface.

How can I confirm the setup works before trusting it?

Run this checklist before putting important work into the synchronized vault:

  1. Create a temporary note on device A and confirm it appears on device B.
  2. Edit the note on device B and confirm the change returns to device A.
  3. Disconnect device B, make a harmless change on device A, reconnect B, and confirm the change arrives. Direct device-to-device methods need the peers to reconnect; service-based methods need the device to reach their service or server.
  4. Check for duplicate notes or conflict copies, and confirm .obsidian is included or excluded as intended.
  5. Restore a dated backup to a temporary location and open it in Obsidian. Keep the restored copy separate from the live vault.

Trust the setup only after the two-way test succeeds, settings behave as intended, and the independent backup opens successfully.

Frequently asked questions

Can I move an existing Obsidian vault to a new device?

Yes. Back up the source, connect the new device to the existing synced vault, and avoid selecting a blank or unrelated local vault as the source. Use the checklist above to confirm the transfer before editing on both devices.

Why has a note not appeared on another device?

Check that the sync method is running and points to the intended vault. A direct method needs the other peer to be reachable; a server-based method needs the client to connect to its service or server. Then check the app’s status and folder configuration.

Will a deleted note return when an offline device reconnects?

Not necessarily. Sync may propagate the deletion. Check your independent backup and any available version history before assuming a synchronized copy can restore the note.

Can I sync a vault between personal and work-managed devices?

Check your workplace’s device and data policies first. If the setup is permitted, choose a method that supports both platforms and test it with a disposable note before adding sensitive or important material.

Was this useful?
No ratings yet74 views

References

  1. 1.obsidian.md
  2. 2.obsidian.md
  3. 3.community.obsidian.md
  4. 4.github.com
  5. 5.github.com
  6. 6.docs.syncthing.net
  7. 7.obsidian.md
  8. 8.obsidian.md
  9. 9.obsidian.md
  10. 10.obsidian.md
  11. 11.docs.syncthing.net
  12. 12.docs.syncthing.net
  13. 13.docs.syncthing.net
  14. 14.docs.syncthing.net
  15. 15.docs.syncthing.net

Join the mailing list

Get new posts from PrivateMind PKM

Be the first to know when fresh articles are published.

No emails will be sent yet. Your signup is saved for future updates.

Comments (0)

Leave a comment

No comments yet. Be the first to comment!

PrivateMind PKM

Quick Links

© 2024 PrivateMind PKM. All rights reserved.

PrivateMind PKM is a privacy-first personal knowledge management tool. All features, documentation, and content are provided "as is" without warranties of any kind. You retain complete ownership and control over your personal data. This application does not provide professional medical, legal, or financial advice. While we implement strong local-first encryption and security practices, users are encouraged to maintain regular backups.