Obsidian and iCloud on iPhone: conflicts, duplicates, disappearing files

Updated:

In short

Obsidian's documentation names, among others, these sources of iCloud trouble: an Obsidian notes folder (vault) in the wrong place, files iCloud removed from the device and one vault in two sync services. Start by checking where the vault is. Apple keeps files deleted from iCloud Drive for 30 days.

Where the vault should be#

Obsidian stores notes as Markdown plain text files in a vault, which is a folder on disk.

Obsidian's documentation says iCloud can sync vaults between iOS and macOS. On iPhone the vault belongs in the Obsidian folder in iCloud Drive. The folder with the Obsidian icon is the correct one. Don't use the plain folder without the icon. In another location you may see syncing issues.

Obsidian's documentation lists Dropbox among the options that are not officially supported on iPhone.

How to check:

  1. Open the "Files" app and tap "Browse".
  2. Under "Locations", choose "iCloud Drive".
  3. Check that the vault is inside the "Obsidian" folder.

Files removed from the device#

When iCloud removes files from the device, Obsidian cannot access them. The documentation names this as a source of sync issues. For you it can look like disappearing files.

On a Mac you can keep the files on disk. Obsidian also recommends this so the vault loads fast:

  1. On macOS 15 and later, right-click the "Obsidian" folder in iCloud Drive and choose "Keep Downloaded".
  2. On macOS 14 and earlier, turn off "Optimize Mac Storage" in iCloud settings. This setting affects all iCloud storage on the device, not just Obsidian.

On iPhone you can remove iCloud downloads from the device yourself in the "Files" app. The files stay in iCloud Drive.

Conflicts and duplicates#

Obsidian's documentation advises against syncing the same vault with two services at once, for example Obsidian Sync and iCloud. This is to prevent data conflicts and corruption.

For iCloud Drive on Windows, the documentation warns of file duplication or corruption.

Obsidian's sync page gives no steps for merging conflicts. If you use two services, keep one.

Files that vanished#

A file deleted from iCloud Drive in the "Files" app goes to "Recently Deleted". After 30 days it is permanently deleted. Deleting on one device removes the file from every device on that Apple Account.

Within 30 days you can recover it:

  1. In "Files", tap "Browse", then "Recently Deleted" under "Locations".
  2. Tap "More".
  3. Select the files and tap "Recover".

You can also recover files deleted from iCloud Drive on iCloud.com, in "Recently Deleted", within 30 days. A file deleted from "Recently Deleted" cannot be recovered. After 30 days we do not promise recovery.

Markerify#

Markerify opens plain .md files in your own folder in iCloud Drive. The test version also opens a Dropbox folder. If your Obsidian notes folder is in iCloud Drive, you point Markerify at it and import nothing. Markerify is not affiliated with Obsidian.

Sources#

  1. Sync your notes across devices · Obsidian · https://obsidian.md/help/sync-notes · accessed
  2. How Obsidian stores data · Obsidian · https://obsidian.md/help/data-storage · accessed
  3. Delete files or recover deleted files in the Files app on your iPhone or iPad · Apple · https://support.apple.com/en-us/104953 · accessed
  4. Recover deleted files on iCloud.com · Apple · https://support.apple.com/guide/icloud/recover-deleted-files-mmae56ea1ca5/icloud · accessed

The Markerify team writes this page.

Frequently asked questions about Markerify (FAQ)