How Restore a multi-tenant site and change host header

Hello,

I'm trying do replicate a new test environment (FARM A)  from my production environment (Farm B). I have a multi-tenant site with 6 sites colection. 

Does anybody know what is the best procedure to do that?

I've searched a lot but and I never found something without problems. 

April 28th, 2012 1:59pm

Hi.

I would suggest to use Export-SPWeb from production Farm A, then Import-SPWeb to Farm B. Export-SPWeb will export the entire site collection, if you want it can even keep the permissions(using IncludeUserSecurity).
For reference:

Export-SPWeb
http://technet.microsoft.com/en-us/library/ff607895.aspx

Import-SPWeb
http://technet.microsoft.com/en-us/library/ff607613.aspx

If its a publishing environment, then you could even automate the replication using a content deployment.

Content deployment overview (SharePoint Server 2010)
http://technet.microsoft.com/en-us/library/ee721058.aspx

Regards

Free Windows Admin Tool Kit Click here and download it now
April 29th, 2012 8:45pm

Thanks a lot for your answser. My problem is if I do with export and import commands, I will lost all tenant site configurations (Cthub, metadata information, etc). All shared services will lost because they are not in the same database as content...
May 5th, 2012 1:41pm

Hello Vitor,

Export and Import all the site configurations (Cthub, metadata information, etc). and make sure to reassign the sitesubscription with the right URL mapping to the respective OU path.

$sub = New-SPSiteSubscription

Set-SPSite $url -SiteSubscription $sub

Example: Set-SPSiteSubscriptionConfig $url -UserAccountDirectoryPath $ou

Set-SPSiteSubscriptionConfig $url/admin -UserAccountDirectoryPath $ou

Note: If you are importing with the same URL in the same farm then the OU information will be stored in the user profile service application database which inturn won't allow to use the new subscription.

Regards,

Shiva Prasad B C

Cheers!!! Happy Troubleshooting!!!

Free Windows Admin Tool Kit Click here and download it now
July 5th, 2013 6:12pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics