mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-18 23:08:48 +00:00
gcloud: Tue Nov 18 10:53:36 UTC 2025
This commit is contained in:
parent
4b21ae6795
commit
e1ec13485a
380 changed files with 16045 additions and 783 deletions
|
|
@ -593,8 +593,8 @@ FLAGS
|
|||
here: https://cloud.google.com/sql/docs/quotas#storage_limits
|
||||
|
||||
--storage-type=STORAGE_TYPE
|
||||
The storage type for the instance. The default is SSD. STORAGE_TYPE
|
||||
must be one of: SSD, HDD, HYPERDISK_BALANCED.
|
||||
The storage type for the instance, determined by the selected machine
|
||||
type. STORAGE_TYPE must be one of: SSD, HDD, HYPERDISK_BALANCED.
|
||||
|
||||
--tags=TAG=VALUE,[TAG=VALUE,...]
|
||||
Comma-separated list of tags to set on the instance. Use an equals
|
||||
|
|
|
|||
|
|
@ -51,6 +51,10 @@ COMMANDS
|
|||
patch
|
||||
Updates the settings of a Cloud SQL instance.
|
||||
|
||||
point-in-time-restore
|
||||
Performs a point in time restore for a Cloud SQL instance managed by
|
||||
Google Cloud Backup and Disaster Recovery (DR) Service.
|
||||
|
||||
pre-check-major-version-upgrade
|
||||
Performs pre-checks for a major version upgrade of a Cloud SQL
|
||||
instance.
|
||||
|
|
|
|||
|
|
@ -58,7 +58,7 @@ SYNOPSIS
|
|||
[--[no-]storage-auto-increase]
|
||||
[--storage-provisioned-iops=STORAGE_PROVISIONED_IOPS]
|
||||
[--storage-provisioned-throughput=STORAGE_PROVISIONED_THROUGHPUT]
|
||||
[--storage-size=STORAGE_SIZE]
|
||||
[--storage-size=STORAGE_SIZE] [--storage-type=STORAGE_TYPE]
|
||||
[--switch-transaction-logs-to-cloud-storage]
|
||||
[--threads-per-core=THREADS_PER_CORE] [--tier=TIER, -t TIER]
|
||||
[--time-zone=TIME_ZONE] [--upgrade-sql-network-architecture]
|
||||
|
|
@ -529,6 +529,10 @@ FLAGS
|
|||
of GB. The default is 10GB. Information on storage limits can be found
|
||||
here: https://cloud.google.com/sql/docs/quotas#storage_limits
|
||||
|
||||
--storage-type=STORAGE_TYPE
|
||||
The storage type for the instance, determined by the selected machine
|
||||
type. STORAGE_TYPE must be one of: SSD, HDD, HYPERDISK_BALANCED.
|
||||
|
||||
--switch-transaction-logs-to-cloud-storage
|
||||
Switches the location of the transaction logs used for PITR from disk
|
||||
to Cloud Storage.
|
||||
|
|
|
|||
83
gcloud/sql/instances/point-in-time-restore
Normal file
83
gcloud/sql/instances/point-in-time-restore
Normal file
|
|
@ -0,0 +1,83 @@
|
|||
NAME
|
||||
gcloud sql instances point-in-time-restore - performs a point in time
|
||||
restore for a Cloud SQL instance managed by Google Cloud Backup and
|
||||
Disaster Recovery Service
|
||||
|
||||
SYNOPSIS
|
||||
gcloud sql instances point-in-time-restore DATASOURCE TARGET POINT_IN_TIME
|
||||
[--allocated-ip-range-name=ALLOCATED_IP_RANGE_NAME] [--async]
|
||||
[--preferred-secondary-zone=PREFERRED_SECONDARY_ZONE]
|
||||
[--preferred-zone=PREFERRED_ZONE] [--private-network=PRIVATE_NETWORK]
|
||||
[--restore-database-names=RESTORE_DATABASE_NAMES]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
gcloud sql instances point-in-time-restore performs a point in time restore
|
||||
for a Cloud SQL instance managed by Google Cloud Backup and Disaster
|
||||
Recovery (DR) Service.
|
||||
|
||||
EXAMPLES
|
||||
To perform a point in time restore from an earlier point in time:
|
||||
|
||||
$ gcloud sql instances point-in-time-restore datasource \
|
||||
target-instance '2012-11-15T16:19:00.094Z'
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
DATASOURCE
|
||||
The Google Cloud Backup and Disaster Recovery (DR) Service Datasource
|
||||
URI, of the form projects/{project}/locations/{region}/backupVaults/
|
||||
{backupvault}/dataSources/{datasource}.
|
||||
|
||||
TARGET
|
||||
Cloud SQL instance ID of the target instance.
|
||||
|
||||
POINT_IN_TIME
|
||||
The point in time in which to restore the instance to. Uses RFC 3339
|
||||
format in UTC timezone. For example, '2012-11-15T16:19:00.094Z'.
|
||||
|
||||
FLAGS
|
||||
--allocated-ip-range-name=ALLOCATED_IP_RANGE_NAME
|
||||
The name of the IP range allocated for the target instance with private
|
||||
network connectivity. For example: 'google-managed-services-default'.
|
||||
If set, the target instance IP is created in the allocated range
|
||||
represented by this name. Reserved for future use.
|
||||
|
||||
--async
|
||||
Return immediately, without waiting for the operation in progress to
|
||||
complete.
|
||||
|
||||
--preferred-secondary-zone=PREFERRED_SECONDARY_ZONE
|
||||
The preferred secondary zone for the cloned regional instance. If you
|
||||
specify a value for this flag, then the target instance uses the value
|
||||
as the secondary zone. The secondary zone can't be the same as the
|
||||
primary zone.
|
||||
|
||||
--preferred-zone=PREFERRED_ZONE
|
||||
The preferred zone for the target instance. If you specify a value for
|
||||
this flag, then the target instance uses the value as the primary zone.
|
||||
|
||||
--private-network=PRIVATE_NETWORK
|
||||
The resource link for the VPC network from which the Cloud SQL instance
|
||||
is accessible for private IP. For example,
|
||||
'/projects/myProject/global/networks/default'.
|
||||
|
||||
--restore-database-names=RESTORE_DATABASE_NAMES
|
||||
The name of the databases to be restored for a point-in-time restore.
|
||||
If set, the destination instance will only restore the specified
|
||||
databases.
|
||||
|
||||
GCLOUD WIDE FLAGS
|
||||
These flags are available to all commands: --access-token-file, --account,
|
||||
--billing-project, --configuration, --flags-file, --flatten, --format,
|
||||
--help, --impersonate-service-account, --log-http, --project, --quiet,
|
||||
--trace-token, --user-output-enabled, --verbosity.
|
||||
|
||||
Run $ gcloud help for details.
|
||||
|
||||
NOTES
|
||||
These variants are also available:
|
||||
|
||||
$ gcloud alpha sql instances point-in-time-restore
|
||||
|
||||
$ gcloud beta sql instances point-in-time-restore
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue