Skip to Content
kusaw docsv1.0.0
CLI reference

kusaw rollback

Roll back one update: swap kusaw.prev back, restore migrated databases and changed configs, and keep a copy of what was replaced.

kusaw rollback

Roll back one update: swap kusaw.prev back, restore migrated databases and changed configs, and keep a copy of what was replaced.

Usage

Text
kusaw rollback [flags]

Flags

NameShortTypeDefaultDescription
--configstringPath to kusaw.yaml (overrides KUSAW_CONFIG and parent search)
--factorystringfactory name from kusaw list
--help-hboolfalsehelp for rollback
--jsonboolfalsePrint JSON
--suspend-nowboolfalseSuspend running runs at the step boundary and continue the rollback
--waitduration30m0sHow long running steps may finish before the rollback asks or stops
--yesboolfalseConfirm the rollback without a prompt

Exit codes

CodeNameDescription
0okSuccess.
1errorRuntime error.
2usageUsage or validation error.
3rejectedControl request rejected; the error string is printed verbatim.
4not picked upControl request not picked up within the wait time while serve runs.

Example

Text
kusaw rollback --yes

On this page