1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-16 12:22:03 +00:00

gcloud: Wed Aug 24 09:45:53 UTC 2022

This commit is contained in:
Automated 2022-08-24 09:45:53 +00:00
parent c614d893da
commit 978ed239f6
Failed to extract signature
127 changed files with 2957 additions and 251 deletions

View file

@ -30,7 +30,8 @@ COMMANDS
(BETA) Lists AlloyDB clusters in a given project and region.
restore
(BETA) Restores an AlloyDB cluster from a given backup.
(BETA) Restores an AlloyDB cluster from a given backup or a source
cluster at a specific point in time.
update
(BETA) Updates an AlloyDB cluster within a given project and region.

View file

@ -1,31 +1,37 @@
NAME
gcloud beta alloydb clusters restore - restores an AlloyDB cluster from a
given backup
given backup or a source cluster at a specific point in time
SYNOPSIS
gcloud beta alloydb clusters restore CLUSTER --backup=BACKUP
--region=REGION [--async] [--network=NETWORK]
gcloud beta alloydb clusters restore CLUSTER --region=REGION [--async]
[--network=NETWORK]
[--backup=BACKUP
: --point-in-time=POINT_IN_TIME --source-cluster=SOURCE_CLUSTER]
[--kms-key=KMS_KEY : --kms-keyring=KMS_KEYRING
--kms-location=KMS_LOCATION --kms-project=KMS_PROJECT]
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(BETA) Restores an AlloyDB cluster from a given backup.
(BETA) Restores an AlloyDB cluster from a given backup or a source cluster
at a specific point in time.
EXAMPLES
To restore a cluster from a backup, run:
$ gcloud beta alloydb clusters restore my-cluster \
--region=us-central1 --backup=my-backup
--region=us-central1 --backup=my-backup
To restore a cluster back to a point in time, run:
$ gcloud beta 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
REQUIRED FLAGS
--backup=BACKUP
AlloyDB backup ID
--region=REGION
Regional location (e.g. asia-east1, us-east1). See the full list of
regions at https://cloud.google.com/sql/docs/instance-locations.
@ -42,6 +48,30 @@ 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'.