|
From The Field > Posts > Moving MySite data to its own web app and own DB
|
|
Thanks to PFE legend Lisa Guthrie for this post.
Question
Is there a way to extract the MySite data created on the WSS_Content database in a standalone install and move this to a separate content database then use a new web application to host MySite?
Answer
- Make sure you have this WSS hotfix installed: http://support.microsoft.com/kb/939188/ (Note: This fix is also included in WSSv3 SP1)
- Create a new, empty content database in your OLD web application. Let’s call it MySitesContentDB.
- Run the following command to enumerate all the site collections in your default content database:
stsadm –o enumsites –url http://oldservername –databasename dev1_SITE > MySites.xml
- Open the MySites.xml file that is created in Notepad or another text editor. You’ll see a <Site> entry for every site in the content database. Remove any entries that refer to sites that are not MySites. You should be left with a list of all of your MySites. Save the file.
- Run the following command to move all of your MySites from the default content database to the new content database:
stsadm –o mergecontentdbs –url http://oldservername –sourcedatabasename dev1_SITE -destinationdatabasename MySitesContentDB –operation 3 –filename MySites.xml
- Create a NEW web application to host your MySites.
- Remove MySitesContentDB from the list of content databases for the OLD web application.
- Add MySitesContentDB to the list of content databases for the NEW web application.
- Update the SSP so that it uses the NEW web application as the MySite web application.
- Test and make sure everything looks good.
|
View in Web Browser /blogs/fromthefield/_layouts/VisioWebAccess/VisioWebAccess.aspx?listguid={ListId}&itemid={ItemId}&DefaultItemOpen=1 0x0 0x1 FileType vdw 255 Compliance Details javascript:commonShowModalDialog('{SiteUrl}/_layouts/itemexpiration.aspx?ID={ItemId}&List={ListId}', 'center:1;dialogHeight:500px;dialogWidth:500px;resizable:yes;status:no;location:no;menubar:no;help:no', function GotoPageAfterClose(pageid){if(pageid == 'hold') {STSNavigate(unescape(decodeURI('{SiteUrl}'))+'/_layouts/hold.aspx?ID={ItemId}&List={ListId}'); return false;} if(pageid == 'audit') {STSNavigate(unescape(decodeURI('{SiteUrl}'))+'/_layouts/Reporting.aspx?Category=Auditing&backtype=item&ID={ItemId}&List={ListId}'); return false;} if(pageid == 'config') {STSNavigate(unescape(decodeURI('{SiteUrl}'))+'/_layouts/expirationconfig.aspx?ID={ItemId}&List={ListId}'); return false;}}, null); return false; 0x0 0x1 ContentType 0x01 898 Edit in Browser /_layouts/images/icxddoc.gif /blogs/fromthefield/_layouts/formserver.aspx?XsnLocation={ItemUrl}&OpenIn=Browser&Source={Source} 0x0 0x1 FileType xsn 255 Edit in Browser /_layouts/images/icxddoc.gif /blogs/fromthefield/_layouts/formserver.aspx?XmlLocation={ItemUrl}&OpenIn=Browser&Source={Source} 0x0 0x1 ProgId InfoPath.Document 255 Edit in Browser /_layouts/images/icxddoc.gif /blogs/fromthefield/_layouts/formserver.aspx?XmlLocation={ItemUrl}&OpenIn=Browser&Source={Source} 0x0 0x1 ProgId InfoPath.Document.2 255 Edit in Browser /_layouts/images/icxddoc.gif /blogs/fromthefield/_layouts/formserver.aspx?XmlLocation={ItemUrl}&OpenIn=Browser&Source={Source} 0x0 0x1 ProgId InfoPath.Document.3 255 Edit in Browser /_layouts/images/icxddoc.gif /blogs/fromthefield/_layouts/formserver.aspx?XmlLocation={ItemUrl}&OpenIn=Browser&Source={Source} 0x0 0x1 ProgId InfoPath.Document.4 255 View in Browser /blogs/fromthefield/_layouts/xlviewer.aspx?id={ItemUrl}&DefaultItemOpen=1 0x0 0x1 FileType xlsx 255 View in Browser /blogs/fromthefield/_layouts/xlviewer.aspx?id={ItemUrl}&DefaultItemOpen=1 0x0 0x1 FileType xlsm 255 View in Browser /blogs/fromthefield/_layouts/xlviewer.aspx?id={ItemUrl}&DefaultItemOpen=1 0x0 0x1 FileType xlsb 255 View in Browser /blogs/fromthefield/_layouts/xlviewer.aspx?id={ItemUrl}&DefaultItemOpen=1 0x0 0x1 FileType ods 255 |
|
|
|
|
|