How can I move mysites to a new location

Posted by Bob on Server Fault See other posts from Server Fault or by Bob
Published on 2009-09-12T23:15:38Z Indexed on 2012/04/09 23:34 UTC
Read the original article Hit count: 324

Filed under:
|

I recently restored my content and was instructed to create mysites in a different location than was originally used. Now I have several users mysites in /personal. The new desired location is /mysites. From what I found in the documentation I should back them up and restore them to the new location.

Here's what I've done:

  • Backup individual site collection for user mysite

stsadm -o backup -url "https://myUrl/personal/john_smith" -filename johnsmith.bkup

  • Restore individual site collection for user mysite

stsadm -o restore -url "https://myUrl/mysites/john_smith" -filename johnsmith.bkup -overwrite

The result of this and the problem is when i enumerate sites i end up with this:

<Site Url="https://myUrl/mysites" Owner="domainname\john.smith" ContentDatabase="WSS_Content_MySites" StorageUsedMB="1.6" StorageWarningMB="90000" StorageMaxMB="100000" />

it leaves off the username part of the url. and if I restore more that one they want to overwrite each other.

© Server Fault or respective owner

Related posts about sharepoint

Related posts about sharepoint-2007