Usage
Flags
| Flag | Description |
|---|---|
--version <id> | Deployment ID to restore (see ezforge servers status) |
--list | List available deployments and exit |
--project <id> | Target project |
Examples
List available deployments:How rollback works
- ezForge creates a new deployment record pointing at the historical image URI
- Runs the full deploy pipeline: provision → health check → traffic swap
- If the rollback itself fails, the current deployment remains live (it is not automatically reverted again)
Auto-rollback
ezForge automatically rolls back to the last healthy deployment when:- The health check at
GET {healthCheckPath}fails after a deploy - The health check timeout is exceeded
rollbackOnHealthCheckFailure: false) or per-deploy (ezforge deploy --no-rollback).