[erlang-questions] downgrade / rollback a hot deployment without restarting OTP

Per Melin per.melin@REDACTED
Fri Mar 16 14:54:38 CET 2012

On Mar 16, 2012, at 11:13 , Andy Richards wrote:

> I'm struggling to find documentation on how I perform a rollback of a
> unsuccessful OTP hot deployment. I'm currently manually creating my .appup
> file with upgrade and downgrade instructions and when I perform a
> release_handler:install_release("someApp") my application hot deploys
> successfully, excellent! What i cant figure out however is if there were a
> problem following an upgrade how I downgrade / rollback to the previous
> release?

It's been a long time since I last did this by hand, but if I remember correctly you simply do release_handler:install_release("OldVer") to roll back.

More information about the erlang-questions mailing list