yc managed-mongodb cluster restore
Restore a MongoDB cluster from a backup.
Command Usage
Syntax:
yc managed-mongodb cluster restore [Flags...] [Global Flags...]
Flags
|
Flag |
Description |
|
|
ID of the backup to use for restoring a cluster. |
|
|
Name for the restored cluster. |
|
|
Description for the restored cluster. |
|
|
Environment for the restored cluster. Supported values: 'production', 'prestable'. |
|
|
Timestamp of the moment to which the MongoDB cluster should be restored. Format: UNIX Epoch time (POSIX time). |
|
|
A comma separated list of MongoDB namespaces restore to. Format: 'db_name.coll_name'. |
|
|
A comma separated list of MongoDB namespaces NOT restore to. Format: 'db_name.coll_name'. |
|
|
Network id. |
|
|
Network name. |
|
|
Individual configurations for hosts that should be created for the MongoDB cluster being restored. Possible property names:
|
|
|
A list of labels as key-value pairs to add for the cluster being restored. |
|
|
ID of folder where restored cluster will be created. |
|
|
A list of security groups for the MongoDB cluster. |
|
|
ID of the KMS key for cluster disk encryption. Empty input will remove the use of encryption. |
|
|
Version of MongoDB used by the cluster. Supported value: 5.0, 6.0, 7.0 |
|
|
Start time for the daily backup in UTC timezone. Format: HH:MM:SS |
|
|
Retain period of automatically created backup in days. |
|
|
Enable or disable performance diagnostics |
|
|
Allow access for DataLens |
|
|
Allow access for Web SQL |
|
|
Allow access for DataTransfer |
|
|
Resource preset for computational resources available to mongodb host with corresponding role (CPU, RAM etc.). |
|
|
Volume of the storage available to mongodb host with corresponding role in GB. |
|
|
Storage type for mongodb host with corresponding role. |
|
|
Resource preset for computational resources available to mongodb host with corresponding role (CPU, RAM etc.). |
|
|
Volume of the storage available to mongodb host with corresponding role in GB. |
|
|
Storage type for mongodb host with corresponding role. |
|
|
Resource preset for computational resources available to mongodb host with corresponding role (CPU, RAM etc.). |
|
|
Volume of the storage available to mongodb host with corresponding role in GB. |
|
|
Storage type for mongodb host with corresponding role. |
|
|
Resource preset for computational resources available to mongodb host with corresponding role (CPU, RAM etc.). |
|
|
Volume of the storage available to mongodb host with corresponding role in GB. |
|
|
Storage type for mongodb host with corresponding role. |
|
|
Display information about the operation in progress, without waiting for the operation to complete. |
Global Flags
|
Flag |
Description |
|
|
Set the custom configuration file. |
|
|
Debug logging. |
|
|
Debug gRPC logging. Very verbose, used for debugging connection problems. |
|
|
Disable printing user intended output to stderr. |
|
|
Enable gRPC retries. By default, retries are enabled with maximum 5 attempts. |
|
|
Set the ID of the cloud to use. |
|
|
Set the name of the folder to use (will be resolved to id). |
|
|
Set the Cloud API endpoint (host:port). |
|
|
Set the OAuth token to use. |
|
|
Set the ID of the service account to impersonate. |
|
|
Disable opening browser for authentication. |
|
|
Set the output format: text (default), yaml, json, json-rest. |
|
|
Query to select values from the response using jq syntax |
|
|
Display help for the command. |