我想使用PowerShell备份SharePoint 2010的列表。我可以使用中央管理来备份列表,也可以备份整个站点。
我收到了错误信息:
"The URL provided is invalid. Only valid URLs that are site collections or sites are allowed to be exported using stsadm.exe"
我还尝试过:
Export-SPWeb -Identity http://siteurl:22222/en-us -Path \\public\backup.cmp -ItemURL http://siteurl:22222/en-us/Lists/MyList 但是得到了相同的错误。
提前感谢。
Export-SPWeb -Identity http://siteurl:22222/en-us -Path \\public\backup.cmp
但是当我尝试导出一个特定的列表(使用中央管理界面中显示的路径)时:
Export-SPWeb -Identity http://siteurl:22222/en-us/Lists/MyList -Path \\public\backup.cmp
我收到了错误信息:
"The URL provided is invalid. Only valid URLs that are site collections or sites are allowed to be exported using stsadm.exe"
我还尝试过:
Export-SPWeb -Identity http://siteurl:22222/en-us -Path \\public\backup.cmp -ItemURL http://siteurl:22222/en-us/Lists/MyList 但是得到了相同的错误。
提前感谢。