备份和还原Sharepoint站点(不是站点集合)

时间:2013-04-20 11:32:09

标签: sharepoint sharepoint-2010

我的设置:
Sharepoint 2010 SP1 SiteCollection网址:http://sp2010:8083/
网站网址:http://sp2010:8083/abc

要求:
需要更改网站的URL
来自http://sp2010:8083/abc
http://sp2010:8083/ict

我的方法:
使用Backup-SPSite和Restore-SPSite命令备份站点 abc ,然后在站点上恢复 ict

问题: Backup-SPSite和Restore-SPSite适用于网站集,但不适用于网站。我收到以下错误

The specified URL is not a top-level Web site. The backup and
restore operations work only for top-level Web sites. Enter the URL for a site
to try the operation again.

请帮助您更改网站的网址。我知道您无法更改Sharepoint站点的URL,但我认为可以使用备份和还原来实现相同的目标。

我无法理解微软这样的公司如何不提供轻松更改网址的选项。

谢谢,

尼丁

1 个答案:

答案 0 :(得分:4)

您是否尝试使用

Export-spweb –identity http://sp2010:8083/abc -path c:\sitebkup\mysite.bak

Import-SPWeb –identity http://sp2010:8083/ict -path c:\sitebkup\mysite.bak