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

时间:2022-12-23 19:40:56

I have a SharePoint virtual machine in one active directory domain (for example domain1) and I want to transfer all the sites it has to another active directory domain (domain2). I don’t know which could be the best procedure to do this, if I detach and attach my virtual machine from domain1 to domain2 it probably didn’t work since all the accounts used by SharePoint are no longer valid. (Both domain are not in the same network and didn’t trust each other). Additionally I could export the sites in domain1 and import them on domain2 using stsadm, but if I use this technique I have to manually install all the features, solutions and personalization I made on my original server. Does anybody know the best approach to “move” the sites from one domain to another?

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

2 个解决方案

#1


1  

There is a STSADM Custom Extension: move web that should be what you are looking for:

有一个STSADM自定义扩展:移动网络应该是您正在寻找的:

C:>stsadm -help gl-moveweb

C:> stsadm -help gl-moveweb

stsadm -o 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)]

参数:-url -parenturl [-haltonwarning(仅在移动到新网站集时才考虑)] [-haltonfatalerror(仅在移动到新网站集时才考虑)] [-includeusersecurity(仅在移动到新网站集时考虑) ] [-retainobjectidentity(只考虑移动到新的网站集)]

#2


0  

You may have some sucess by adding a local account to the administrators group and joining the server to the new domain. Then manualy updateing all of the AD accounts that are used in the server. I sould note that all of your users will then have new accounts that are not related to the old ones.

您可以通过向管理员组添加本地帐户并将服务器加入新域来实现一些成功。然后手动更新服务器中使用的所有AD帐户。我会注意到,您的所有用户都将拥有与旧帐户无关的新帐户。

You sould ask your domain admins about an SID update to the new accounts so they also have the SID's from the old domain.

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

#1


1  

There is a STSADM Custom Extension: move web that should be what you are looking for:

有一个STSADM自定义扩展:移动网络应该是您正在寻找的:

C:>stsadm -help gl-moveweb

C:> stsadm -help gl-moveweb

stsadm -o 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)]

参数:-url -parenturl [-haltonwarning(仅在移动到新网站集时才考虑)] [-haltonfatalerror(仅在移动到新网站集时才考虑)] [-includeusersecurity(仅在移动到新网站集时考虑) ] [-retainobjectidentity(只考虑移动到新的网站集)]

#2


0  

You may have some sucess by adding a local account to the administrators group and joining the server to the new domain. Then manualy updateing all of the AD accounts that are used in the server. I sould note that all of your users will then have new accounts that are not related to the old ones.

您可以通过向管理员组添加本地帐户并将服务器加入新域来实现一些成功。然后手动更新服务器中使用的所有AD帐户。我会注意到,您的所有用户都将拥有与旧帐户无关的新帐户。

You sould ask your domain admins about an SID update to the new accounts so they also have the SID's from the old domain.

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