CLI reference / space / relocate

stado space relocate

Invocation

stado space relocate [OPTIONS] --namespace <NAMESPACE> --from-prefix <FROM_PREFIX> <TARGET>

Purpose

Relocate object-store keys on the host that holds their bytes

Required inputs and options

Input or optionContract
<TARGET>Positional input; required or optional as shown in the invocation.
--namespace <NAMESPACE>Command option; required or optional as shown in the invocation.
--from-prefix <FROM_PREFIX>Command option; required or optional as shown in the invocation.
--to-prefix <TO_PREFIX>[default: ""]
--store-root <STORE_ROOT>Command option; required or optional as shown in the invocation.
--dry-runCommand option; required or optional as shown in the invocation.
--applyCommand option; required or optional as shown in the invocation.
--limit <LIMIT>[default: 0]
--jsonCommand option; required or optional as shown in the invocation.

Output and state effect

It performs the operation described above and emits its operator result on standard output or standard error. Any state change is limited to the resources and records named by the purpose and options on this page.

Refusals

  • Before dispatch, Stado refuses a missing required token shown in the invocation, an unknown option, or a value outside a listed value set; argument-usage failures exit with code 2.