migration - Merging two databases without borking it

Does anyone have a solution to the following issue:I have a staging and production server. We've done work on stagi

Does anyone have a solution to the following issue:

I have a staging and production server. We've done work on staging but things have been changed on production so we can't just move the DB from ST->PR. Is there a plugin or some other solution that looks at all singular items and updates/overwrites that post only if the post is newer as a revision on production?

Does anyone have a solution to the following issue:

I have a staging and production server. We've done work on staging but things have been changed on production so we can't just move the DB from ST->PR. Is there a plugin or some other solution that looks at all singular items and updates/overwrites that post only if the post is newer as a revision on production?

Share Improve this question asked Oct 31, 2019 at 11:25 mancmanc 2131 gold badge3 silver badges10 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

This is a notoriously difficult thing to solve in WordPress because of how the database is constructed. I have since long given up on being able to merge dev -> staging -> prod.

Instead, I track any and all changes I make to the database in my dev environment, manually apply those to the production database when that time comes.

I know it's not a nice answer, but it's the only one you'll get when you need assurances that the DB won't be borked.

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745040414a4607776.html

相关推荐

  • migration - Merging two databases without borking it

    Does anyone have a solution to the following issue:I have a staging and production server. We've done work on stagi

    8小时前
    10

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信