Skip to Content
PyoDocs

Rolling back a deploy

Go back to an earlier version, by hand or automatically.

Automatic rollback

If a deploy fails, Pyo puts the previous version back automatically. This is on by default. You can turn it off per service.

Roll back by hand

Pick an earlier deployment in the dashboard, or use the CLI:

pyo rollback                # the previous version
pyo rollback <deployment>   # a specific deployment

A rollback keeps the service's current domains.

Rolling back needs that version's image. You can't roll back to images removed by retention.

On this page

Edit page