yc managed-mysql cluster restore
Restore MySQL cluster
Command Usage
Syntax:
yc managed-mysql cluster restore [Flags...] [Global Flags...]
Flags
|
Flag |
Description |
|
|
ID of the backup to create a cluster from. |
|
|
Timestamp in RFC3339 of the moment to which the MySQL cluster should be restored. |
|
|
Cluster name. |
|
|
Cluster description. |
|
|
Cluster environment. Values: production, prestable. |
|
|
Network id. |
|
|
Network name. |
|
|
Individual configurations for hosts that should be created for the MySQL cluster. Possible property names:
|
|
|
Allow access for DataLens |
|
|
Allow access for Web SQL |
|
|
Allow access for DataTransfer |
|
|
Allow access for YandexQuery |
|
|
Version of MYSQL used in the cluster. Values: 8.0, 5.7 |
|
|
ID of the preset for computational resources available to a host (CPU, memory etc.). |
|
|
Volume of the storage available to a host in GB. |
|
|
Type of the storage environment for the host. |
|
|
Start time for the daily backup in UTC timezone. Format: HH:MM:SS |
|
|
Retention policy of automated backups. |
|
|
A list of label KEY=VALUE pairs to add. For example, to add two labels named 'foo' and 'bar', both with the value 'baz', use '--labels foo=baz,bar=baz'. |
|
|
ID of folder where restored cluster will be created. |
|
|
A list of security groups for the MySQL cluster. |
|
|
Deletion Protection inhibits deletion of the cluster. |
|
|
A list of host groups to place VMs of cluster on. |
|
|
ID of the KMS key for cluster disk encryption. Empty input will remove the use of encryption. |
|
|
Maintenance window settings Possible property names:
|
|
|
Performance diagnostics settings Possible property names:
|
|
|
Disk size autoscaling settings Possible property names:
|
|
|
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. |