Transferring changes from a dev DB to a production DB

后端 未结 5 822
梦谈多话
梦谈多话 2021-01-01 07:13

Say I have a website and a database of that website hosted locally on my computer (for development) and another database hosted (for production)...ie first I do the changes

5条回答
  •  遥遥无期
    2021-01-01 08:08

    We used to use the approach provided by Ron. It makes sense for a big project with dedicated team of DBAs. But if you do not have a dedicated developers who write code only for DB this approach is time and resource expensive.

    The approach to use RedGate DB compare is also not good. You still have a do a lot of manual work you can skip some step by mistake.

    It needs something better. This is was the reason why we built the "Agile DB Recreation/Import/Reverse/Export tool" The tool is free.

    Advantages: your developers use any prefered tools to develop DEV DB. Then they run the DB RIRE and it makes reverseengeniring DB (tables, views, stor proc, etc) and export data into XML files. XML files you can keep in the any code repository system.

    And the second step is to run DB RIRE one more time to generate difference scripts between structure and data in XML files and in Production DB.

    Of course you can make as much iterations as you need.

提交回复
热议问题