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:
parent
c614d893da
commit
978ed239f6
127 changed files with 2957 additions and 251 deletions
|
|
@ -30,7 +30,8 @@ COMMANDS
|
|||
(ALPHA) Lists AlloyDB clusters in a given project and region.
|
||||
|
||||
restore
|
||||
(ALPHA) Restores an AlloyDB cluster from a given backup.
|
||||
(ALPHA) Restores an AlloyDB cluster from a given backup or a source
|
||||
cluster at a specific point in time.
|
||||
|
||||
update
|
||||
(ALPHA) Updates an AlloyDB cluster within a given project and region.
|
||||
|
|
|
|||
|
|
@ -1,31 +1,37 @@
|
|||
NAME
|
||||
gcloud alpha 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 alpha alloydb clusters restore CLUSTER --backup=BACKUP
|
||||
--region=REGION [--async] [--network=NETWORK]
|
||||
gcloud alpha 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
|
||||
(ALPHA) Restores an AlloyDB cluster from a given backup.
|
||||
(ALPHA) 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 alpha 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 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
|
||||
|
||||
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'.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue