Status: BETA - Looking for testers.
Sync your Obsidian vault with a Synology NAS using the File Station API. No WebDAV Server package required.
This plugin supports File Station connections through QuickConnect or a direct Synology address. After connecting, choose one of two sync styles.
Choose this if you want the easiest setup.
Use this when:
- You are one person syncing one vault.
- You usually use one device at a time.
- You want the NAS folder to contain normal Markdown files you can browse in File Station.
- You want the most straightforward mobile-friendly mode.
- You will rely on Synology's native backup tools for historical backups.
What it does:
Your Obsidian vault <-> normal NAS folder of notes
You configure a Remote folder path, for example:
/homes/username/Obsidian/MyVault
This is the default mental model: “copy my changed notes between Obsidian and a Synology folder.” It is best for single-user workflows where only one device is actively syncing at a time.
Choose this if you want every device to keep its own vault, while the NAS keeps the shared history that ties them together.
Use this when:
- You want each device to keep its own local vault.
- You want the NAS to keep Git history for that vault.
- You understand this mode is still beta while multi-device conflict/lock safety is being hardened.
- You understand that the NAS folder is not the readable notes folder.
What it does:
Each device has a normal Obsidian vault
<->
Synology stores a bare Git repo, such as MyVault.git
You configure a NAS bare Git repository path, for example:
/homes/username/Obsidian/MyVault.git
Important: MyVault.git is repository storage. Do not open it as an Obsidian vault. Open the local vault/checkout on each device.
Git-backed sync uses the plugin's File Station lease before it writes branch refs, but native/admin Git pushes to the same NAS bare repo do not go through File Station and cannot see that lease unless the bare repo has a server-side hook.
Install the native Git guard hook once, while all Obsidian syncs are idle:
scripts/install-synology-sync-bare-hook.sh /homes/username/Obsidian/MyVault.gitReplace the path with your NAS bare Git repository path. The command installs scripts/hooks/synology-sync-pre-receive as hooks/pre-receive and marks it executable. The plugin checks for this hook before Git-backed sync takes the File Station lease.
If you skip this step, Obsidian/File Station sync still has its own lease and expected-ref checks, but a separate native Git push can race it and overwrite branch refs while a sync is in progress. For that reason, Git-backed sync logs a warning when the hook is missing, then continues with the plugin's built-in lease and ref checks.
- Install BRAT from Obsidian's Community Plugins.
- In BRAT settings, click Add Beta Plugin.
- Enter:
ForkTheGhost/obsidian-synology-sync. - Enable Synology Sync in Settings > Community plugins.
- Open Settings > Synology Sync.
- Choose Simple File Sync over File Station.
- Enter your QuickConnect ID or direct NAS hostname/IP.
- Enter your DSM username and password.
- Set the Remote folder path, for example
/homes/username/Obsidian/MyVault. - Click Sync now or use the ribbon icon.
Works on desktop and mobile.
| Command | Description |
|---|---|
| Sync with Synology NAS | Sync using the selected sync mode |
| Push all local changes to NAS | File-sync shortcut: local wins |
| Pull all changes from NAS | File-sync shortcut: remote wins |
In Git-backed modes, Sync with Synology NAS runs the Git commit/fetch/merge/push cycle. The force push/pull commands are simple File Station shortcuts.
The plugin can connect through your Synology QuickConnect ID or a direct NAS hostname/IP.
QuickConnect is easiest when you do not want to manage local IP addresses, DDNS, or VPN details.
Use this only for Simple File Sync over File Station.
It points to a normal NAS folder full of readable Markdown files.
Use this only for Git-Backed Sync over File Station.
It points to a bare Git repository. A bare Git repository usually ends in .git and contains Git internals like HEAD, objects/, and refs/.
Remotely Save is excellent but uses WebDAV, which requires installing and configuring Synology's WebDAV Server package. This plugin uses Synology's built-in File Station API, the same API DSM File Station uses.
It also supports QuickConnect ID resolution, so you do not need to know your NAS IP address or set up DDNS.
- This plugin is beta software. Keep backups.
- File Station API rate limits are generous but not documented; avoid syncing huge vaults all at once.
- 2FA on the DSM account may require an app password or a sync-specific account.
- Credentials are stored in Obsidian plugin data (
.obsidian/plugins/synology-sync/data.json) and are not encrypted by this plugin. - Large binary files may be slow over WAN connections.
- Git-backed sync uses a bare repo as the source of truth; do not edit the bare repo as if it were a notes folder.
- A NAS-side readable mirror of a Git-backed vault is optional convenience, not the source of truth.
Build, test, contribution, and pull request rules live in CONTRIBUTING.md.
Architecture and sync-mode design rules live in ARCHITECTURE.md.