mongocli ops-manager admin backup sync create¶
You must be a
Global Owner to run
mongocli ops-manager|om admin backup sync create [ --assignment ] [ --encryptedCredentials ] [ --label <tags> ] [ --loadFactor <number-of-backup-jobs> ] [ --maxCapacityGB <amount-of-data> ] --name <sync-store-name> [ --output|-o <output-format> ] [ --profile|-P <profile-name> ] [ --ssl ] --uri <hosts> [ --writeConcern <write-concern> ]
--help to view the command-line help for
Flag that indicates whether this sync store can be assigned backup jobs.
Flag that indicates whether the username and password for this sync store were encrypted using the credentialstool.
array of strings
Array of tags that specify which backup jobs Ops Manager can assign to which sync stores. If omitted, this sync store can only process the backup jobs for projects that don't use labels to filter their jobs.
Required if more than one snapshot store is in use. Number that expresses how much backup work this snapshot store should perform compared to another snapshot store. Value must be a positive, non-zero integer.
Maximum amount of data in GB that this sync store can store.
Unique name for this sync store. This is also the sync store ID.
Flag that indicates whether this sync store only accepts connections encrypted using TLS .
Comma-separated list of hosts in the
Write concern to use for this sync store. Valid values are:
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.
Sync store '<name>' created
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.
mongocli om admin backup sync create command
creates the Sync store named
test. The command uses the
default profile, which contains the credentials for accessing
mongocli om admin backup sync create --name test --uri mongodb://localhost:27017
The previous command returns the following:
Sync configuration 'test' created.