powershell脚本在内部环境中同步sharepoint [英] powershell script to sync sharepoint on premise environments

查看:73
本文介绍了powershell脚本在内部环境中同步sharepoint的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我正在使用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-SPContent​Database to attach an existing content database to the farm.

更多参考:

使用PowerShell管理SharePoint内容数据库。

Managing SharePoint Content Databases with PowerShell.

https://www.mssqltips.com/ sqlservertip / 2608 / managing-sharepoint-content-databases-with-powershell /

有一个类似的帖子:

https://social.technet.microsoft.com/Forums/office/en-US/e46c7f5e-5eee-4110-896c-e81b48c05fca/best-practice-for-sync-between-devtest-and -live-when-it-is-up-and-running?forum = sharepointadminlegacy

祝你好运,

Sara Fan


这篇关于powershell脚本在内部环境中同步sharepoint的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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