简体   繁体   English

没有Sitefinity同步模块的Sitefinity数据库迁移

[英]Sitefinity DB Migration without Sitefinity's Sync Module

Scenario: 场景:

Development Environment: Trial License for Sitefinity 开发环境: Sitefinity试用许可证

Staging Environment: Purchased License from Sitefinity (but without Sync Module). 登台 环境: 从Sitefinity购买的许可证(但没有同步模块)。

I am working on a project. 我正在做一个项目。 Actually I developed some code & other contents (using Sitefinity's Admin panel including Templates, Pages, Images) locally. 实际上,我在本地开发了一些代码和其他内容(使用Sitefinity的管理面板,包括模板,页面,图像)。 Now I want to Migrate/Sync the new changes to staging environment. 现在,我想将新更改迁移/同步到暂存环境。 But Staging environment License dosen't has the facility to Sync. 但是暂存环境许可证没有同步工具。 I tried to use visual studio 2013 data comparison tool But using this I had PageId conflict. 我尝试使用Visual Studio 2013数据比较工具,但是使用此工具,我遇到了PageId冲突。 I debugged this issue found that some ID's ware different on both Databases, sply for Ownr field. 我调试了此问题,发现两个数据库上都有一些ID的商品不同,适用于Ownr字段。

I want to know if I change this Field value & copy new records in Staging DB will solve my problem. 我想知道是否可以更改此字段值并在登台数据库中复制新记录将解决我的问题。

Or there's any other way to integrate my changes to Staging Database. 或者,还有其他方法可以将我的更改集成到暂存数据库中。

Thanks 谢谢

If you haven't made changes to the staging environment, you could take a backup of your local database and reinstate it over the staging database. 如果尚未更改登台环境,则可以备份本地数据库并通过登台数据库将其恢复。 Its sounds like all your changes (templates, pages and images) are going to be stored in the database by default. 听起来您的所有更改(模板,页面和图像)将默认存储在数据库中。 Any configuration changes you might have made locally are going to be stored in the App_Data/Sitefinity/Configuration folder, so you might want to publish your local project and use a tool like Beyond Compare to view those differences and migrate those over to staging as well. 您可能在本地进行的任何配置更改都将存储在App_Data / Sitefinity / Configuration文件夹中,因此您可能要发布本地项目,并使用Beyond Compare之类的工具来查看这些差异并将其迁移到暂存阶段。

I agree, without the purchase of the Site Sync license keeping different Sitefinity environments in sync is a major headache. 我同意,如果不购买Site Sync许可证,则要使不同的Sitefinity环境保持同步是一个很大的麻烦。 If I'm doing development work on a Sitefinity site that is in production, I end up having to recreate the page and db changes on that server once the changes are ready for the live environment. 如果我要在生产中的Sitefinity网站上进行开发工作,那么一旦更改可用于实时环境,我最终将不得不在该服务器上重新创建页面和数据库更改。

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

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