Based on the white paper, http://office.microsoft.com/download/afile.aspx?AssetID=AM102421321033 , we performed the following:
1. Setup two servers that mirror the production portal.
2. Configured new MOSS 2007 Portal Farm.
3. Backup the production portal and restore it to the migration portal.
4. Upgrade the SQL server to SQL 2005 and run stsadm.exe -o upgrade /forceupgrade
5. Ran prescan.exe and corrected problems until prescane.exe ran error free.
6. Stopped the migration portal.
7. Detached the …_SITE and …_PROF databases from the migration SQL server.
8. Copied the …_SITE and …_PROF databases to the MOSS Farm SQL Server and attached the databases.
9. Ran stsadm -o addcontentdb -url <URL> –databasename <database name>
10. Based on http://technet.microsoft.com/en-us/library/cc263299.aspx, ran:
[-databaseserver <server name>]stsadm -o restoressp -title SSPName-url http://portal:PortNumber –
ssplogin DOMAIN\ServiceAccount -mysiteurl http://portal:PortNumber/mysite
-indexserver MIGRATIONSERVERNAME -indexlocation "C:\Program
Files\Microsoft Office Servers\12.0\Data\Office Server\Applications" –
keepindex -sspdatabaseserver SQLSERVERNAME -sspdatabasename SPS2003_PROF
-ssppassword ServiceAccountPassword
11. Reset all sites to the default definition.
Hope this helps.