.. _mongocli-ops-manager-admin-backups-oplog-update:

===============================================
mongocli ops-manager admin backups oplog update
===============================================

.. default-domain:: mongodb

.. contents:: On this page
   :local:
   :backlinks: none
   :depth: 1
   :class: singlecol

Update a backup oplog configuration.

Syntax
------

.. code-block::
   :caption: Command Syntax

   mongocli ops-manager admin backups oplog update <ID> [options]

.. Code end marker, please don't delete this comment

Arguments
---------

.. list-table::
   :header-rows: 1
   :widths: 20 10 10 60

   * - Name
     - Type
     - Required
     - Description
   * - ID
     - string
     - true
     - Oplog identifier.

Options
-------

.. list-table::
   :header-rows: 1
   :widths: 20 10 10 60

   * - 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 update
   * - --label
     - strings
     - false
     - Array of tags to manage which backup jobs Ops Manager can assign to which blockstores. Passing this flag replaces preexisting data.
   * - --maxCapacityGB
     - int
     - false
     - Maximum amount of data in GB the blockstore can 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.

Inherited Options
-----------------

.. list-table::
   :header-rows: 1
   :widths: 20 10 10 60

   * - 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.

