AHH
AHH

Reputation: 1083

How to undo a Heroku Rollback

Is it possible to undo a rollback on Heroku? I have to try something on a live environment, do a test and then get back to the original state (before the rollback). Is Heroku able to do that smoothly or this would lead to problems?

Upvotes: 4

Views: 930

Answers (1)

RangerRanger
RangerRanger

Reputation: 2493

Yes, you can roll to whichever release you'd like. Run heroku releases to see a history of your deploys then you can select the release you like to 'roll back' to and run heroku rollback <release id>. Documentation for this, here.

Upvotes: 4

Related Questions