|
|
WSS 3.0 & Sharepoint 2007 Database Migration Strategy Steps For Migrating A Single Sharepoint 2003 Site
|
 |
 |
I was searching for some information on the strategy on how to move just an individual
site from Sharepoint 2003/WSS V2.0 to Sharepoint 2007/WSS V3.0. I found a lot of information
on how to do an In-Place and Gradual upgrade but nothing on how to just move a single site. This
article is written based on moving a single site from a single server instance of Sharepoint 2003/WSS
V2.0 to a single server installation of Sharepoint 2007/WSS V3.0. If your environment is different
some of the steps below will need to be modified for your purposes. Below are the steps on how to
move just a single Sharepoint 2003/WSS V2.0 site to Sharepoint 2007/WSS V3.0:
|
 |
-
You will need to run the prescan.exe tool from Sharepoint 2007 on the Sharepoint 2003 database first.
Since this will create errors on the 2003 site I would recommend making a backup of the site and
restoring the backup of the site to run the prescan on. Use the stsadm tool in 2003 to make your backup
and do the restore of the site.
-
When the site has been restored copy the Prescan tool from the sever running Sharepoint 2007 to the server
running Sharepoint 2003. The Prescan tool is located in
<system root>\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN.
-
On the server running Sharepoint 2003 open a command prompt and navigate to the directory that you
copied the Prescan tool to.
-
On the command prompt run the Prescan tool with the following command: prescan /V <URL to virtual server
you are upgrading>
NOTE: if you use the /ALL option this will run the prescan on your entire farm.
-
Once the prescan has completed make a backup of the content database for the virtual server we just
ran the prescan on.
-
Copy the database backup to the server running Sharepoint 2007
-
Restore the database backup onto the SQL server that Sharepoint 2007 is using.
-
Open the Sharepoint 3.0 Central Administration site. This can be located at
Start->Administrative Tools->Sharepoint 3.0 Central Administration.
-
Click on the Application Management tab at the top of the screen
-
Go to "Create or extend Web Application" under the "Sharepoint Web Application Management" section.
-
Click on "Create a new Web application" to create the new Web Application where we are going to restore our Sharepoint 2003/WSS V2.0 site to.
-
Fill in the appropriate information to create a Sharepoint 2007/WSS V3.0 Web Application in your environment and click "OK"
-
Once the "Operation in Progress" screen has disappeared and the create operation is completed you will be taken to the "Application Created" screen. Do not go to "Create Site Collection".
-
Open a command prompt
-
Run the Sharepoint stsadm tool with the following command line:
stsadm –o addcontentdb –url <url of the site you created> -databasename <name of the database you restored>
-databaseserver <name of the database you are restoring to>
NOTE: We need to use the stsadm command line tool to add the new content database because the web
application may timeout if you use it to add the content database.
-
Click "Enter" and the content database will be added to the site.
-
Return to the Sharepoint 3.0 Central Administration application and click on the "Application Management" tab.
-
Click on the "Content databases" link under the "Sharepoint Web Application Management"
-
You will be redirected back to the "Content databases" screen
-
Make sure that the Web Application you just created is selected in the drop-down list of Web Applications.
-
Click on the content database that was initially created when you created the web application.
-
On the screen that appears click the check box next to "Remove content database".
-
Click "OK". This will remove the initial database from the SQL Server.
-
Your site is not ready to access. However if you are moving to a machine that has different
user accounts you may have a problem logging into the new site. If you do follow the rest of the
steps in the article.
-
Go to the "Application Management" tab in the Sharepoint 3.0 Central Administration application.
-
Click on "Site Collection Owners" located under "Sharepoint Site Management"
-
Make sure the correct Web Application is selected in the drop-down
-
Set the Primary and Secondary site collection owners to the correct user accounts and click "OK"
-
Your site will now be ready to access with primary or secondary site collection owner account.
|