Skip to main content

astroctl_application_rollback

astroctl application rollback

Roll an application back to a previous version

Synopsis

Roll an application back to a previous successful version. A plan is always shown before any change is applied.

astroctl application rollback [flags]

Examples


# Roll back to the previous successful version (shows a plan, then prompts)
astroctl app rollback myapp

# Roll back to a specific version
astroctl app rollback myapp --to v7

# Show the rollback plan without applying it
astroctl app rollback myapp --to v7 --dry-run

# Roll back without an interactive prompt
astroctl app rollback myapp --to v7 --yes --reason "bad deploy"

Options

--dry-run Show the rollback plan without applying it
-h, --help help for rollback
-o, --output string Output format (table|json|yaml) (default "table")
--reason string Optional audit reason for the rollback
--to string Target version to roll back to (e.g. v7). Empty rolls back to the previous successful version.
-y, --yes Skip the confirmation prompt

Options inherited from parent commands

-n, --name string name of the application

SEE ALSO