使用sharepoint 2010中的visual studio,可以将一个特定文件夹从一个站点移动到跨Web应用程序中的另一个站点 [英] Can be possible one specific folder move from one site to another site in cross webapplication using visual studio in sharepoint 2010

查看:88
本文介绍了使用sharepoint 2010中的visual studio,可以将一个特定文件夹从一个站点移动到跨Web应用程序中的另一个站点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


 有两个网站集1 。源2.目标并将数据/项目从源文件夹移动到目标库中的单个文件夹中。库大小超过1 TB。如何使用Visual Studio在SharePoint 2010中将大数据从源
移动到目标。



Source


< p style ="padding-right:0px; font-size:14px; line-height:inherit; font-family:'Segoe UI','Lucida Grande',Verdana,Arial,Helvetica,sans-serif; vertical-align: baseline; list-style-type:none; color:#2a2a2a">
网站集1



 文档库1



   文件夹1



   文件夹2





目的地



网站集2 



文档库A



 文件夹2



注意: - 对目标网站集的所有版本历史源必须提供。  内容
大小超过1 TB,版本历史记录500每个项目。 





感谢Mukesh

解决方案

Hi Mukesh,


根据您的描述,您想要移动整个文件夹到另一个Web应用程序中的另一个库并保留版本历史记录。 


我不确定VS是否可以实现您的目的,因为数据太大,同时保留版本历史记录许多方法都不可能。


相反,我建议您尝试以下两种方法,它们可以很好地解决您的大数据问题并保留所有版本历史记录:


1. 在管理中心>备份和还原>导出网站或列表。然后选择要导出的库。请记住为"导出版本"选择"所有版本"。选项。


哟您保存了库,可以使用PowerShell命令将其导入到目标站点:$ b​​ $ b

 Import-SPWeb -Identity http:/ / yourtarget / -Path \\exportpath \myexportedlist.cmp -Verbose 

完成上述步骤后,您需要删除目标库中的文件夹1以仅保留文件夹2.您也可以重命名此库。 


2。有一个名为Metalogix的工具,它是一个非常酷的工具,您可以使用此工具将内容从一个库移动到另一个库。如果您不想付款,可以试用试用版。


参考文献:


https://www.metalogix.com/product/content-matrix



https://www.metalogix.com/help/Content%20Matrix% 20Console / SharePoint%20Edition /


(您还可以使用名为ShareGate的第三方工具)


最佳问候,


Allen Bai


Hi,

 There are two site collection 1. Source 2. Destination and move data/ Items from source to destination library in single folder. where library size more than 1 TB. how to move big data from source to destination using Visual Studio in SharePoint 2010.

Source

Site Collection 1

  Document Library 1

   Folder 1

   Folder 2

Destination

Site collection 2 

Document Library A

  Folder 2

Note :- Mandatory for all version history source to destination site collection. Content size more than 1 TB and version history 500 hundreds for each items. 


Thanks Mukesh

解决方案

Hi Mukesh,

From your description, you want to move a whole folder to another library in another web application and also keep the version history. 

I am not sure if VS could achieve your purpose because the data is so big, also keep version history is impossible for many methods.

Instead, I suggest you try below two methods, they can solve your big data issue well and will keep all the version history:

1. In the Central Administration > Backup and Restore > Export a site or list. Then select your library to export. Remember to select "All Versions" for the "Export versions" option.

After you saved the library you can import it to your destination site with the PowerShell command:

Import-SPWeb -Identity http://yourtarget/ -Path \\exportpath\myexportedlist.cmp -Verbose

After above steps, you need to delete the Folder 1 in the destination library to only keep folder 2. You can also rename this library. 

2. There is a tool called Metalogix, it is a very cool tool you can use this tool to move contents from one library to another. You can try the trial version, if you don't want to pay.

References:

https://www.metalogix.com/product/content-matrix

https://www.metalogix.com/help/Content%20Matrix%20Console/SharePoint%20Edition/

(You can also use a third-party tool called ShareGate)

Best regards,

Allen Bai


这篇关于使用sharepoint 2010中的visual studio,可以将一个特定文件夹从一个站点移动到跨Web应用程序中的另一个站点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