ev rollback
Usage
Description
ev rollback creates a new release whose secrets match a previous release. It is non-destructive — history is never deleted. You can always roll forward again.
There are three ways to identify the target release:
Interactive — run with no release argument to see a list of recent releases and pick one:
Relative offset — use ~N to go back N releases from the latest:
Partial release ID — use enough characters from a release ID (shown in ev log) to uniquely identify it:
After rolling back on the server, run ev pull to update your local .env.
Flags
| Flag | Short | Description |
|---|---|---|
--message | -m | Message attached to the rollback release |
Examples
Interactive rollback — choose from a list:
Roll back to the previous release:
Roll back to a specific release by partial ID with a message:
Roll back a specific environment:
After rolling back, pull to update local .env: