locked
SharePoint 2013 Restore to a different domain and farm RRS feed

  • Question

  • Hello,

    I currently have a SharePoint 2013 Farm in a DMZ AD domain.

    I would like to restore the contents of the sites to a different UAT AD domain.

    What is the best way to proceed with this?

    THanks

    Monday, April 18, 2016 5:05 PM

Answers

  • You have to Backup the Content Databases from DMZ Domain Farm and then restore + mount them to UAT AD Domain farm.  You will then add the UAT AD Domain users to SharePoint Sites you just restored.  If you have users with same account name in this farm then you would run Move-SPUser to migrate from DMZ domain to UAT Domain. 

    https://technet.microsoft.com/en-us/library/ff607729.aspx?f=255&MSPPError=-2147217396

    The question I have is why you have two different domains for DMZ and UAT? If DMZ domain is used only by external users then it look logical but if have domain just because you have farm in DMS then it does not looks logical to me.


    Jerry Yasir - Office Server & Services MVP/MCT Hewlett Packard Enterprise - If this reply helped you resolve your issue, please propose as answer. It may help other community members. Thanks!

    • Proposed as answer by Victoria Xia Tuesday, April 26, 2016 12:41 AM
    • Marked as answer by Sara Fan Tuesday, May 3, 2016 1:11 AM
    Monday, April 18, 2016 5:46 PM
  • If you already have the farm in 2nd UAT AD domain then

    • make sure the both SharePoint farm(source and destination) on same version level
    • create a web application and apply the customization(if any),
    • configure the Authentication for the web app.
    • Backup the Content Database from Source Farm
    • Move the Backup to destination farm sql server
    • Restore the backup to destination farm
    • Attach the DB to web application
    • migrate the user
    • Test it.

    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://krossfarm.com

    • Proposed as answer by Victoria Xia Tuesday, April 26, 2016 12:41 AM
    • Marked as answer by Sara Fan Tuesday, May 3, 2016 1:11 AM
    Monday, April 18, 2016 5:47 PM
  • Hi,

    If you have same layout directory structure in your new domain then it is okay you can think to migrate or can proceed otherwise you need to be sure to move your 14 or 15 HIVE from the old farm to the new server so you have all custom Themes, MasterPages, code etc.

    Here if you want to perform this with out of box way I mean without tool or third party application

    You can take the back up of site collection and restore of the content DB.   You can simply create a new Web application and run stsadm -0 addcontentdb -url http://newfarmurl -databasename NameOfTheBackedUpDB.

    This restoration will be happened with your SharePoint with the old domain accounts, you will then need to use your new FARM Account to access the site and re-grant permissions based on your new domain. Firstly here you have to add added farm account to admin permissions on SQL box and newly added database

    Check the below article as well for more information

    http://www.networksteve.com/enterprise/topic.php/[IMPORTANT]_-_How_to_move_Site_Collections_to_New_Content_DataBa/?TopicId=111580&Posts=2

    http://blogs.technet.com/b/sushrao/archive/2011/12/02/sharepoint-migrating-sharepoint-server-from-one-domain-to-another.aspx

    http://sharepoint.stackexchange.com/questions/121206/migrating-user-accounts-from-one-ad-domain-to-another-ad-domain-using-powershell


    KRISHANA KUMAR

    SharePoint Architect

    Mosstechnet-kk.com

     

    Please click "Mark As Answer" if this post solves your problem or "Vote As Helpful" if it was useful

    • Proposed as answer by Victoria Xia Tuesday, April 26, 2016 12:41 AM
    • Marked as answer by Sara Fan Tuesday, May 3, 2016 1:11 AM
    Monday, April 18, 2016 5:48 PM
  • Configuration database can not be restored.  If You are restore data only then you need Content databases.  If you want to synchronize specific configuration like Search Settings or MMS then you can restore those databases as well and create the service application.

    I am not that big expert of AD on DMZ but any specific reason you have not thought about Read Only replicated domain in DMZ?


    Jerry Yasir - Office Server & Services MVP/MCT Hewlett Packard Enterprise - If this reply helped you resolve your issue, please propose as answer. It may help other community members. Thanks!

    • Proposed as answer by Victoria Xia Tuesday, April 26, 2016 12:41 AM
    • Marked as answer by Sara Fan Tuesday, May 3, 2016 1:11 AM
    Tuesday, April 19, 2016 9:25 PM

