kcp state upgrade
kcp state upgrade¶
Migrate a kcp-state.json file to the current schema
Synopsis¶
Reads a state file produced by any prior KCP version, migrates it to the current schema, and overwrites it in place. Before overwriting, the original is backed up alongside it as
Examples¶
# Migrate a state file to the current schema, overwriting it in place
# (the original is preserved as kcp-state.json.<UTC-timestamp>.bak)
kcp state upgrade --state-file kcp-state.json
Options¶
-h, --help help for upgrade
--state-file string Path to the state file to upgrade in place (required)
Options inherited from parent commands¶
SEE ALSO¶
- kcp state - Operate on kcp-state.json files