Docs Menu
Docs Home
/ /
MongoDB CLI
/ / / / /

mongocli ops-manager admin backups oplog create

On this page

  • Syntax
  • Options
  • Inherited Options

Create a backup oplog configuration.

Command Syntax
mongocli ops-manager admin backups oplog create [options]
Name
Type
Required
Description

--assignment

false

Flag indicating whether this oplog can be assigned backup jobs.

--encryptedCredentials

false

Flag indicating whether the username and password were encrypted using the credentials tool.

-h, --help

false

help for create

--label

strings

false

Array of tags to manage which backup jobs Ops Manager can assign to which blockstores.

--maxCapacityGB

int

false

Maximum amount of data in GB the blockstore can store.

--name

string

true

Unique name that labels this oplog store.

-o, --output

string

false

Output format. Valid values are json, json-path, go-template, or go-template-file. To see the full output, use the -o json option.

--ssl

false

Flag that indicates whether this oplog store accepts only connections encrypted using TLS

--uri

string

true

Comma-separated list of hosts in the <hostname:port> format for accessing the blockstore.

--writeConcern

string

false

Write concern for the blockstore.

Name
Type
Required
Description

-P, --profile

string

false

Name of the profile to use from your configuration file. To learn about profiles for MongoCLI, see https://dochub.mongodb.org/core/atlas-cli-configuration-file.

Back

oplog