Skip to content

mxr backup

Generated from mxr backup --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/.

Create, inspect or restore an offline profile backup

mxr backup <COMMAND>
Subcommand Purpose
create Preview or create a stopped-profile backup
inspect Validate and describe a backup without restoring it
restore Preview or restore into a new, empty profile
help Print this message or the help of the given subcommand(s)
Flag Description
-h, --help Print help

Preview a backup of a stopped profile, then inspect the bundle before restoring into a new, empty profile. Creation and restoration preview by default; –confirm performs the operation.

Terminal window
mxr backup create --source-data /path/to/stopped-profile --output /path/to/mail-backup
mxr backup inspect /path/to/mail-backup
mxr backup restore /path/to/mail-backup --destination /path/to/new-profile

Preview or create a stopped-profile backup

mxr backup create [OPTIONS] --source-data <SOURCE_DATA> --output <OUTPUT>
Flag Description
--source-data <SOURCE_DATA>
--source-config <SOURCE_CONFIG> Explicit non-secret account settings file. Omit to use DB settings only
--output <OUTPUT>
--confirm
-h, --help Print help

Validate and describe a backup without restoring it

mxr backup inspect <BUNDLE>
Flag Description
<BUNDLE>
Flag Description
-h, --help Print help

Preview or restore into a new, empty profile

mxr backup restore [OPTIONS] --destination <DESTINATION> <BUNDLE>
Flag Description
<BUNDLE>
Flag Description
--destination <DESTINATION>
--confirm
-h, --help Print help