Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

Obsidian Sync, Backup, and Advanced Tips

Obsidian Sync, Backup, and Advanced Tips

The most important thing for a note system is data security - the knowledge you spent a lot of time accumulating must not be lost due to disk failure or misoperation.

This chapter covers sync solutions, backup strategies, mobile usage, and common troubleshooting.


Official sync: Obsidian Sync

Obsidian Sync is the official end-to-end encrypted cloud sync service and the best sync solution in terms of experience.

Core Features

Price

Obsidian Sync is a paid service, subscribed annually.

If you have more than 5 Vaults or a large note library, Sync is the most worry-free choice.

Configuration steps

  1. In Settings -> Sync, log in to your Obsidian account
  2. Select a remote Vault (create one on first use)
  3. Set an encryption password (keep it safe; it cannot be recovered if lost)
  4. Select the folders and file types to sync
  5. On another device, log in the same way and connect to the same remote Vault

The encryption password is the only credential for recovering data. The official team cannot reset it for you. It is recommended to save the password in a password manager or write it down on paper and store it safely.


Free sync solutions

If you do not want to pay for sync, there are several free options to choose from.

iCloud (first choice for macOS + iOS users)

Place the Vault folder in iCloud Drive for automatic sync between macOS and iOS devices.

The advantage is zero configuration and a seamless Apple ecosystem experience.

The downside is that the iCloud client on Windows is mediocre and occasionally produces sync conflicts.

OneDrive / Dropbox

Place the Vault folder in the sync directory of OneDrive or Dropbox.

Supports all platforms (Windows, macOS, Linux, mobile), with better cross-platform compatibility than iCloud.

Note: Do not edit the same note on multiple devices simultaneously, as conflicting copies may be created.

Git + GitHub version management

Initialize the Vault as a Git repository and push it to a private GitHub repository.

The benefit of this method is built-in version history, where each commit acts like a snapshot.

Example: Initialize the Vault as a Git repository

Navigate to your Vault directory

cd

~

/

Documents

/

My Knowledge Base

Initialize the Git repository

git init

Create a .gitignore file to exclude Obsidian's configuration and cache

echo

".obsidian/workspace.json"

.gitignore

echo

".obsidian/workspace-mobile.json"

.gitignore

echo

".trash/"

.gitignore

First commit

git add

.

git commit

-m

"Initialize Knowledge Base"

Link a private GitHub repository and push

git remote

add origin

git

@

github.com:username

/

my-vault.git

git push

-u

origin main

On mobile, you can pull and push using Git clients such as Working Copy (iOS) or MGit (Android).

Git sync requires manual commit + push + pull and does not sync automatically like iCloud. It suits users comfortable with Git, or works as a supplement to other sync solutions (adding an extra layer of version protection).

Solution comparison

Solution Cost Automatic sync Version history Difficulty
Obsidian Sync Paid Is complete Low
iCloud Free (5GB) Is Limited Extremely low
OneDrive/Dropbox Free (basic capacity) Is Limited (30 days) Extremely low
Git + GitHub Free No complete Medium

Mobile usage

Obsidian provides iOS and Android clients whose features are essentially the same as the desktop version.

Mobile-specific features

Mobile tips

Mobile is better suited for capturing rather than organizing.

It is recommended to do only two things on your phone: quickly capture ideas and tasks (open the journal via a shortcut), and review existing notes anytime.

Leave complex formatting, template application, and Dataview query authoring to the desktop.

Mobile toolbar configuration

In mobile settings you can customize the editing toolbar, placing common Markdown actions (bold, link, image, checkbox) within easy reach.


Export and publish

Export PDF

Open the note and click "More options -> Export PDF" at the top right.

The exported PDF preserves the current Obsidian theme style.

Pandoc export (more flexible format conversion)

After installing the Pandoc community plugin, notes can be exported to Word, HTML, LaTeX, and more.

You need to install the Pandoc command-line tool on your system first.



# Install Pandoc on macOS

$ brew install pandoc



# Install Pandoc on Windows (in PowerShell)

$ winget install --id JohnMacFarlane.Pandoc

Obsidian Publish: Build a personal digital garden

Obsidian Publish is an official paid service that publishes selected notes as a website.

The published site retains core Obsidian features such as bidirectional links, graph, and search.

It is suitable for building a personal blog, public knowledge base, or project documentation site.


Data backup strategy

Sync is not backup; sync will also delete files you accidentally removed.

A good backup strategy follows the 3-2-1 principle: 3 copies, 2 media types, 1 offsite.

Recommended backup solutions

Level Method Frequency
Sync layer iCloud / Obsidian Sync / OneDrive daily sync Real-time
Version layer Git periodically commits + pushes to a private GitHub repository Daily or weekly
Cold backup layer Periodically package the entire Vault as a .zip and store it on an external drive or cloud storage Monthly

Vault packaging command



# Package Vault into a dated zip file

$ zip -r "vault-backup-$(date +%Y%m%d).zip" ~/Documents/我的知识库

Long-term reliability of plain text

Obsidian notes are all plain-text Markdown files.

Thirty years later, you can still open them with any text editor.

This is Obsidian's most important long-term advantage over all proprietary-format note apps: the lifespan of your notes does not depend on any company's survival.


Troubleshooting common problems

Troubleshooting plugin conflicts

If you encounter slow startup, UI anomalies, or laggy operations, it is likely a plugin conflict.

Troubleshooting steps:

  1. Disable all community plugins in Settings
  2. Re-enable them one by one, testing whether the issue reappears after each
  3. Once the problematic plugin is found, check for updates or known bugs

Use the command Cmd+Shift+I (Windows: Ctrl+Shift+I) to open Developer Tools and view specific error messages in the Console panel.

Graph too large

If the graph lags severely after opening:

Sync conflict files

When you see a file like filename (conflict 2026-05-21).md, it means two devices edited the same note simultaneously.

Open both files, manually merge the differences, then use Obsidian Sync's "View sync log" to confirm the merge result.

Build the habit of confirming the current note is saved and synced before switching devices.

Vault migration

When changing computers, migrating the Vault takes only two steps:

  1. Copy the entire Vault folder to the new computer
  2. Install Obsidian on the new computer and open that folder

All settings, plugins, and themes are stored in the .obsidian folder and migrate together with the Vault.

.obsidian folder corruption

If messy settings cause Obsidian to start abnormally, you can try resetting: