Mount-SPContentDatabase in SharePoint 2013

In this blog you will see how to attach the existing SharePoint content database to the target web application in SharePoint 2013.

I was working on the migration from SharePoint 2010 to SharePoint 2013. I want to add the SharePoint 2010 content database to the target web application, when I tried to add the existing content database through Central Administration I was getting the following error.We can attach the existing SharePoint Content Database to the target web application using Mount-SPContentDatabase, this cmdlet upgrades automatically the content database if it detects that there is a mismatch with the version of the farm

Mount-SPContentDatabase "SharePointMigration_cf6b1e7d853843749114260cc64d4daa" -DatabaseServer “C4968397007" -WebApplication http://C4968397007:20130

  •   SharePointMigration_cf6b1e7d853843749114260cc64d4daa” is the name of the database.
  •   C4968397007” is the name of the database server.
  •   http://c4968397007 is the public URL for the web application.

 

Note: Make sure you have required memberships to perform this activity.

Ebook Download
View all
Learn
View all