Steps to Migrate a Web Application between SharePoint 2013 Farms

  1. Create a new web application on the target farm;
  2. Run this command under SharePoint 2013 Management Shell of target farm server with administrator privilege:

Get-SPContentDatabase -WebApplication <url> | Dismount-SPContectDatabase

  1. Delete or detach the related database of this application of target farm;

  2. Attach or restore the database of the source web application to the SqlServer of target farm;

  3. Run this command under SharePoint 2013 Management Shell of target farm server with administrator privilege:

Mount-SPContentDatabase <DBName> -DatabaseServer <DBServerName> -WebApplication <url>

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.