Skip to content

mxr recovery

Generated from mxr recovery --help. After editing crates/daemon/src/cli/, update and review the snapshots with scripts/cargo-test -p mxr --test integration cli_help::, then rebuild site/.

Inspect or reconcile a restored profile without replaying old work

mxr recovery <COMMAND>
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)
Flag Description
-h, --help Print help

Inspect held drafts after a restore and preview activation with the workspace owner returned by status. Confirm only after stopping the source owner.

Terminal window
mxr recovery status --format json
mxr recovery activate --expected-workspace '<OWNER_JSON_FROM_STATUS>' --format json

Preview activation, or activate after confirming the source owner is stopped

mxr recovery activate [OPTIONS] --expected-workspace <JSON>
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

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>
Flag Description
<DRAFT_ID>
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

Show the restored profile’s held drafts and retired intentions

mxr recovery status [OPTIONS]
Flag Description
--format <FORMAT> [possible values: table, json, jsonl, csv, ids]
-h, --help Print help