mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-18 14:56:05 +00:00
gcloud: Thu Jun 8 11:29:23 UTC 2023
This commit is contained in:
parent
91de7103bb
commit
435c9359b5
115 changed files with 1566 additions and 491 deletions
|
|
@ -37,7 +37,8 @@ COMMANDS
|
|||
region.
|
||||
|
||||
restore
|
||||
(BETA) Restore an AlloyDB cluster from a given backup.
|
||||
(BETA) Restore an AlloyDB cluster from a given backup or a source
|
||||
cluster and a timestamp.
|
||||
|
||||
update
|
||||
(BETA) Update an AlloyDB cluster within a given project and region.
|
||||
|
|
|
|||
|
|
@ -1,18 +1,19 @@
|
|||
NAME
|
||||
gcloud beta alloydb clusters restore - restore an AlloyDB cluster from a
|
||||
given backup
|
||||
given backup or a source cluster and a timestamp
|
||||
|
||||
SYNOPSIS
|
||||
gcloud beta alloydb clusters restore CLUSTER --region=REGION [--async]
|
||||
[--network=NETWORK]
|
||||
[--backup=BACKUP
|
||||
| --point-in-time=POINT_IN_TIME --source-cluster=SOURCE_CLUSTER]
|
||||
gcloud beta alloydb clusters restore CLUSTER --region=REGION
|
||||
(--backup=BACKUP
|
||||
| --point-in-time=POINT_IN_TIME --source-cluster=SOURCE_CLUSTER)
|
||||
[--async] [--network=NETWORK]
|
||||
[--kms-key=KMS_KEY : --kms-keyring=KMS_KEYRING
|
||||
--kms-location=KMS_LOCATION --kms-project=KMS_PROJECT]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(BETA) Restore an AlloyDB cluster from a given backup.
|
||||
(BETA) Restore an AlloyDB cluster from a given backup or a source cluster
|
||||
and a timestamp.
|
||||
|
||||
EXAMPLES
|
||||
To restore a cluster from a backup, run:
|
||||
|
|
@ -20,6 +21,12 @@ EXAMPLES
|
|||
$ gcloud beta alloydb clusters restore my-cluster \
|
||||
--region=us-central1 --backup=my-backup
|
||||
|
||||
To restore a cluster from a source cluster and a timestamp, run:
|
||||
|
||||
$ gcloud beta alloydb clusters restore my-cluster \
|
||||
--region=us-central1 --source-cluster=old-cluster \
|
||||
--point-in-time=2012-11-15T16:19:00.094Z
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
CLUSTER
|
||||
AlloyDB cluster ID
|
||||
|
|
@ -29,26 +36,12 @@ REQUIRED FLAGS
|
|||
Regional location (e.g. asia-east1, us-east1). See the full list of
|
||||
regions at https://cloud.google.com/sql/docs/instance-locations.
|
||||
|
||||
OPTIONAL FLAGS
|
||||
--async
|
||||
Return immediately, without waiting for the operation in progress to
|
||||
complete.
|
||||
|
||||
--network=NETWORK
|
||||
Network in the current project that the instance will be part of. To
|
||||
specify using a network with a shared VPC, use the full URL of the
|
||||
network. For an example host project, 'testproject', and shared
|
||||
network, 'testsharednetwork', this would be of the
|
||||
form:--network=projects/testproject/global/networks/testsharednetwork
|
||||
|
||||
RestoreCluster source types.
|
||||
|
||||
At most one of these can be specified:
|
||||
Exactly one of these must be specified:
|
||||
|
||||
Restore a cluster using a specific backup as the source.
|
||||
|
||||
--backup=BACKUP
|
||||
AlloyDB backup ID
|
||||
--backup=BACKUP
|
||||
AlloyDB backup ID
|
||||
|
||||
Restore a cluster from a source cluster at a given point in time.
|
||||
|
||||
|
|
@ -65,6 +58,18 @@ OPTIONAL FLAGS
|
|||
This flag argument must be specified if any of the other arguments
|
||||
in this group are specified.
|
||||
|
||||
OPTIONAL FLAGS
|
||||
--async
|
||||
Return immediately, without waiting for the operation in progress to
|
||||
complete.
|
||||
|
||||
--network=NETWORK
|
||||
Network in the current project that the instance will be part of. To
|
||||
specify using a network with a shared VPC, use the full URL of the
|
||||
network. For an example host project, 'testproject', and shared
|
||||
network, 'testsharednetwork', this would be of the
|
||||
form:--network=projects/testproject/global/networks/testsharednetwork
|
||||
|
||||
Key resource - The Cloud KMS (Key Management Service) cryptokey that will
|
||||
be used to protect the cluster. The 'AlloyDB Service Agent' service
|
||||
account must hold permission 'Cloud KMS CryptoKey Encrypter/Decrypter'.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue