Logo Giannis Giannopoulos

Introduction

Obsidian is a powerful tool for organizing notes and supports the Zettelkasten method. By default, the iOS app supports iCloud sync functionality. But what if you want to sync your local vault with your NAS? The Obsidian iOS app doesn't offer this option, but it's possible to set it up with a bit of effort.

Requirements

You will need the following:

  • Obsidian iOS App
  • FileBrowser Pro App (paid). I will refer to it as FBP.

Obsidian Setup

Start by creating a local vault in the Obsidian app on your iPhone. Ensure that "Store in iCloud" is deselected.

FileBrowser Pro Setup

Open the FBP app, tap on "Add Location" choose "App Folder" and select the local vault folder "NAS" from Obsidian's files directory.

Now that the Obsidian vault is mapped to the FBP app, any content added to the vault will sync with the directory in the FBP app.

Next, add a remote location in the FBP app. This can be any of the supported options (e.g. Backblaze, Google Drive, OneDrive). I chose "Network Drive".

Sync Setup

To sync to and from a remote location, use FBP's custom tasks. Select "Sync Files" from the home screen, then from the bottom left "+" menu, select "Create Custom Task".

In the Custom Task, add the following steps:

  • Tap "Use files from a preset folder..." and select the mapped Obsidian location ("Obsidian NAS" in my case)
  • Tap on "Insert Step" to add another step
  • Change "Including files/folder" to "Copy to" and select your remote location. (NAS in my case)
  • Name the custom task "Sync to NAS"

Repeat the same steps, reversing the source and destination, and name it "Sync from NAS".

This setup allows you to:

  • Sync the local Obsidian vault to your NAS
  • Sync changes from your NAS to the local Obsidian vault

You can define the sync interval or trigger it manually. I use 1-hour interval to sync to the NAS.

Bonus Tip

To ensure your local vault is always up to date, create an iOS shortcut that first syncs the vault from the NAS and then opens the Obsidian app.

This setup allows you to sync Obsidian on iOS with various remote locations supported by the FBP app. I hope this guide is helpful. See you in the next post!

Tagged with: