mongocli ops-manager admin backups oplog create
On this page
This version of the documentation is archived and no longer supported. View the current documentation to learn how to upgrade your version of MongoCLI.
Create a backup oplog configuration.
Syntax
mongocli ops-manager admin backups oplog create [options]
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 credentialstool. | |
-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 | The maximum amount of data in GB this blockstore can store. |
--name | string | true | The unique name that labels this oplog store. |
-o, --output | string | false | Output format.
Valid values: json|json-path|go-template|go-template-file |
--ssl | false | Flag indicating whether this oplog store only accepts connections encrypted using TLS. | |
--uri | string | true | A comma-separated list of hosts in the <hostname:port> format that can be used to access this blockstore. |
--writeConcern | string | false | The write concern used for this blockstore. |
Inherited Options
Name | Type | Required | Description |
---|---|---|---|
-P, --profile | string | false | Profile to use from your configuration file. |