Navigation

mongocli cloud-manager backup config describe

The backup config describe command retrieves the backup configuration details for the specified cluster. You can also retrieve the backup configuration details for a cluster using the API.

mongocli cloud-manager|cm backup config describe|get <cluster-ID>
[ --output|-o <output-format> ]
[ --profile|-P <profile-name> ]
[ --projectId <project-ID> ]
Argument
Type
Description
Required?
<cluser-ID>
string
Unique identifier of the cluster whose backup configuration you want to retrieve. You can use the mongocli ops-manager cluster list to retrieve the ID of a cluster.
yes
Option
Type
Description
Required?
--output, -o
string

Command output format. Valid values are:

  • json for output in JSON format
  • go-template for custom output using the Go template
  • go-template-file for custom output specified using the Go template file

If omitted, the command returns output in the default format.

no
--profile, -P
string
Name of the profile where the project ID and the Programmatic API Keys for the project are saved. If omitted, uses the default profile. To learn more about creating a profile, see Configure the MongoDB CLI.
no
--projectId
string

Unique identifier of the project. If omitted, uses the project ID in the profile or environment variable.

no

If the command succeeds, it returns the following output in the default format. If the command returns errors, see Troubleshooting for recommended solutions.

PROJECT ID CLUSTER ID STATUS STORAGE ENGINE
<project-ID> <cluster-ID> <status> <storage-engine>

The default output contains a subset of the fields returned by this command. For the complete list of JSON fields returned by the command, see the API reference.

The following example uses the mongocli cloud-manager backups config describe command to retrieve the backup configuration details for the specified cluster. The command uses the default profile to access the project.

mongocli cloud-manager backup config describe 5faadea78f65437924572d63

The previous command returns the following:

PROJECT ID CLUSTER ID STATUS STORAGE ENGINE
5e84b94c003f2d6370004f4e 5faadea78f65437924572d63 STARTED WIRED_TIGER
Give Feedback