Skip to content

What it is

A rollback restores a system to the last known-good state after a change breaks it — the emergency brake of every deployment pipeline.

Rollback is a promise you make to yourself: when the change fails, you can undo it. It differs from revert (undoing a commit in git, which produces a new commit) and from roll-forward (fixing forward with a new deploy). It is the operational answer to "this deploy broke production".

Rollback exists at multiple layers. At the code layer, it means redeploying the previous artifact. At the traffic layer, it means flipping routing back (blue/green, canary). At the data layer, it means restoring from a backup or replaying a migration reversal. At the DNS layer, it means switching the record back. Each layer has its own rollback speed and its own cost.