Glossary

Rollback

A rollback is the act of returning a production system to its previous working version after a deployment causes a failure.

Rollback

What Is a Rollback?

A rollback is the act of returning a production system to its previous working version after a deployment causes a failure. It removes the faulty change first and leaves the diagnosis for later. A rollback restores service; it does not fix the defect.

Why Rollbacks Matter

During an incident, every minute spent debugging in production is a minute of user impact. A team that can roll back in five minutes limits the damage of any bad release to five minutes plus detection time. A team with no tested rollback path has to write and ship a fix under pressure, which takes longer and risks a second failure.

How a Rollback Works

The method depends on how the software is deployed:

  • Redeploy the previous version: the pipeline deploys the last known good build artifact.
  • Switch traffic: in a blue-green setup, the router points back to the environment that still runs the old version.
  • Turn off a feature flag: the code stays deployed and the new behavior is disabled.
  • Revert the commit: a revert commit goes through the normal pipeline.

Database changes are the hard part. A schema migration that drops a column cannot be undone by redeploying old code, so teams write migrations that stay compatible with the previous version. Rollback belongs to the deploy and operate stages of the software delivery lifecycle.

Rollback vs Roll Forward

A rollback returns to the old version. A roll forward, or fix forward, ships a new version that contains the correction. Rolling back is faster when the old version is intact; rolling forward is necessary when data or schema changes make the old version unusable.

How Oobeya Uses Rollbacks

Oobeya gives every analyzed production deployment a health status of Success or Failure. A deployment is marked Failure manually, through the API, by hotfix naming patterns in branches, pull requests and deployment titles, or by incidents from connected APM tools. Time to restore service on the Deployments (DORA) tab then runs from the failed deployment to its fix.

Frequently Asked Questions

Does a rollback count as a failed change in DORA metrics?

Yes. DORA counts a deployment as failed when it needs remediation such as a rollback, a hotfix, a patch or a fix forward. Each rolled-back deployment raises change failure rate.

When should a team roll back instead of fixing forward?

Rolling back is the default when the previous version still works with the current data. Fixing forward is chosen when a rollback would lose data or when the fix is a one-line change that is already verified.

Related Pages

Move from definition to product context with the most relevant Oobeya pages for this term.

Turn Engineering Terms Into Actionable Visibility
Move from definitions to real delivery, quality, workflow, and AI-assisted development signals.
Talk to our experts and see how Oobeya connects the metrics behind your engineering organization.