Using OneDrive as a backup for my Pictures library using robocopy

by Adam Bromiley   Last Updated June 16, 2018 23:01 PM

This sounds like an easy-enough question, and luckily I found an article on it here, which I followed.

I have mapped my OneDrive as a Network Location on my PC, and it works perfectly (though I had to bump up the file-size transfer limit from 50MB to 1GB in regedit) - I can view all my files and what not.

So here I must note my OneDrive already has half the stuff I wanted to backup (I had previously been backing up manually) and consisted of lots of nested directories, so when it came to using robocopy, I hoped it would scan through all the files, recognise half are already in the destination, so only upload the ones not there (and the ones that modified more recently than the existing ones).

I'm new to robocopy, but had a go using this command as a test (I planned on scheduling this command every week if successful):

robocopy C:\Users\adam\Pictures "[CID no.] (\\\DavWWWRoot)" /MIR /FFT /R:3 /W:10 /Z

where [CID no.] is replaced with the CID of my OneDrive, an 8 byte hex string. So robocopy goes and does its stuff for the next few hours, the output being:

100%        New File              IMG_0001.CR2
100%        New File              IMG_8674.CR2

               Total    Copied   Skipped  Mismatch    FAILED    Extras
    Dirs :     10278     10278         0         0         0         0
   Files :     23500     23500         0         0         0         0
   Bytes : 153.419 g 153.419 g         0         0         0         0
   Times :   1:39:26   1:35:40                       0:00:00   0:03:46

   Speed :            28697353 Bytes/sec.
   Speed :            1642.075 MegaBytes/min.
   Ended : 16 June 2018 19:27:37

So I go back to my OneDrive, and there aren't any of the new files there. Nothing has changed in the OneDrive network drive (I double checked in the OneDrive client) from when I began the command, even though I got a non-error output.

So can someone help me out please? Preferably provide a solution using robocopy, but any other free solutions are welcome (I've already looked at working entirely from the OneDrive folder (the folder that is created with the OneDrive program) instead of my Windows libraries, but I decided that would be a last resort). Oh and any 3rd party alternatives must be able to be scheduled someway. Thanks!

Related Questions

Fast restore of a Duplicati 2 backup

Updated April 08, 2017 14:01 PM

"Reverse incremental" backup for Windows?

Updated May 12, 2016 08:00 AM

Backup tool for windows 10

Updated August 13, 2017 21:01 PM

Sync remote folders on Linux

Updated October 24, 2015 10:00 AM