Migration from MOSS 2007 to SharePoint 2010

Migration steps from MOSS 2007 to SharePoint 2010
System Requirements
  • For migration from MOSS 2007 to SharePoint 2010 the minimum requirement is WSS SP2 and Office Server SP2 must be installed in the MOSS 2007 server. So before upgrade the content database make sure both the things are installed in the source server

Preupgrade check
  • Preupgradecheck command will let us know about the things that may restrict us to upgrade the database in SharePoint 2010 server. Before upgradation we need to fixed up all the steps which are failed in the preupgradecheck.


Backup Content Database of MOSS 2007 site
  • Before start taking backup of the database first go to the Manage Content Databases section in the Central Administration site and check the name of the database attach to your site.

Central AdministrationApplication Management->Manage Content databases


  • Open SQL Server right click on the databaseTasksBack Up
  • Click on Add button and browse to the path where you want to copy the backup file



Move the database to destination server
  • Move the backed up database to your destination database server and restore it SQL server

Restoring Content Database
  • Open SQL Server right click on Database Restore database


  • Specify a database name for restoring the database. If the specified database name is exist in the list of databases then your backed up database will overwrite it else it will create a new database and restore over it.
  • Go to the Options page and check the Overwrite the existing database checkbox



Create a blank site in destination server
  • For creating blank site in SharePoint 2010, open the Central Administration site and click on Manage web application link in the Application Management group.

Central AdministrationApplication ManagementManage web applications
  • Click on New link from the top left corner of the page


  • Enter the details of the site


  • Make the site Configurable and give the Service Account for it


  • After the Web Application is created click on Create Site Collection link for creating a blank site collection for the Web Application



  • Give service account for Primary Site Collection Administrator




Detaching Content Database
  • After the site get created go to Manage Content Database section and detach the database attached with the blank site
  • Central AdministrationApplication ManagementManage content databases

Click on the database

  • Check the Remove content database check box and click OK for the warning message


  • Click OK button and remove it


Upgrading and Attaching Content Database
  • After detaching the database attached with the blank site, our next step is to upgrade the MOSS 2007 site content Database restored in SQL Server and attach it to our blank site using PowerShell command prompt
  • Run PowerShell with Administrator privilege
  • Test –SPContentDatabase –Name [Database Name] –WebApplication [Web Application Name]
  • The above command will check the database for any references are missing in the destination server [i.e Custom Feature, Custom Webpart, Custom Site Definition etc].If any of the components are missing then deploy those to the destination server .Basically the custom components do not restrict the upgradation of the database, you can deploy this after upgradation too but it’s a good practice to deploy it before upgradation of the database.


  • Mount –SPContentDatabase –Name [Database Name] –WebApplication [Web Application name]
  • The above command will upgrade the database and attach with the site collection of the specified web application

Comments

Popular posts from this blog

Auto-Generating Filenames for InfoPath Forms

Creating Three-state workflow in SharePoint 2010