简体   繁体   English

根据生产设置SharePoint开发网站

[英]Setting up a SharePoint development site based on production

Can anyone suggest a best practice way of setting up a decent and suitable development site in SharePoint from a pre-existing production site? 谁能提出从现有生产站点中在SharePoint中建立一个体面且合适的开发站点的最佳实践方法吗?

I have a number of lists and document libraries that have been in production for some time, with some lookup field dependencies between them - whats the best way to replicate this within a non-production environment and ensure that any features are compatible between both environments when deployed? 我有一些已经在生产环境中使用了一段时间的列表和文档库,它们之间有一些查找字段依赖性-在非生产环境中复制此列表并确保所有功能在这两种环境之间兼容的最佳方法是什么部署?

I do not have access to the underlying infrastructure (and it may be irrelivent anyhow, I do not need the same AD users et al), and as I may be doing development for many clients, having an easily adaptable setup is preferred. 我没有访问基础架构的权限(无论如何它都是不可靠的,我不需要相同的AD用户等),并且由于我可能正在为许多客户端进行开发,因此首选具有易于适应的设置。

A couple of ways spring to mind. 我想到了几种方法。 First, you could make a backup of the production site, using stsadm.exe -o backup. 首先,您可以使用stsadm.exe -o backup对生产站点进行备份。 You can then restore that backup onto your dev PC. 然后,您可以将该备份还原到您的dev PC上。 The only thing is that you must ensure that both the production server and your dev server are running the exact same version number of SharePoint (the 12.xxx number which appears in the 'Servers on farm' option in Central Admin). 唯一的事情是,您必须确保生产服务器和开发服务器都运行完全相同的SharePoint版本号(在Central Admin的“服务器场中的服务器”选项中显示的12.xxx号)。

Alternatively, you could try content deployment. 或者,您可以尝试内容部署。 If the production server can see your dev server, then you could create a blank website on your dev PC, and content deploy from the production server. 如果生产服务器可以看到您的开发服务器,则可以在开发PC上创建一个空白网站,然后从生产服务器部署内容。 If that won't work, have a look at this , it's a SharePoint Content Deployment Wizard. 如果那行不通,请查看this ,它是SharePoint内容部署向导。

You may also find Restoring Production MOSS 2007 Publishing Sites Into Development by Andrew Connell helpful. 您可能还会发现Andrew Connell撰写的将生产MOSS 2007发布站点恢复到开发中很有帮助。 It's specifically targeted to sites using the MOSS publishing feature but is thorough regardless and should be useful. 它专门针对使用MOSS发布功能的网站,但是无论是否有用,它都是彻底的。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM