SOLVED

[SharePoint migration] Copy site contents with file version history to top level site

%3CLINGO-SUB%20id%3D%22lingo-sub-1387869%22%20slang%3D%22en-US%22%3E%5BSharePoint%20migration%5D%20Copy%20site%20contents%20with%20file%20version%20history%20to%20top%20level%20site%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1387869%22%20slang%3D%22en-US%22%3E%3CP%3EHello%20community%2C%3CBR%20%2F%3E%3CBR%20%2F%3EI%20used%20ShareGate%20Desktop%20to%20migrate%20a%20SP%202010%20site%20collection%2C%20especially%20featuring%20some%20libraries'%20document%20version%20history%2C%20to%20SharePoint%20Online.%20But%20I%20made%20a%20mistake.%20The%20migrated%20content%20is%20located%20under%20%3CXXX.SHAREPOINT.COM%3E%20and%20not%26nbsp%3B%3CXXX.SHAREPOINT.COM%3E%3C%2FXXX.SHAREPOINT.COM%3E.%3CBR%20%2F%3E%3CBR%20%2F%3EThe%20latter%20site%20collection%20already%20exists.%20What%20is%20the%20best%20way%20to%20get%20the%20site%20contens%20including%20the%20versions'%20history%20from%20a%20website%20to%20the%20top%20level%20site%3F%3CBR%20%2F%3EAfaik%20will%20the%20restructure%20function%20in%20ShareGate%20not%20do%20the%20trick.%3F%3CBR%20%2F%3E%3CBR%20%2F%3ECan%20someone%20help%20me%3F%3CBR%20%2F%3E%3CBR%20%2F%3EThanks%20in%20advance%3C%2FXXX.SHAREPOINT.COM%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1387869%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-1388569%22%20slang%3D%22en-US%22%3ERe%3A%20%5BSharePoint%20migration%5D%20Copy%20site%20contents%20with%20file%20version%20history%20to%20top%20level%20site%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1388569%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F338282%22%20target%3D%22_blank%22%3E%40JJBru%3C%2FA%3E%20%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDone%20this%20before%20myself%2C%20usually%20if%20I%20notice%20quickly%20I%20would%20just%20delete%20the%20subsite%20and%20do%20the%20migration%20again.%20If%20this%20is%20not%20a%20possibility%20then%20you%20can%20copy%20everything%20from%20that%20subsite%20to%20the%20higher%20level%20site.%20I%20have%20not%20used%20the%20restructure%20functionality%20yet%20so%20don't%20know%20if%20that%20will%20work%20within%20the%20same%20site%20collection.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1388659%22%20slang%3D%22en-US%22%3ERe%3A%20%5BSharePoint%20migration%5D%20Copy%20site%20contents%20with%20file%20version%20history%20to%20top%20level%20site%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1388659%22%20slang%3D%22en-US%22%3E%3CP%3ET%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F214649%22%20target%3D%22_blank%22%3E%40Andrew%20Hodges%3C%2FA%3E%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3EThank%20you%20for%20your%20answer.%20But%20what%20is%20the%20best%20way%20to%20copy%20all%20SharePoint%20contents%2C%20including%20document%20version%20history%20from%20libraries%2C%20from%20a%20web%20site%20to%20a%20top%20level%20(site%20collection)%20site%3F%3CBR%20%2F%3E%3CBR%20%2F%3EThe%20site%20content%20and%20structure%20feature%2C%20supposedly%20accessible%20when%20activating%20the%20publishing%20features%2C%20is%20not%20available%20for%20me%20on%20the%20concerning%20and%20another%20site%20collection%20of%20SharePoint%20Online.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1388890%22%20slang%3D%22en-US%22%3ERe%3A%20%5BSharePoint%20migration%5D%20Copy%20site%20contents%20with%20file%20version%20history%20to%20top%20level%20site%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1388890%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F338282%22%20target%3D%22_blank%22%3E%40JJBru%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20never%20had%20to%20activate%20any%20features%20to%20get%20the%20Site%20Content%20and%20Structure%20copy%20to%20work%2C%20but%20then%20again%20they%20could%20have%20already%20been%20on.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3BIf%20you%20can%2C%20I%20would%20recommend%20just%20migrating%20again.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20not%20then%20you%20could%20copy%20each%20individual%20library%20but%20if%20there%20are%20subsites%20that's%20going%20to%20get%20tricky.%20You%20could%20use%20the%20promote%20subsite%20feature%20to%20create%20a%20new%20site%20collection%20called%20PMO2.%20Delete%20the%20old%20including%20out%20of%20the%20recycle%20bin%20and%20then%20change%20the%20URL%20of%20the%20PMO2%20site%20to%20PMO.%26nbsp%3B%20I%20haven't%20tried%20this%20myself%20yet%20so%20word%20of%20caution%20but%20it%20should%20work.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fwww.sharepointdiary.com%2F2019%2F09%2Fsharepoint-online-change-site-collection-url-using-powershell.html%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.sharepointdiary.com%2F2019%2F09%2Fsharepoint-online-change-site-collection-url-using-powershell.html%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
New Contributor

Hello community,

I used ShareGate Desktop to migrate a SP 2010 site collection, especially featuring some libraries' document version history, to SharePoint Online. But I made a mistake. The migrated content is located under <xxx.sharepoint.com/pmo/pmo> and not <xxx.sharepoint.com/pmo/>.

The latter site collection already exists. What is the best way to get the site contens including the versions' history from a website to the top level site?
Afaik will the restructure function in ShareGate not do the trick.?

Can someone help me?

Thanks in advance

3 Replies
Highlighted

Hi @JJBru ,

 

Done this before myself, usually if I notice quickly I would just delete the subsite and do the migration again. If this is not a possibility then you can copy everything from that subsite to the higher level site. I have not used the restructure functionality yet so don't know if that will work within the same site collection.

 

 

 

Highlighted

T@Andrew Hodges 

Thank you for your answer. But what is the best way to copy all SharePoint contents, including document version history from libraries, from a web site to a top level (site collection) site?

The site content and structure feature, supposedly accessible when activating the publishing features, is not available for me on the concerning and another site collection of SharePoint Online.

Highlighted
Best Response confirmed by JJBru (New Contributor)
Solution

Hi @JJBru ,

 

I have never had to activate any features to get the Site Content and Structure copy to work, but then again they could have already been on. 

 

 If you can, I would recommend just migrating again. 

 

If not then you could copy each individual library but if there are subsites that's going to get tricky. You could use the promote subsite feature to create a new site collection called PMO2. Delete the old including out of the recycle bin and then change the URL of the PMO2 site to PMO.  I haven't tried this myself yet so word of caution but it should work. 

 

https://www.sharepointdiary.com/2019/09/sharepoint-online-change-site-collection-url-using-powershel...