Replicate files and folders to Synology NAS

Is it possible to move the odrive folder from the local drive to the Synology NAS?
What are some ways to connect odrive to a Synology NAS?

Hi @digiform,
Moving the default odrive folder to an external/networked volume is possible, but it is not a supported configuration. You can use the “sync to odrive” feature: https://docs.odrive.com/docs/manage-sync#section-syncing-external-storage

Hi Tony, can I move the odrive folder from C:\ to an external drive and sync (backup) everything I have in the cloud on to the harddrive and then move the odrive folder back to my C:\ drive to access specific files in the cloud on my local machine?

Hi @digiform,
It sounds like you want to use odrive to perform a one-time copy of your remote storage to an external drive, then go back to using odrive to sync in an on-demand fashion, is that correct?

If so, it would probably be easier to use the “sync to odrive” feature to create folders on your external drive that map to your remote storage and then download those. When done you can “remove sync” on those folders to disconnect them from odrive.

Alternatively, you could use the odrive agent and CLI to create a single mount on the external drive and download the data that way, leaving the desktop odrive out of the mix, entirely.

Yes, the second suggestion seems less intrusive. Do you have instructions on how I can do this?
“Alternatively, you could use the odrive agent and CLI to create a single mount on the external drive and download the data that way, leaving the desktop odrive out of the mix, entirely.”

Thanks for your help.

Hi @digiform,
Take a look at the instructions here and let me know if you have any questions: https://docs.odrive.com/docs/odrive-sync-agent#install-sync-agent-on-windows

Once installed, take a look here for how to login and create a mount: https://docs.odrive.com/docs/odrive-sync-agent#using-odrive-sync-agent. Make sure to select the “Windows Binary Client” tab, where applicable.

Hi Tony, I am using Windows Power Shell and I used the command to sync a .cloudf folder to the hard drive but the contents within the folder still have .cloud extensions. Any reason why? How can I sync everything within a folder with a placeholder name and how can a sync a folder without a placeholder name anymore? Thanks.

See Step 5 of USING ODRIVE SYNC AGENT

Hey @digiform,
There is a newer feature in the CLI that adds a recursive sync option with --recursive

& "$HOME\.odrive-agent\bin\odrive.exe" sync -h
usage: odrive.exe sync [-h] [--recursive] [--nodownload] placeholderPath

positional arguments:
  placeholderPath  the path to the placeholder file

optional arguments:
  -h, --help       show this help message and exit
  --recursive      recursively sync
  --nodownload     do not download (used with --recursive)