This is an Obsidian Vault
synchronization service that allows you to synchronize your Obsidian Vault
with your home intranet NAS.
For users who have a NAS at home and use it as a storage hub.
If you simply want to synchronize multiple
Vaults
between multipleObsidians
, use the official synchronization service.
- a NAS with Nas Server installed
- a recent version of the
Obsidian
client - a Github account
- You need to register your NAS with the central server to get the
NAT.ID
. - Enable the connection password on the
NAS Server
(it is better to enable it for security reasons) - Install and enable the plugin
- Fill in the
唯一标识
and连接密码
in the Settings. - Click
Start Test
to test if the connection works.
Please follow the appropriate section based on your situation:
- If you have never used this service:
- I store my
Obsidian Vault
on theNAS
.- Follow the G4 Plan.
- I only have an
Obsidian Vault
locally.- Follow the G1 Plan.
- I store my
- If you have used any component of this service:
- I already have a
Vault
on theNAS Server
.- Follow the G2 Plan.
- I already have a synchronized
Vault
in my localObsidian
.- Follow the G3 Plan.
- I already have a
No additional actions are required. Complete the connection as described earlier and use it normally.
Since you already have a NAS Vault
, you need to confirm:
- Your local
Obsidian
is a brand newVault
. - Files and data in your local
Obsidian Vault
can be overwritten.
Q: What if I have a local
Obsidian Vault
with important data that cannot be overwritten?
A: Create a newObsidian Vault
.
After confirming, complete the connection as described earlier. Upon successful connection, open the command palette in Obsidian
and select BetaX NAS Sync: Manual Update
.
If you already have a local Obsidian Vault
and do not have a NAS Vault
, you can proceed to the [G1 Plan](#G1 Plan) to push data to the new NAS Server
.
If you have a NAS Server
with Vault
data, determine if the local Vault
and NAS Vault
are consistent. If they are consistent, you can proceed to the [G1 Plan](#G1 Plan). Both will synchronize differences based on timestamp.
If they are inconsistent, you need to clear the end that is not needed, preferably by deleting the entire folder and recreating it.
After clearing, complete the connection as described earlier. Upon successful connection, open the command palette in Obsidian
and select BetaX NAS Sync: Manual Update
.
It seems you previously used NAS
for simple file sharing to store your Obsidian Vault
.
First, deploy the NAS Server
and map your Obsidian Vault
on the NAS
to the container's /app/vault
directory.
Next, create a .synclog
file in the Obsidian Vault
directory; this file has no extension.
After creating the file, open it with a notepad or another editor and enter a 10-digit timestamp in seconds, then save the changes.
After completing these steps, follow the initial connection instructions. Upon successful connection, open the command palette in Obsidian
and select BetaX NAS Sync: Manual Update
to automatically pull the Obsidian Vault
from the NAS
to the local machine.
If you can't connect after configuring NAS Server
and this plugin, please change your network environment and try again.
This service uses modern P2P hole-punching technology, but there are still some special networks that can't be penetrated, if you change networks several times and still can't connect, it may mean that your network environment can't use this service.