How to rollback a database deployment without losing new data?
Posted
by devlife
on Stack Overflow
See other posts from Stack Overflow
or by devlife
Published on 2010-05-11T12:10:21Z
Indexed on
2010/05/11
12:14 UTC
Read the original article
Hit count: 337
My company uses virtual machines for our web/app servers. This allows for very easy rollbacks of a deployment if something goes wrong. However, if an app server deployment also requires a database deployment and we have to rollback I'm kind of at a loss. How can you rollback database schema changes without losing data? The only thing that I can think of is to write a script that will drop/revert tables/columns back to their original state. Is this really the best way?
© Stack Overflow or respective owner