BetaX NAS Sync
approvedby Skye
Keep Vault synchronized with the NAS on your home intranet.
BetaX Obsidian NAS Sync
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
Vaultsbetween multipleObsidians, use the official synchronization service.
Prerequisites
- a NAS with Nas Server installed
- a recent version of the
Obsidianclient - a Github account
Instructions for use
- 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 Testto test if the connection works.
Vault Configuration (Important)
Please follow the appropriate section based on your situation:
- If you have never used this service:
- I store my
Obsidian Vaulton theNAS.- Follow the G4 Plan.
- I only have an
Obsidian Vaultlocally.- Follow the G1 Plan.
- I store my
- If you have used any component of this service:
- I already have a
Vaulton theNAS Server.- Follow the G2 Plan.
- I already have a synchronized
Vaultin my localObsidian.- Follow the G3 Plan.
- I already have a
G1 Plan
No additional actions are required. Complete the connection as described earlier and use it normally.
G2 Plan
Since you already have a NAS Vault, you need to confirm:
- Your local
Obsidianis a brand newVault. - Files and data in your local
Obsidian Vaultcan be overwritten.
Q: What if I have a local
Obsidian Vaultwith 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.
G3 Plan
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.
G4 Plan
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.
Unable to connect
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.
For plugin developers
Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.