CLI Reference¶
You can use the MSR CLI tool to backup and restore the software, perform database administration tasks, and gather information on RethinkDB clusters. The tool runs in interactive mode by default, issuing prompts as necessary for any required values.
To access the MSR CLI:
Following MSR installation, run the helm get notes
command for
instructions on how to access the MSR CLI:
helm get notes <RELEASE_NAME>
Note
Additional help is available for the CLI and for each command using the
–help
option.
To access the MSR CLI on Swarm deployments, execute the following command from any node where MSR is installed:
docker exec -it $(docker ps -q --filter "label=com.docker.swarm.service.name=msr_msr-api-server") msr
Note
Additional help is available for the CLI and for each command using the
–help
option.
Usage¶
msr [global options] command [command options] [arguments...]
Commands¶
- mirantis/msr auth register
- mirantis/msr auth status
- mirantis/msr backup
- mirantis/msr db migrate
- mirantis/msr db scale
- mirantis/msr db wait
- mirantis/msr db emergency-repair
- mirantis/msr init
- mirantis/msr restore
- mirantis/msr rethinkdb count
- mirantis/msr rethinkdb list
- mirantis/msr rethinkdb decommission
Note
Due to the significant changes put forward with the introduction of the MSR 3.0.0 release, several legacy MSR CLI commands became unnecessary and have been removed. The commands that are no longer available are:
dtr destroy
dtr images
dtr join
dtr reconfigure
dtr remove
dtr upgrade
Global options¶
Option |
Description |
---|---|
|
Sets the log level.
|
|
Indicates whether to show help.
|