All replies

  • You have to Backup the Content Databases from DMZ Domain Farm and then restore + mount them to UAT AD Domain farm.  You will then add the UAT AD Domain users to SharePoint Sites you just restored.  If you have users with same account name in this farm then you would run Move-SPUser to migrate from DMZ domain to UAT Domain. 

    https://technet.microsoft.com/en-us/library/ff607729.aspx?f=255&MSPPError=-2147217396

    The question I have is why you have two different domains for DMZ and UAT? If DMZ domain is used only by external users then it look logical but if have domain just because you have farm in DMS then it does not looks logical to me.


    Jerry Yasir - Office Server & Services MVP/MCT Hewlett Packard Enterprise - If this reply helped you resolve your issue, please propose as answer. It may help other community members. Thanks!

    • Proposed as answer by Victoria Xia Tuesday, April 26, 2016 12:41 AM
    • Marked as answer by Sara Fan Tuesday, May 3, 2016 1:11 AM
    Monday, April 18, 2016 5:46 PM
  • If you already have the farm in 2nd UAT AD domain then

    • make sure the both SharePoint farm(source and destination) on same version level
    • create a web application and apply the customization(if any),
    • configure the Authentication for the web app.
    • Backup the Content Database from Source Farm
    • Move the Backup to destination farm sql server
    • Restore the backup to destination farm
    • Attach the DB to web application
    • migrate the user
    • Test it.

    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://krossfarm.com

    • Proposed as answer by Victoria Xia Tuesday, April 26, 2016 12:41 AM
    • Marked as answer by Sara Fan Tuesday, May 3, 2016 1:11 AM
    Monday, April 18, 2016 5:47 PM
  • Hi,

    If you have same layout directory structure in your new domain then it is okay you can think to migrate or can proceed otherwise you need to be sure to move your 14 or 15 HIVE from the old farm to the new server so you have all custom Themes, MasterPages, code etc.

    Here if you want to perform this with out of box way I mean without tool or third party application

    You can take the back up of site collection and restore of the content DB.   You can simply create a new Web application and run stsadm -0 addcontentdb -url http://newfarmurl -databasename NameOfTheBackedUpDB.

    This restoration will be happened with your SharePoint with the old domain accounts, you will then need to use your new FARM Account to access the site and re-grant permissions based on your new domain. Firstly here you have to add added farm account to admin permissions on SQL box and newly added database

    Check the below article as well for more information

    http://www.networksteve.com/enterprise/topic.php/[IMPORTANT]_-_How_to_move_Site_Collections_to_New_Content_DataBa/?TopicId=111580&Posts=2

    http://blogs.technet.com/b/sushrao/archive/2011/12/02/sharepoint-migrating-sharepoint-server-from-one-domain-to-another.aspx

    http://sharepoint.stackexchange.com/questions/121206/migrating-user-accounts-from-one-ad-domain-to-another-ad-domain-using-powershell


    KRISHANA KUMAR

    SharePoint Architect

    Mosstechnet-kk.com

     

    Please click "Mark As Answer" if this post solves your problem or "Vote As Helpful" if it was useful

    • Proposed as answer by Victoria Xia Tuesday, April 26, 2016 12:41 AM
    • Marked as answer by Sara Fan Tuesday, May 3, 2016 1:11 AM
    Monday, April 18, 2016 5:48 PM
  • Ok

    Yes The DMZ AD is actually in the DMZ...UAT was placed internally for security reasons.

    In any case do I just have to backup/restore the content database or the rest of the SharePoint databases...like configuration database etc..

    Tuesday, April 19, 2016 9:17 PM
  • Configuration database can not be restored.  If You are restore data only then you need Content databases.  If you want to synchronize specific configuration like Search Settings or MMS then you can restore those databases as well and create the service application.

    I am not that big expert of AD on DMZ but any specific reason you have not thought about Read Only replicated domain in DMZ?


    Jerry Yasir - Office Server & Services MVP/MCT Hewlett Packard Enterprise - If this reply helped you resolve your issue, please propose as answer. It may help other community members. Thanks!

    • Proposed as answer by Victoria Xia Tuesday, April 26, 2016 12:41 AM
    • Marked as answer by Sara Fan Tuesday, May 3, 2016 1:11 AM
    Tuesday, April 19, 2016 9:25 PM