如何将SharePoint网站从一个活动目录域移动到另一个?

时间:2020-03-05 18:56:17  来源:igfitidea点击:

我在一个活动目录域(例如domain1)中有一个SharePoint虚拟机,我想将它拥有的所有站点转移到另一个活动目录域(domain2)中。
我不知道哪种方法是最好的方法,如果我将虚拟机从domain1分离并将其添加到domain2,则可能无法正常工作,因为SharePoint使用的所有帐户都不再有效。 (两个域都不在同一个网络中并且彼此不信任)。
另外,我可以使用stsadm导出domain1中的站点并将其导入domain2中,但是如果使用此技术,则必须手动安装我在原始服务器上所做的所有功能,解决方案和个性化设置。
有谁知道将站点从一个域移动到另一个域的最佳方法?

解决方案

回答

通过将本地帐户添加到Administrators组并将服务器加入新域,我们可能会有些成功。然后,手动更新服务器中使用的所有AD帐户。我要注意的是,所有用户都将拥有与旧帐户无关的新帐户。

我们可以向域管理员询问有关新帐户的SID更新,以便他们也具有旧域中的SID。

回答

有一个STSADM自定义扩展名:移动网络应该是我们想要的:

C:>stsadm -help gl-moveweb
  
  stsadm -o gl-moveweb
  
  Moves a web.
  
  Parameters:
         -url 
         -parenturl 
         [-haltonwarning (only considered if moving to a new site collection)]
         [-haltonfatalerror (only considered if moving to a new site collection)]
         [-includeusersecurity (only considered if moving to a new site collection)]
         [-retainobjectidentity (only considered if moving to a new site collection)]