Quantcast
Channel: Microsoft Online: SharePoint Online forum
Viewing all articles
Browse latest Browse all 10096

Robocopy doesn't copy/traverse subdirectories with OneDrive for Business

$
0
0

I have a script that I was using in July that no longer works. Basically it maps a drive (W:) to my OneDrive for Business folder. Then it performs a robocopy to copy it to a local disk for backup (direct from cloud). The issue I am having is that now it actually cleared out all of my data because it is located in a sub-folder and Robocopy no longer wants to traverse to that sub-folder and beyond to copy data.

ODB contents looks like this:

W:\
W:\Data
W:\Data\Sub1
W:\Data\Sub2
W:\Doc.docx

Run robocopy as such:

robocopy w: e: *.* /mir

The result is:

E:\
E:\Data
E:\Doc.docx

The W: drive is being mapped through either a UNC or HTTPS WebDAV path. All data is located in Office 365 OneDrive for Business. Does anyone have any thoughts on why this would break?

Viewing all articles
Browse latest Browse all 10096

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>