Home

Using Robocopy to copy files from File Server to SharePoint Online Library

%3CLINGO-SUB%20id%3D%22lingo-sub-86365%22%20slang%3D%22en-US%22%3EUsing%20Robocopy%20to%20copy%20files%20from%20File%20Server%20to%20SharePoint%20Online%20Library%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-86365%22%20slang%3D%22en-US%22%3E%3CP%3EWe%20are%20going%20to%20copy%20over%20300%20Go%20of%20files%20from%20a%20file%20Server%20to%20SharePoint%20Online%20and%20we%20want%20to%20grant%20same%20security%20settings%20of%20the%20File%20Server.%26nbsp%3BCan%20Robocopy%20help%20us%20%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-86365%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-86417%22%20slang%3D%22en-US%22%3ERe%3A%20Using%20Robocopy%20to%20copy%20files%20from%20File%20Server%20to%20SharePoint%20Online%20Library%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-86417%22%20slang%3D%22en-US%22%3E%3CP%3EThere%20is%20an%20Import%20API%20avaiable%2C%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F146%22%20target%3D%22_blank%22%3E%40Benjamin%20Niaulin%3C%2FA%3E%20has%20a%20nice%20review%20of%20its%20capabilities%20at%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fen.share-gate.com%2Fblog%2Foffice-365-import%26nbsp%3B%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fen.share-gate.com%2Fblog%2Foffice-365-import%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-86381%22%20slang%3D%22en-US%22%3ERe%3A%20Using%20Robocopy%20to%20copy%20files%20from%20File%20Server%20to%20SharePoint%20Online%20Library%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-86381%22%20slang%3D%22en-US%22%3E%3CP%3ESharePoint%20mapping%20to%20a%20local%20drive%20does%20not%20work%20perfectly%2C%20unfortunately.%20You%20could%20have%20some%20problems%20using%20a%20mapped%20drive%20as%20a%20target%20for%20Robocopy.%20You%20can%20find%20several%20thread%20in%20this%20community%20where%20drive%20mapping%20has%20been%20discussed.%20Try%20a%20search.%3C%2FP%3E%3CP%3EAlso%2C%20SharePoint%20is%20not%20a%20file%20share%2C%20so%20you%20will%20not%20be%20able%20to%20copy%20NTFS%20security%20settings.%20You'll%20have%20to%20design%20your%20SharePoint%20permissions.%20It's%20a%20quite%20complex%20subject.%20You%20can%20start%20from%20this%20article%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fsupport.office.com%2Fen-us%2Farticle%2FUnderstanding-permission-levels-in-SharePoint-87ecbb0e-6550-491a-8826-c075e4859848%3Fui%3Den-US%26amp%3Brs%3Den-US%26amp%3Bad%3DUS%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fsupport.office.com%2Fen-us%2Farticle%2FUnderstanding-permission-levels-in-SharePoint-87ecbb0e-6550-491a-8826-c075e4859848%3Fui%3Den-US%26amp%3Brs%3Den-US%26amp%3Bad%3DUS%3C%2FA%3E%3C%2FP%3E%3CP%3EAll%20in%20all%2C%20it%20could%20perhaps%20be%20better%20for%20you%20to%20use%20a%20third%20party%20migration%20tool.%20We%20have%20discussed%20also%20this%20subject%20several%20times%2C%20with%20the%20names%20of%20several%20of%20such%20tools.%26nbsp%3B%20Try%20a%20search.%3C%2FP%3E%3CP%3EHope%20it%20helps...%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-86377%22%20slang%3D%22en-US%22%3ERe%3A%20Using%20Robocopy%20to%20copy%20files%20from%20File%20Server%20to%20SharePoint%20Online%20Library%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-86377%22%20slang%3D%22en-US%22%3E%3CP%3EI'd%20suggest%20rethinking%20this%20idea.%20%26nbsp%3BI%20don't%20see%20how%20robocopy%20is%20going%20to%20help%20for%20this%20scenario%20nor%20can%20I%20see%20it%20working%2C%20based%20on%20what's%20been%20said%20so%20far.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E300%20GB%20(if%20that's%20right%3F)%20is%20a%20large%20migration%20and%20the%20last%20thing%20you%20want%20to%20do%20is%20just%20dump%20it%20onto%20SharePoint%20if%20that's%20the%20plan.%20Usually%2C%26nbsp%3Bif%20this%20hasn't%20been%20done%20already%2C%20there%20will%20be%20a%20data%20cleansing%20exercise%2C%20in%20other%20words%2C%20how%20much%20of%20that%20data%20truly%20needs%20to%20be%20migrated%20to%20the%20cloud.%20Just%20as%20important%20things%20like%20Information%20Architecture%20and%20Governance%20need%20to%20be%20mapped%20out%2C%20to%20give%20a%20solid%20foundation%2C%20depending%20on%20requirements.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI'd%20suggest%20looking%20at%20a%20SharePoint%20migration%20tool%20like%20ShareGate%2C%20that%20can%20do%20all%20sorts%20of%20things%2C%20like%20map%20security%2C%20bring%20across%26nbsp%3Bmeta%20information%2C%20apply%20a%20taxonomy%20etc.%20%26nbsp%3BYou%20may%20come%20across%26nbsp%3Ba%205K%20list%20view%20limit%20if%20not%20careful%20as%20well%2C%20something%20to%20look%20out%20for%20anyway.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHave%20a%20look%20at%20this%20for%20practical%20steps%20to%20get%20started%2C%20though%20it's%20not%20a%20recent%20article%2C%20it%20also%20has%20a%20long%20list%20of%203rd%20party%20products%20that%20can%20help%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fblogs.technet.microsoft.com%2Fptsblog%2F2013%2F11%2F04%2Fmigrating-file-shares-to-sharepoint-online%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EMigrating%20File%20Shares%20to%20SharePoint%20Online%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAlso%2C%20depending%20on%20how%20many%20licences%20you%20have%2C%20you%20may%20be%20able%20to%20get%20some%20onboarding%20and%20migration%20assistance%20from%20Microsoft%20-%20%3CA%20href%3D%22https%3A%2F%2Ftechnet.microsoft.com%2Fen-gb%2Flibrary%2Foffice-365-onboarding-benefit-process.aspx%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EFastTrack%20Center%20Benefit%20Overview%3C%2FA%3E.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHope%20that%20helps%20a%20bit.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-86374%22%20slang%3D%22en-US%22%3ERe%3A%20Using%20Robocopy%20to%20copy%20files%20from%20File%20Server%20to%20SharePoint%20Online%20Library%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-86374%22%20slang%3D%22en-US%22%3EWell%20I%20just%20wanted%20to%20be%20sure%2C%20bescause%20i%20thought%20if%20i%20map%20SP%20location%20(net%20use%20x%3A%20%22%3CA%20href%3D%22https%3A%2F%2FMytenant.sharepoint.com%2FOurLibrary%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2FMytenant.sharepoint.com%2FOurLibrary%3C%2FA%3E.....)%20then%20we%20can%20use%20it%20as%20a%20target.%20Thank%20you%20for%20your%20quick%20reply.%3CBR%20%2F%3E%3CBR%20%2F%3EAs%20for%20the%20Security%20Settings%20i%20wanted%20to%20Transfer%20NTFS%20%26amp%3B%20share%20Permissions%20of%20copied%20folders%20(from%20File%20Server)%20to%20SharePoint%20Online%20Libraries.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-86366%22%20slang%3D%22en-US%22%3ERe%3A%20Using%20Robocopy%20to%20copy%20files%20from%20File%20Server%20to%20SharePoint%20Online%20Library%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-86366%22%20slang%3D%22en-US%22%3E%3CP%3ENot%20sure%20to%20understand...%3C%2FP%3E%3CP%3EAFAIK%20Robocopy%20does%20not%20support%20cloud%20as%20a%20target%3A%20how%20do%20you%20think%20to%20use%20it%3F%3C%2FP%3E%3CP%3EAlso%2C%20what%20do%20you%20mean%20by%20%22to%20grant%20same%20security%20settings%22%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-991231%22%20slang%3D%22en-US%22%3ERe%3A%20Using%20Robocopy%20to%20copy%20files%20from%20File%20Server%20to%20SharePoint%20Online%20Library%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-991231%22%20slang%3D%22en-US%22%3E%3CP%3EJust%20for%20those%20who%20are%20still%20looking%20at%20solutions%20to%20migrate%20content%20to%20Sharepoint%20online%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EMicrosoft%20offers%20two%20tools%20for%20you.%20SharePoint%20Migration%20Tool%20and%20(soon)%20Moover.io%3C%2FP%3E%3CP%3ERead%20more%3A%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fsharepointmigration%2Fmigrate-to-sharepoint-online%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fsharepointmigration%2Fmigrate-to-sharepoint-online%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Deleted
Not applicable

