Use OneDrive as additional backup location

I'm trying to take advantage of the fact that OneDrive now offers unlimited space, and allows these files to not take up space locally. I already have a backup system in place, but I would like to add this as an additional offsite backup option.

My photo folder is 200GB+, and I want it to stay on my data drive, and be available offline. I imagine this is a common scenario.

Goals:

  • Keep my OneDrive on my SSD
  • Keep an offline copy of my files on my data drive
  • Keep an "online-only" copy of my photos in my OneDrive

My first instinct was junction points, but it sounds like they're not supported. Next, I tried Robocopy, but it doesn't like overwriting online-only files.

Is there a way to compare offline files and online-only OneDrive files, and overwrite those files if the source is newer?


Solution 1:

I actually figured out how to do this without buying a 3rd party tool.

Basically, I just mount my OneDrive using WebDAV, and then I can use Robocopy to mirror the files.

I created detailed instructions here.