oz0 retention hold
Place a legal hold: nothing of the tenant is deleted or erased until it is released.
For: Operators and developers looking up a command.
Place a legal hold: nothing of the tenant is deleted or erased until it is released. A hold a cluster admin placed only a cluster admin may release. While it holds, the edge copies each closed job's Temporal history, as Temporal holds it, into the database before Temporal's retention deletes it (oz0 retention held lists the copies); releasing the hold lets the copies go at the next retention pass.
Usage
oz0 retention hold [flags]
Flags
| Flag | Type | Default | Description |
|---|---|---|---|
--decision-ref | string | the decision or case the change follows, such as a case number (at most 200 characters) | |
--json | bool | print JSON instead of a table | |
--reason | string | why the data is held, such as the case it is for (required) |
Inherited flags
| Flag | Type | Default | Description |
|---|---|---|---|
--context | string | $OZ0_CONTEXT or <config dir>/orchestrator-zero/context.json | CLI context file written by server init |
--log-level | string | info | log level: debug, info, warn or error |
--tenant | string | default | the tenant |
See all oz0 commands and the global flags.