mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-18 14:56:05 +00:00
gcloud: Tue Oct 18 11:38:19 UTC 2022
This commit is contained in:
parent
389ff42bae
commit
5c08d21169
159 changed files with 4170 additions and 656 deletions
|
|
@ -30,8 +30,7 @@ COMMANDS
|
|||
(ALPHA) Lists AlloyDB clusters in a given project and region.
|
||||
|
||||
restore
|
||||
(ALPHA) Restores an AlloyDB cluster from a given backup or a source
|
||||
cluster at a specific point in time.
|
||||
(ALPHA) Restores an AlloyDB cluster from a given backup.
|
||||
|
||||
update
|
||||
(ALPHA) Updates an AlloyDB cluster within a given project and region.
|
||||
|
|
|
|||
|
|
@ -1,19 +1,16 @@
|
|||
NAME
|
||||
gcloud alpha alloydb clusters restore - restores an AlloyDB cluster from a
|
||||
given backup or a source cluster at a specific point in time
|
||||
given backup
|
||||
|
||||
SYNOPSIS
|
||||
gcloud alpha alloydb clusters restore CLUSTER --region=REGION [--async]
|
||||
[--network=NETWORK]
|
||||
[--backup=BACKUP
|
||||
: --point-in-time=POINT_IN_TIME --source-cluster=SOURCE_CLUSTER]
|
||||
gcloud alpha alloydb clusters restore CLUSTER --region=REGION
|
||||
--backup=BACKUP [--async] [--network=NETWORK]
|
||||
[--kms-key=KMS_KEY : --kms-keyring=KMS_KEYRING
|
||||
--kms-location=KMS_LOCATION --kms-project=KMS_PROJECT]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) Restores an AlloyDB cluster from a given backup or a source cluster
|
||||
at a specific point in time.
|
||||
(ALPHA) Restores an AlloyDB cluster from a given backup.
|
||||
|
||||
EXAMPLES
|
||||
To restore a cluster from a backup, run:
|
||||
|
|
@ -21,12 +18,6 @@ EXAMPLES
|
|||
$ gcloud alpha alloydb clusters restore my-cluster \
|
||||
--region=us-central1 --backup=my-backup
|
||||
|
||||
To restore a cluster back to a point in time, run:
|
||||
|
||||
$ gcloud alpha alloydb clusters restore my-cluster \
|
||||
--region=us-central1 --source-cluster=my-source-cluster \
|
||||
--point-in-time=2003-09-25T10:49:41.519Z
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
CLUSTER
|
||||
AlloyDB cluster ID
|
||||
|
|
@ -37,6 +28,15 @@ REQUIRED FLAGS
|
|||
regions at https://cloud.google.com/sql/docs/instance-locations.
|
||||
|
||||
OPTIONAL FLAGS
|
||||
RestoreCluster source types.
|
||||
|
||||
At most one of these can be specified:
|
||||
|
||||
Restore a cluster using a specific backup as the source.
|
||||
|
||||
--backup=BACKUP
|
||||
AlloyDB backup ID
|
||||
|
||||
--async
|
||||
Return immediately, without waiting for the operation in progress to
|
||||
complete.
|
||||
|
|
@ -48,30 +48,6 @@ OPTIONAL FLAGS
|
|||
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:
|
||||
|
||||
Restore a cluster using a specific backup as the source.
|
||||
|
||||
--backup=BACKUP
|
||||
AlloyDB backup ID
|
||||
|
||||
Restore a cluster from a source cluster at a given point in time.
|
||||
|
||||
--point-in-time=POINT_IN_TIME
|
||||
Point in time to restore to, in RFC 3339 format. For example,
|
||||
2012-11-15T16:19:00.094Z.
|
||||
|
||||
This flag argument must be specified if any of the other arguments
|
||||
in this group are specified.
|
||||
|
||||
--source-cluster=SOURCE_CLUSTER
|
||||
Source cluster name.
|
||||
|
||||
This flag argument must be specified if any of the other arguments
|
||||
in this group are specified.
|
||||
|
||||
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