Obsidianを複数端末で同期する4つの方法Four ways to sync your Obsidian vault across devices
保管庫は特別な形式を持たない、ただのMarkdownフォルダです。だから同期方法はObsidian自身に縛られず、iCloud DriveのようなOS標準の同期、有料の公式Obsidian Sync、Gitのようなバージョン管理、Syncthingのような自己ホスト型の同期ツールまで自由に選べます。ここでは4方式を費用・対応OS・コンフリクト時の挙動で比較し、GitとSyncthingは実際に2台のオフライン編集をぶつけて壊れ方を確かめました。A vault has no special format — it's just a folder of Markdown files. That means the sync method isn't locked to Obsidian itself: OS-native sync like iCloud Drive, the paid official Obsidian Sync, version control like Git, or a self-hosted tool like Syncthing all work. This page compares the four on cost, platform support, and what happens when a conflict hits — and for Git and Syncthing, we actually collided two offline edits and recorded how each one broke.
Apple製品だけで完結するならiCloud Drive(既定で動いており追加費用なし)で十分です。Windows/Androidもまたぐ、または公式のバージョン履歴やサポートが欲しいならObsidian Sync(有料)。Gitに慣れていて変更履歴もコミットとして残したいならGit(無料・要セットアップ)。クラウド事業者を介さずクロスプラットフォームで無料にしたいならSyncthing(無料・要セットアップ)。実測して分かった違いは「コンフリクト(競合編集)が起きたときの壊れ方」で、Gitはノート本文に衝突マーカーが直接挿入され手動解決が要り、Syncthingは自動で片方を残しもう片方を別ファイルとして保存します。If you're Apple-only, iCloud Drive is already on and costs nothing extra. Crossing into Windows/Android, or wanting official version history and support, points to Obsidian Sync (paid). Comfortable with Git and want change history as commits? Use Git (free, needs setup). Want free, cross-platform, no cloud vendor in the loop? Syncthing (free, needs setup). What we actually measured is how each one breaks on conflict: Git inserts conflict markers straight into the note body and needs a manual resolve; Syncthing keeps one version under the original name and saves the other as a separate file automatically.
4つの同期方法The four methods
どれも「保管庫フォルダの中身を複数端末で揃える」という同じ仕事をしますが、仕組みが違います。All four do the same job — keeping a vault folder identical across devices — but the mechanism differs.
比較表Comparison table
| 項目Aspect | iCloud Drive | Obsidian Sync(公式)Obsidian Sync | Git | Syncthing |
|---|---|---|---|---|
| 費用Cost | 無料Free (既定のiCloud容量内)(within default iCloud storage) | 有料Paid (料金詳細)(pricing) | 無料Free (ホスト先の容量次第)(depends on host storage) | 無料Free |
| セットアップの手間Setup effort | ほぼ無しMinimal | 低いLow (アプリ内で完結)(inside the app) | 高いHigh (リポジトリ・プラグイン設定)(repo + plugin config) | 中Medium (端末ごとにペアリング)(pair every device) |
| 対応プラットフォームPlatforms | Appleのみ only | 全プラットフォームAll platforms | 全プラットフォームAll platforms (モバイルはプラグイン次第)(mobile depends on plugins) | 全プラットフォームAll platforms |
| コンフリクト時の挙動On conflict | 番号付き重複ファイル(Apple公式ヘルプ・Obsidianでの実機検証は未実施)Numbered duplicate file (per Apple's own help doc; not tested with Obsidian here) | 具体的な処理は公式ヘルプに記載なし。Version Historyで復元可能Exact mechanism undocumented; recoverable via Version History | 本文に衝突マーカーを挿入(実測)Inserts conflict markers in the note (measured) | 別ファイルとして両方保存(実測)Keeps both as separate files (measured) |
| バージョン履歴Version history | 無しNone (Markdownファイル単体では)(for plain Markdown files) | ありYes (Standard 1か月・Plus 12か月保持)(Standard: 1 month, Plus: 12 months) | ありYes (無期限・コミット単位)(unlimited, per commit) | 既定は無効Off by default (設定で有効化可能)(can be enabled) |
| 通信の暗号化Transport encryption | ありYes | E2E暗号化End-to-end encrypted | ホスト依存Depends on host (HTTPS/SSH)(HTTPS/SSH) | TLS・P2P直結TLS, direct P2P |
| オフラインで書けるかWorks offline? | ◎ | ◎ | ◎ | ◎ |
※ 「コンフリクト時の挙動」「バージョン履歴」の一部セルは検証範囲が異なります。詳しくは次章と、末尾の「検証環境と検証範囲」をご覧ください。※ Rows on conflict behavior and version history mix directly-tested and documentation-based cells. See the next section and the test-scope box at the end.
壊れ方を比べる — 実際にコンフリクトを起こしてみたComparing failure modes — we actually triggered a conflict
同期方式のカタログ的な比較はよく見かけますが、「同時に2台で編集したら実際どうなるか」まで手を動かして確かめた記事は多くありません。ここでは、この検証環境(Ubuntu 24.04・GitHub Actions)でGitとSyncthingを実際にセットアップし、2台の端末を模したフォルダにオフラインで別々の1行を追記してから同期を再開させました。iCloud DriveとObsidian Syncは、この環境にmacOS/iOSが無いため実機では再現できておらず、公式ヘルプの記載に基づいています。Feature-comparison tables for sync tools are common; articles that actually collide two devices and record what happens are not. In this test environment (Ubuntu 24.04, GitHub Actions) we set up real Git and Syncthing instances, wrote a different line to each of two folders standing in for two devices while offline, then let them sync again. iCloud Drive and Obsidian Sync couldn't be reproduced hands-on — no macOS/iOS is available here — so those two rely on official documentation instead.
ノート本文に衝突マーカーがそのまま挿入されるConflict markers land directly inside the note body
中央リポジトリを1つ作り、2つのcloneをそれぞれ別端末に見立てました。両方を「オフライン」にしたまま同じノートの末尾に別の1行を追記してコミットし、順番にpushさせています。We created one bare repository and cloned it twice, standing in for two devices. With both "offline", each appended a different line to the same note and committed, then pushed one after the other.
# デバイスAを先にpush → 成功
$ git push origin master
ba48c62..f0be52e master -> master
# デバイスBをpush → 拒否される
$ git push origin master
! [rejected] master -> master (fetch first)
# デバイスBがpull(マージを試み、衝突)
$ git pull origin master --no-rebase
Auto-merging Daily Notes/2026-08-26.md
CONFLICT (content): Merge conflict in Daily Notes/2026-08-26.md
# ノートの中身(Obsidianで開くとこのまま見える)
# 2026-08-26
- 08:00 起床
<<<<<<< HEAD
- 09:15 買い物メモ
=======
- 09:00 会議メモ
>>>>>>> f0be52e...
データは失われませんが、衝突マーカーの入った状態のノートがそのままObsidianで開けてしまいます。気づかずに読むと自分の文章だと誤読しかねず、解決には <<<<<<< / ======= / >>>>>>> の意味を理解したうえで手動編集し、コミットし直す必要があります。Obsidian Git のようなプラグインを使っていても、この最終的な衝突解決はGitの知識が要る作業です。No data is lost, but the note opens in Obsidian with the conflict markers still in it — easy to misread as your own text if you don't notice. Resolving it means understanding what <<<<<<<, =======, and >>>>>>> mean, editing by hand, and committing again. Even with a plugin like Obsidian Git handling the sync, this final resolve step still requires knowing Git.
片方を残し、もう片方を別ファイルに退避するKeeps one version, exiles the other to a separate file
同じ手順(apt経由でインストールしたSyncthing v1.27.2を2インスタンス起動し、ローカルのTCPで直接ペアリング)で試すと、Gitとはまったく違う壊れ方をしました。Running the same scenario — two Syncthing v1.27.2 instances (installed via apt) paired directly over local TCP — broke in a completely different way from Git.
# 同期再開後のvault-a
Daily Notes/2026-08-26.md
Daily Notes/2026-08-26.sync-conflict-20260825-212901-P2RW67Y.md
# 2026-08-26.md(採用された側)
# 2026-08-26
- 08:00 起床
- 09:15 買い物メモ(デバイスBで追記)
# 2026-08-26.sync-conflict-....md(退避された側)
# 2026-08-26
- 08:00 起床
- 09:00 会議メモ(デバイスAで追記)
Syncthingは自動でどちらか一方を元のファイル名のまま残し、もう一方を *.sync-conflict-日時-デバイスID.md という別のノートとして保存します。本文にマーカーが混ざることはなく、Git知識も不要です。ただし自動でマージはされないため、退避されたノートに気づかず放置すると、同じ話題のメモが2つのファイルに分裂したままになります。保管庫の検索結果に見慣れないファイル名が増える点は、運用上のノイズになり得ます。Syncthing automatically keeps one version under the original filename and saves the other as a separate note named *.sync-conflict-timestamp-deviceID.md. No markers end up mixed into the text, and no Git knowledge is needed. But nothing gets merged automatically — miss the exiled note and the same topic stays split across two files. Unfamiliar filenames piling up in vault search is a real, if minor, cost of this approach.
Apple公式ヘルプ上は番号付きの重複ファイルApple's own guide describes numbered duplicate files
Apple公式のMacヘルプは、iCloud Drive上でドキュメントのバージョンが競合したとき、コンフリクト解決ダイアログで各バージョンを選んで保持でき、複数保持した場合は「Seven Wonders」「Seven Wonders 2」のように末尾に番号が付いたファイル名で残る、と説明しています。ただしこのダイアログはAppleの文書バージョニングAPIに対応したアプリ(Pages等)向けの挙動で、Obsidianのようにファイルシステムへ直接読み書きするアプリで同じダイアログが出るとは限りません。この環境にはmacOS/iOSが無く、Obsidian+iCloud Driveでの実機検証はできていません。Apple's own Mac Help guide describes a conflict-resolution dialog for iCloud Drive documents: you can keep multiple versions, and each gets a numbered filename like "Seven Wonders" and "Seven Wonders 2". That dialog, however, is documented for apps using Apple's document-versioning API (e.g. Pages) — there's no guarantee the same dialog appears for an app like Obsidian that reads and writes the filesystem directly. This environment has no macOS/iOS, so we could not test Obsidian plus iCloud Drive hands-on.
既存記事の「デイリーノートに入らない」章で扱った同期遅延(書き込みは即座でも反映まで数秒〜数十秒かかる)は、この競合とは別の現象です。両方を知っておくと、iCloud経由のトラブルの切り分けが早くなります。The sync-lag issue covered in the daily-note article — where the write is instant but propagation takes seconds — is a separate phenomenon from a true conflict. Knowing both speeds up diagnosing iCloud trouble.
競合の解決アルゴリズムは非公開。頼れるのはVersion HistoryThe resolution algorithm isn't published; Version History is the safety net
公式ヘルプ(obsidian.md/help/sync、2026年8月26日取得)には、同時編集時にどちらのバージョンを採用するかという具体的なアルゴリズムの記載が見当たりませんでした。一方で「Obsidian SyncをDropbox・Google Drive・OneDriveなど他のクラウドストレージと併用すると同期の競合(sync conflicts)が起きるおそれがあるため、保管庫をバックアップしてください」という公式の注意書きがあり、Obsidian Syncにも競合という概念自体は存在します。回復手段として明記されているのはVersion History機能で、ノート単位で過去のバージョンを一覧から選んで復元できます。保持期間はStandardプランで1か月、Plusプランで12か月、添付ファイルはプランによらず2週間です。The official help (obsidian.md/help/sync, fetched August 26, 2026) doesn't spell out which version wins on simultaneous edits. It does warn, in its own words, that "if you are using Obsidian Sync alongside other cloud storage providers, such as Dropbox, Google Drive, or OneDrive, please back up your vault to prevent sync conflicts" — so the concept of a conflict clearly exists here too. The documented recovery path is Version History: pick a past version of a note from a list and restore it. Retention is 1 month on Standard, 12 months on Plus, and 2 weeks for attachments regardless of plan.
この環境では支払いが要るためObsidian Syncのアカウントを作れず、実際の競合再現はできていません。Obsidian Sync requires payment to sign up, so we could not create an account or reproduce a real conflict in this environment.
4方式のうち、実測できたGit・Syncthingはどちらもデータを失いませんでした。壊れ方の違いは「マーカーが本文に混ざるか」「別ファイルに分裂するか」で、どちらも気づかなければ静かに放置されるという点は共通しています。1つの保管庫を複数の同期方式で二重に同期しない(Obsidian公式が明示的に注意しているのもこの点)のが、いちばん確実な予防策です。Of the four, the two we could measure — Git and Syncthing — both preserved every byte of data. The difference is where the mess lands: markers mixed into the text, or a split into two files. Both share the same risk: nothing forces you to notice. The single most reliable precaution is not layering two sync methods onto the same vault at once — which is exactly what Obsidian's own warning calls out.
選び方の目安How to choose
どの同期方式でも、保管庫はただのフォルダWhatever you choose, the vault is still just a folder
同期方式をどれにするかは、保管庫フォルダの「揃え方」を決めるだけの話です。Obsidian連携シンプルメモは、送信したメモを自分宛メールに残しつつ、iCloud Drive上の保管庫フォルダのデイリーノートへ直接追記します。iCloud Driveで同期している保管庫が対象で、GitやSyncthingだけで運用している(iCloud Driveを経由しない)保管庫フォルダは、現時点では対象外です。Choosing a sync method only decides how the vault folder stays identical across devices. Simple Memo emails each note to you and appends it directly into the daily note inside your vault folder on iCloud Drive. That means vaults synced via iCloud Drive; a vault run purely through Git or Syncthing, with no iCloud Drive in the picture, is out of scope today.
よくある質問FAQ
結局どれを選べばいいですか?Which one should I actually pick?
Obsidian Syncを使わずに複数端末で同期できますか?Can I sync across devices without Obsidian Sync?
同時に2台で編集するとどうなりますか?What happens if I edit from two devices at once?
複数の同期方法を同時に使ってもいいですか?Can I run more than one sync method at once?
Obsidian Syncで間違って上書きしたら元に戻せますか?If Obsidian Sync overwrites something by mistake, can I undo it?
検証日: 2026年8月26日 / 環境: Linuxデスクトップ(Ubuntu 24.04・GitHub Actions実行環境)。実測(このセッションで実際に動かして確認): Git 2.x — 中央リポジトリ1つと2つのcloneでオフライン同時編集→pushの拒否→pull時のマージ衝突→本文への衝突マーカー挿入までを再現。Syncthing v1.27.2(apt経由でインストール)— ローカルTCPで直接ペアリングした2インスタンス間で同じシナリオを再現し、sync-conflict-*.md ファイルの生成を確認。公式情報に基づく記載(未検証): Obsidian Syncのバージョン履歴の保持期間・他クラウド併用時の注意(obsidian.md/help/sync を本セッションから直接取得・2026年8月26日)、iCloud Drive上のドキュメント競合時の番号付きファイル名(Apple公式Macヘルプ)。この環境で検証できなかったこと: iCloud DriveとObsidianの組み合わせでの実際の競合挙動(macOS/iOSが無い)、Obsidian Syncでの実際の競合再現(有料サービスのため未契約)。Obsidianのバージョンや各ツールの挙動は将来変わる可能性があるため、最新情報は各公式サイトでご確認ください。Tested August 26, 2026 on Linux desktop (Ubuntu 24.04, GitHub Actions runner). Hands-on (actually run in this session): Git 2.x — one bare repo with two clones reproduced an offline concurrent edit, a rejected push, a merge conflict on pull, and conflict markers landing in the note body. Syncthing v1.27.2 (installed via apt) — two instances paired directly over local TCP reproduced the same scenario and produced a sync-conflict-*.md file. Based on official documentation (not hands-on): Obsidian Sync's version-history retention and its warning about combining with other cloud storage (obsidian.md/help/sync, fetched directly from this session on August 26, 2026); iCloud Drive's numbered-filename behavior on document conflicts (Apple's own Mac Help). Not testable in this environment: actual conflict behavior for Obsidian plus iCloud Drive (no macOS/iOS here) and an actual conflict on Obsidian Sync (a paid service we don't have an account for). Tool behavior can change over time — check each official site for the latest.
関連ページRelated pages
参考文献References
- Obsidian Help — Sync — Obsidian Syncの公式ヘルプ。2026年8月26日に本セッションから直接取得Official help for Obsidian Sync, fetched directly from this session on August 26, 2026
- Obsidian Help — Version History — バージョン履歴の保持期間・復元方法の公式ヘルプOfficial help on version-history retention and restore
- If document versions conflict in iCloud Drive on Mac — Apple Support — iCloud Drive上のドキュメント競合時の挙動に関する公式ガイドApple's own guide to what happens when iCloud Drive documents conflict
- git-merge — Git公式ドキュメント — マージ衝突の仕組みに関する公式リファレンスOfficial reference for how merge conflicts work
- Syncthing Documentation — File Versioning & Conflicts — Syncthingの競合ファイル命名規則に関する公式ドキュメントOfficial documentation on Syncthing's conflict-file naming
- Obsidian連携シンプルメモ — App Store — App StoreのダウンロードページApp Store download page