August 3, 2011

Steps for Migrating MOSS 2007 Application to Sharepoint 2010

-Take the backup of the content databases from sql server.

-Create an empty database with same names.

-Restore the content databases to the newly created databases.

-Then go to the central administration in the server.

-Create an empty web application

-Click on the application management tab

-Click on “content databases” link

-Delete the already existing database that was created when the web application was created.

-Now use stsadm to add restored DB’s to this web app

-Run this command for each content database.

Stsadm –o addcontentDB –URL ‘url of the application’ -databasename ‘database
name’-databaserver ‘server name’


Or else run this command power shell management console

New-SPContentDatabase -Name -WebApplication

-Run IISRESET
from command prompt.

-Copy the production server 12-hive folder and copy the 80 folder present
in “\\C:\Inetpub\wwwoot\wss\virtualDirectories\80” to 14-hive folder.

-Copy the dll’s from the \\assembly\Gac_msil\ folder from the production server to the working environment.

-Change the connection strings present in all the files present in the \\12\template\CONTROL TEMPLATES\ folder and \\12\template\LAYOUTS\ folder.

-Copy the backup of the custom databases of applications if any to the Database working environment.

-Create empty databases in Sql server with the same names.

-Restore the respective databases by right-clicking on the Databases-Tasks-Restore-Database.

-Select “Source of restore” option as “From device” and browse to the database backup files.

-Then check the application

-Create the Virtual Directories if the applications have any.

No comments:

Migrate SharePoint 2010 Infopath to SharePoint Online

 Below are the steps to follow to migrate the Infopath data to SP Online.