yc managed-postgresql cluster restore
Restore PostgreSQL cluster
Command Usage
Syntax:
yc managed-postgresql 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 PostgreSQL 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 PostgresSQL cluster. Possible property names:
|
|
|
Allow access for DataLens |
|
|
Allow access for Web SQL |
|
|
Allow access for Serverless |
|
|
Allow access for DataTransfer |
|
|
Allow access for Yandex Query |
|
|
Version of PostgreSQL used in the cluster. Values: 16, 15, 14, 13, 12, 11, 10, 14-1c, 13-1c, 12-1c, 11-1c, 10-1c |
|
|
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'. |
|
|
Set the ID of the folder to use. |
|
|
A list of security groups for the PostgreSQL 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. |
|
|
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. |