We are going to copy over 300 Go of files from a file Server to SharePoint Online and we want to grant same security settings of the File Server. Can Robocopy help us ?

6 Replies
Highlighted

Not sure to understand...

AFAIK Robocopy does not support cloud as a target: how do you think to use it?

Also, what do you mean by "to grant same security settings"?

Highlighted
Well I just wanted to be sure, bescause i thought if i map SP location (net use x: "https://Mytenant.sharepoint.com/OurLibrary.....) then we can use it as a target. Thank you for your quick reply.

As for the Security Settings i wanted to Transfer NTFS & share Permissions of copied folders (from File Server) to SharePoint Online Libraries.
Highlighted

I'd suggest rethinking this idea.  I don't see how robocopy is going to help for this scenario nor can I see it working, based on what's been said so far.

 

300 GB (if that's right?) is a large migration and the last thing you want to do is just dump it onto SharePoint if that's the plan. Usually, if this hasn't been done already, there will be a data cleansing exercise, in other words, how much of that data truly needs to be migrated to the cloud. Just as important things like Information Architecture and Governance need to be mapped out, to give a solid foundation, depending on requirements.

 

I'd suggest looking at a SharePoint migration tool like ShareGate, that can do all sorts of things, like map security, bring across meta information, apply a taxonomy etc.  You may come across a 5K list view limit if not careful as well, something to look out for anyway.

 

Have a look at this for practical steps to get started, though it's not a recent article, it also has a long list of 3rd party products that can help:

 

Migrating File Shares to SharePoint Online

 

Also, depending on how many licences you have, you may be able to get some onboarding and migration assistance from Microsoft - FastTrack Center Benefit Overview.

 

Hope that helps a bit.

Highlighted

SharePoint mapping to a local drive does not work perfectly, unfortunately. You could have some problems using a mapped drive as a target for Robocopy. You can find several thread in this community where drive mapping has been discussed. Try a search.

Also, SharePoint is not a file share, so you will not be able to copy NTFS security settings. You'll have to design your SharePoint permissions. It's a quite complex subject. You can start from this article: https://support.office.com/en-us/article/Understanding-permission-levels-in-SharePoint-87ecbb0e-6550...

All in all, it could perhaps be better for you to use a third party migration tool. We have discussed also this subject several times, with the names of several of such tools.  Try a search.

Hope it helps...

Highlighted

There is an Import API avaiable, @Benjamin Niaulin has a nice review of its capabilities at https://en.share-gate.com/blog/office-365-import 

Highlighted

Just for those who are still looking at solutions to migrate content to Sharepoint online

 

Microsoft offers two tools for you. SharePoint Migration Tool and (soon) Moover.io

Read more: https://docs.microsoft.com/en-us/sharepointmigration/migrate-to-sharepoint-online

Related Conversations
How to register
Zoel33 in Microsoft Teams on
0 Replies
Files not showing in Teams for Android
caffeinman in Microsoft Teams on
0 Replies
Default Teams Sharepoint Permissions
BrianGGGG in Microsoft Teams on
1 Replies
List column customization
chinmaykulkarni in SharePoint on
1 Replies
Using systems audio on Teams
Fred_Swiderski in Microsoft Teams on
0 Replies