Garrett Riefenstahl4 downloadsSync your vault both ways with Google Drive, Dropbox, OneDrive or any other rclone remote.
Sync an Obsidian vault with Google Drive for free. This desktop plugin runs
rclone bisync for you, so edits, new files and deletions move in both
directions. Each vault lands in Obsidian/<vault name>/ on your Drive. Any
other rclone remote works too.
Install rclone (v1.66 or newer):
| System | Command |
|---|---|
| Windows | winget install Rclone.Rclone |
| macOS | brew install rclone |
| Linux | sudo -v ; curl https://rclone.org/install.sh | sudo bash |
Distro packages often ship an rclone too old for bisync, so on Linux use the install script. rclone.org/install lists other options.
Connect Google Drive. Open a new terminal and run rclone config:
n (new remote) → name gdrive → storage drive → paste your
client_id and client_secret (how to get them,
or leave both blank) → scope 1 (full access) → accept the defaults
→ y for auto config. Sign in to Google in the browser window rclone opens.
Install the plugin. Once it's listed, search for Rclone Bisync under
Settings → Community plugins → Browse. To install by hand, download
main.js and manifest.json from the
latest release
into <your vault>/.obsidian/plugins/rclone-bisync/. On macOS, .obsidian
is hidden in Finder. Press Cmd+Shift+. to show it.
In Obsidian, open Settings → Community plugins, turn off Restricted mode if it's on, and enable Rclone Bisync.
In the plugin settings, click Test connection, then Dry run, then Sync.
If you leave client_id blank, rclone signs in through its built-in Google app. Every rclone user shares that app's speed limit, so large syncs can stall with "rate limit exceeded" errors. Your own client ID takes about ten minutes to set up and costs nothing.
invalid_grant error. You don't need
Google's verification for personal use.rclone config.When you sign in, Google warns that it hasn't verified the app. You built the app yourself, so click Advanced → Go to (app name).
Already set up rclone without one? Add it to your existing remote and sign in again:
rclone config update gdrive client_id=YOUR_ID client_secret=YOUR_SECRET
rclone config reconnect gdrive:
rclone keeps the ID, secret and login in its own config file (rclone config file
prints the path). Keep that file out of your vault and out of git, since it
grants full access to your Drive.
When it syncs. At startup and 30 seconds after you stop editing. If you haven't changed anything, it stays idle. To sync by hand, click the ribbon icon, the ☁ item in the status bar, or run Sync now from the command palette.
If you edit the vault on another computer while this one has Obsidian open, set Check Drive for changes to pull those edits on a timer (15 minutes works well). It ships turned off.
First sync. On each computer, the first run merges your vault with Drive and deletes nothing. Later runs pass deletions through.
Conflicts. If you edit the same note on two computers between syncs, the
newer version wins. The plugin keeps the other one as note.md.conflict1 so
you can merge them yourself.
Skipped files. .obsidian/workspace*.json (each computer's open tabs and
layout), the plugin's own data.json and log, .git, and OS junk like
Thumbs.db. Add your own patterns under Extra excludes. Your settings,
themes and other plugins still sync.
Safety. rclone stops the run if it would delete more than half your files.
The plugin works with any storage rclone supports. Run rclone config,
create a remote for your service, and enter its name under Remote name
in the plugin settings. OneDrive, Dropbox, Box, pCloud, Nextcloud (WebDAV)
and S3-compatible storage like Backblaze B2 all work well.
Proton Drive. Create a remote of type protondrive. rclone asks for your
username, password and a 2FA code, then saves a login session so you don't
need a new code for each sync. Know these trade-offs first:
rclone config reconnect <remote>:
to sign in again.rclone program installed on
your computer. It doesn't download or bundle rclone.which rclone (macOS/Linux) or
where rclone (Windows) and paste the result into the plugin settings.
The plugin checks the usual install folders for winget, Scoop, Chocolatey,
Homebrew, snap and the rclone script on its own.Works on Windows, macOS and Linux. Obsidian mobile can't run rclone.