Skip to Content
Configure an app

Rollbacks

Undo a bad deploy by going back to a deployment that worked.

A rollback puts an earlier deployment back online, in seconds and without a rebuild. It works for apps Deplo builds, from a repository or an uploaded archive, and needs Roll back apps.

Roll back

Open Deployments

Open the app, then Deployments.

Deployment history: every build with its commit, duration and result, the list 'Roll back' starts from

Pick the deployment

Click Rollback in its menu, or on its page, and confirm.

The per-deployment actions menu on an older build

The Rollback button in the app header goes straight to the deployment before the live one.

Only the code goes back

Variables, domains, volumes and resource limits stay as they are now. A database migration does not roll back either: for data, use Backups.

Rollbacks kept

Rollbacks kept, the number of old deployments kept ready to go back to

Settings -> Deployments, the Releases card. Rollbacks kept: 3 by default, up to 20, 0 always rebuilds.

An older deployment from a repository still rolls back: Deplo rebuilds its commit first, and the confirmation says rebuilt first - this takes a few minutes. An uploaded archive has no commit, so only its kept deployments can come back.

Good to know

  • A rolled-back app still auto-deploys. The next push replaces it: turn off Deploy on push first if the branch is broken.
  • A rebuild uses today's build settings, root directory included.
  • A rollback is a normal deployment, with its own row and logs.

Something wrong? See Deploys and builds.

Did this page help you?

On this page