powershell脚本在内部环境中同步sharepoint [英] powershell script to sync sharepoint on premise environments
问题描述
我正在使用powershell中的脚本,或者如果使用PNP更容易在不同的环境中拥有内容数据库等...同步,例如dev,test
I'm after a script in powershell or if using PNP is easier to be able to have content databases etc..sync in different environments e.g dev,test
任何建议或提示将不胜感激
Any suggestions or tips would be appreciated
推荐答案
您好Patrick.I,
Hi Patrick.I,
在SharePoint 2013中,要将内容从测试环境同步到开发环境,我建议您可以在测试环境中备份内容数据库并将其还原到开发环境。
In SharePoint 2013, to sync content from test environment to dev environment, I suggest you could backup content database in test environment and restore it to dev environment.
您可以使用Mount -SPContent数据库,用于将现有内容数据库附加到服务器场。
And you could use Mount-SPContentDatabase to attach an existing content database to the farm.
更多参考:
使用PowerShell管理SharePoint内容数据库。
Managing SharePoint Content Databases with PowerShell.
有一个类似的帖子:
祝你好运,
Sara Fan
这篇关于powershell脚本在内部环境中同步sharepoint的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!