sharepointking

Just another WordPress.com site

Monthly Archives: September 2010

Migration sharepoint 2007 blog to 2010 blog

1.Take backup of the source site contentDB and restore the it on target server.
2. Create the web application in SharePoint 2010, and then create the site collection with blank template
3. Once finished creating the SharePoint 2010 site, go to central administration –> Manage content databases –> select the web application you created for migration –> click on database –> check in the remove content database –> click ok

4.Add the restored database in the target site by using stsadm.exe in command prompt
stsadm.exe -o addcontentdb -url http://sharepoint-server:1001 -databasename db-name -databaseserver db-server -databaseuser sa -databasepassword mypassword

Detail Steps:

ref. migration: http://technet.microsoft.com/en-us/library/cc287634.aspx

1. create new database for XYZ blog site using sharepoint 2010 blog template
2. restore backup of old (wss 3.0) blog content db
3. create new web application of XYZ blog in sharepoint foundation 2010
4. remove database of newly created web application of XYZ blog from central admin
5. run stsadm command for Test-SPContentDatabase -Name -WebApplication to check custom component verficication
6. stsadm -o addcontentdb -url http://localhost: -databasename “WSS_Content_XYZ _default” -databaseserver DB-server -databaseuser sa -databasepassword
7. now access your web application and you might receive access denied as in my case domain got changed so go to central admin and set site collection admin for same.
8. extend blog site to blogs.XYZ.com. where allow it for anonymous acess
9. go to site settings in both extended and original site and activate ribbon feature to hide it to anonymous user

–Cheer