Navigation

mongocli ops-manager admin backup s3 list

Note

You must be a Global Owner to run admin commands.

The admin backup s3 list command retrieves the list of backup S3 blockstore configurations for your Ops Manager deployment. You can also list S3 configurations using the API, or view S3 configurations in the Administration Console.

mongocli ops-manager|om admin backup s3 list|ls
[ --limit <items-per-page> ]
[ --output|-o <output-format> ]
[ --page <page-number> ]
[ --profile|-P <profile-name> ]
Note

Use -h or --help to view the command-line help for this command.

Option
Type
Description
Required?
--limit
integer
Number of items to return per page, up to a maximum of 500. Defaults to 100 if not specified.
no
--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
--page
integer
Page number (1-based). Defaults to 1 if not specified.
no
--profile, -P
string
Name of the profile where the public and private keys for accessing Ops Manager are saved. If omitted, uses the default profile. To learn more about creating a profile, see Configure the MongoDB CLI.
no

The command prints the following fields in the specified format to the terminal if the command succeeds. If the command prints an error, see Troubleshooting for recommended solutions.

NAME URI SSL LOAD FACTOR AUTH METHOD
<name> <hostname>:<port> <boolean> <integer> <s3-auth-method>

The default output is a subset of the fields returned by this command. For the complete list of JSON fields returned by the command, see the Public API reference for your MongoDB service:

The following command retrieves the list of S3 blockstore configurations using the default profile, which contains Global Owner Ops Manager credentials. The output is returned in the default format.

mongocli ops-manager admin backup s3 list

The previous command prints the following to the terminal.

NAME URI SSL LOAD FACTOR AUTH METHOD
s3BackupExample mongodb://127.0.0.1:27017 false 1
Give Feedback