Restore My Sites from different domain
After a major crash, we had to reinstall Active Directory. The SharePoint server was fine, but we were planning to reinstall it on a newer server, so we did that also.
So a crash of Active Directory (with problems to restore the backup) is really what’s called a ‘worst case scenario’. Because restoring the SharePoint backup isn’t that easy. Although the restore action, using the command line tool stsadm, is easy, you will run into security problems. Because SharePoint will not actually look to domain user names, but to the underlying GUID’s. And believe me, that’s not what you like to deal with. Anyway, I had to.
Restoring the credentials for almost all sites are successfully restored, took me a while, but seems to be fine now. But we are using also My Sites, and that’s a different story. If you are familiar with the Central Administration of SharePoint, you may know that each My Site is a different site collection. I tried different ways to restore the My Sites for the users, but failed. Today, I succeeded and I like to share it with you. You may deal with this problem too when migrating from one server farm to another or from one domain to another.
I have different backup files of the My Sites (with extension .dat). In this procedure I will illustrate the steps with the user Brian Cox. So I have a brian_cox.dat file, which is the backup of his My Site (which is a site collection in SharePoint).
stsadm –o restore –url http://intranet/personal/brian_cox -filename c:\backup\brian_cox.dat -overwrite




0 comments:
Post a Comment