First, some background. I use Junctions a lot with my current setup with Dropbox, since it doesn’t have the “sync to” feature that odrive has. This allows any folder on the filesystem to be pointed at the actual folder, which resides in Dropbox. This means applications think they’re using the AppData (or similar) location, but it’s actually updating in the Dropbox folder - which the client can watch, sync, etc. Given that odrive supports multiple cloud providers, I was considering using these to do something crazy.
Since I have unlimited data on a fibre connection available to me, I was considering installing odrive on a machine with a large-ish hard drive, and using that as a “cross-cloud sync host” - where it would have “Sync Everything” rules for certain folders, which would actually be junctions into another cloud provider. This proposal could also work on a hosted VPS using directory hard links on linux, or any such similar setup.
Example. If I had the following folders:
- odrive\Amazon Cloud\CloudSync\SomethingImportant (an actual folder)
- odrive\Google Drive\CloudSync\SomethingImportant (a junction to the above folder)
If I was to put something into one of those locations from elsewhere, the “Sync Everything” rule should pull it down into that folder - which would trigger odrive to upload it into the other provider? I am a little concerned with what would happen if the junction was invalid - since it acts as essentially an “access denied” error - would it delete the files from Google Cloud?
This has come about because I currently use MultCloud to get data between cloud providers, however it is a schedule-based system that doesn’t have an option to trigger on new/modified files.
The specific use case that this is important for is my password manager database. My day job allows access only to the company-provided OneDrive for Business, all other cloud providers are blocked. This means I need to have at least a copy of the DB in this provider to allow me to use it in the office. However, I do not want to have it only in that provider, as it will not be accessible if I ever lose access to that company’s data. Currently, it’s synching between a local Dropbox folder on my laptop and the odrive ODfB folder (using “sync with odrive”), but it requires my laptop to be on for it to function. MultCloud is an option, but without an easy way to force it to trigger more than three times a day, the delay becomes quite evident.