>
Our SharePoint 2010 migration is planned for next year (2011). To prepare this I did a test-migration of our 2007 platform to a new 2010 environment. These were the steps I followed:
- Setup a new environment:
- a server (Windows server 2008 R2 Standard) with 8GB RAM memory where we will install the SharePoint 2010 environment.
- a server (Windows server 2008 R2 Standaard) with 8GB RAM memory where we install SQL Server 2008 Standard and where we will put our content databases.
- Take a SQL backup of the 2007 content database you want to migrate
- BACKUP DATABASE nameOfTheContentDB TO DISK=’backuppath\file.bak’
- In a production environment you have to mark you databases as readonly at this time so nobody can put new information in it.
- Copy the backup file to the new SQL server
- Restore the database on the new server (using the SQL Server management studio)
- In the Central Administration, delete the contentdb of the (in my case: empty) webapplication you want to restore/migrate: http://servername:2010/_admin/CNTDBADM.aspx
- At this point we will test the database by using this powershell command:
- Test-SPContentDatabase –name dbname –WebApplication http://servername
- the output of this command is a list with errors and warnings. Read them very carefully and try to fix them. Most of the errors are missing features of missing webparts (that –in most cases- use those features). Install the missing solutions/features on the new webserver and run the command again. Some of the errors are not blokking the upgrade so if you can’t fix them all that is not a problem. You can also do this later (but try to do this at this time! This will save you a lot of time)
- Add the database to the webapplication by using this powershell command:
- Mount-SPContentDatabase –Name dbname –DatabaseServer dbservername –WebApplication http://servername
- This can take some time so grab a coffee!
- Read the error/log file at the end!
There steps did it for me. Now I can fix some broken webpart of views …
>Gene, how are you going to deal with the config database?
>I only have to restore the contentdb. We start with a new config db. in pnt. 7.1 I setup the features.
>We had some corrupted lists 🙁