mirantis/msr backup

Create a backup of MSR.

Usage

To backup MSR metadata to a file:

msr backup [command options] [filename]

To backup MSR to standard output:

msr backup [command options] -

Description

The msr backup command creates a backup of the metadata in use by MSR, which you can restore with the msr restore command.

Note

msr backup only creates backups of configuration, image, and chart metadata. It does not back up the Docker images or Helm charts stored in your registry. Mirantis suggests that you implement a separate backup policy for the contents of your storage backend, taking into consideration whether your MSR installation is configured to store images on the filesystem or through the use of a cloud provider.

Important

Mirantis recommends that you store your backup in a secure location, as it contains sensitive information.

Options

Option

Description

--rethinkdb-addr value

The RethinkDB address.

  • Environment variable: $MSR_RETHINKDB_ADDR

  • Default: msr-rethinkdb-proxy:28015

--rethinkdb-client-cert value

The path for the RethinkDB client certificate file.

  • Environment variable: $MSR_RETHINKDB_CLIENT_CERT_FILE

  • Default: /certs/rethinkdb-client/tls.crt

--rethinkdb-client-key value

The path for the RethinkDB client key file.

  • Environment variable: $MSR_RETHINKDB_CLIENT_KEY_FILE

  • Default: /certs/rethinkdb-client/tls.key

--rethinkdb-ca value

The path for the RethinkDB ca certificate file.

  • Environment variable: $MSR_RETHINKDB_CA_CERT_FILE

  • Default: /certs/rethinkdb/ca.crt

--rethinkdb-insecure-skip-verify

Indicates whether to skip TLS verification.

  • Environment variable: $MSR_RETHINKDB_INSECURE_SKIP_VERIFY

  • Default: false

--ignore-events-table

Ignores the events table during a backup.

  • Environment variable: $MSR_IGNORE_EVENTS_TABLE

  • Default: false

--help, -h

Indicates whether to show help.

  • Environment variable: N/A

  • Default: false