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

Samuel Elliott sam@REDACTED
Fri Mar 16 18:49:24 CET 2012


On Fri, Mar 16, 2012 at 1:54 PM, Per Melin <per.melin@REDACTED> wrote:
> 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.

Seems so, reading Ferd's Guide:
http://learnyousomeerlang.com/relups#upgrading-the-release

Sam

>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions



-- 
Samuel Elliott
sam@REDACTED
http://lenary.co.uk/
+44 (0)7891 993 664



More information about the erlang-questions mailing list