mxr recovery
Generated from
mxr recovery --help. After editingcrates/daemon/src/cli/, update and review the snapshots withscripts/cargo-test -p mxr --test integration cli_help::, then rebuildsite/.
Inspect or reconcile a restored profile without replaying old work
mxr recovery <COMMAND>Subcommands
Section titled “Subcommands”| Subcommand | Purpose |
|---|---|
status |
Show the restored profile’s held drafts and retired intentions |
activate |
Preview activation, or activate after confirming the source owner is stopped |
prepare-draft |
Preview preparing a fresh draft from a held original, or confirm it |
help |
Print this message or the help of the given subcommand(s) |
Options
Section titled “Options”| Flag | Description |
|---|---|
-h, --help |
Print help |
Use When
Section titled “Use When”Inspect held drafts after a restore and preview activation with the workspace owner returned by status. Confirm only after stopping the source owner.
Everyday Examples
Section titled “Everyday Examples”mxr recovery status --format jsonmxr recovery activate --expected-workspace '<OWNER_JSON_FROM_STATUS>' --format jsonSub-subcommands
Section titled “Sub-subcommands”mxr recovery activate
Section titled “mxr recovery activate”Preview activation, or activate after confirming the source owner is stopped
mxr recovery activate [OPTIONS] --expected-workspace <JSON>Options
Section titled “Options”| Flag | Description |
|---|---|
--source-owner-stopped |
|
--expected-workspace <JSON> |
Owner JSON returned by mxr recovery status or its preview |
--confirm |
|
--format <FORMAT> |
[possible values: table, json, jsonl, csv, ids] |
-h, --help |
Print help |
mxr recovery prepare-draft
Section titled “mxr recovery prepare-draft”Preview preparing a fresh draft from a held original, or confirm it
mxr recovery prepare-draft [OPTIONS] --expected-revision <EXPECTED_REVISION> --expected-workspace <JSON> <DRAFT_ID>Arguments
Section titled “Arguments”| Flag | Description |
|---|---|
<DRAFT_ID> |
Options
Section titled “Options”| Flag | Description |
|---|---|
--expected-revision <EXPECTED_REVISION> |
|
--expected-workspace <JSON> |
Owner JSON returned by mxr recovery status or the preview |
--confirm |
|
--format <FORMAT> |
[possible values: table, json, jsonl, csv, ids] |
-h, --help |
Print help |
mxr recovery status
Section titled “mxr recovery status”Show the restored profile’s held drafts and retired intentions
mxr recovery status [OPTIONS]Options
Section titled “Options”| Flag | Description |
|---|---|
--format <FORMAT> |
[possible values: table, json, jsonl, csv, ids] |
-h, --help |
Print help |
See also
Section titled “See also”- CLI overview: full command index
- Concepts: query operators, search modes, JSON shapes
- Automation contract: which commands support
--format json,--dry-run, stdin