保持 SQL Server 开发环境最新

发布于 2024-09-02 03:22:17 字数 181 浏览 9 评论 0原文

我正在尝试找出保持开发服务器与生产服务器同步的最佳方法。最初,我只是打算每周左右将备份从生产环境恢复到开发环境,但是我意识到这会消除本周发生的任何实际开发工作。

我觉得这是一个非常常见的障碍,所以我希望有人能够阐明他们如何解决这个问题。我在网上简单浏览了一下,但没有真正看到任何东西,所以任何建议将不胜感激。

谢谢!

I'm trying to figure out the best way to keep my Development servers synced up to the Production servers. Initially, I was just going to restore the backups from the production environment to the dev environment every week or so, however I realized that this would wipe out any actual development work that had taken place during the week.

I feel like this is a pretty common obstacle, so I'm hoping someone out there can shed some light on how they tackle the issue. I looked online briefly, but didn't really see anything, so any suggestions would be greatly appreciated.

Thanks!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

故乡的云 2024-09-09 03:22:17

Red Gate 有一些您可能想要查看的产品:

它们允许您分别在两个数据库之间比较和同步架构和数据。

Red Gate have a couple of products that you might want to look at:

They allow you to compare and synchronize schemas and data respectively between two databases.

终难遇 2024-09-09 03:22:17

对开发环境所做的任何更改都应该在某个时候被推送到生产中。因此,对开发环境所做的每个更改都必须作为补丁(sql 脚本)存在。为了使开发与生产保持同步,您只需恢复生产备份并应用所有新开发的补丁即可。

Any change made to the development environment should, at some point, be pushed to production. Therefore, each change made on the dev environment must exist as a patch (sql script). To keep dev in sync with production you just restore the production backup and apply all the newly developed patches.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文