1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-08 10:35:03 +00:00

gcloud: Thu Jun 22 10:31:35 UTC 2023

This commit is contained in:
Automated 2023-06-22 10:31:35 +00:00
parent 2102dc5511
commit dc0d916cee
219 changed files with 5076 additions and 1639 deletions

View file

@ -5,7 +5,8 @@ SYNOPSIS
gcloud sql instances clone SOURCE DESTINATION [--async]
[--bin-log-file-name=BIN_LOG_FILE_NAME
--bin-log-position=BIN_LOG_POSITION | [--point-in-time=POINT_IN_TIME
: --restore-database-name=RESTORE_DATABASE_NAME]]
: --preferred-zone=PREFERRED_ZONE
--restore-database-name=RESTORE_DATABASE_NAME]]
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
@ -105,6 +106,10 @@ FLAGS
This flag argument must be specified if any of the other arguments in
this group are specified.
--preferred-zone=PREFERRED_ZONE
The preferred zone for the cloned instance. If set, the destination
instance will be created in this zone.
--restore-database-name=RESTORE_DATABASE_NAME
The name of the database to be restored for a point-in-time restore.
If set, the destination instance will only restore the specified

View file

@ -188,7 +188,9 @@ FLAGS
POSTGRES_12, POSTGRES_13, POSTGRES_14, POSTGRES_15,
SQLSERVER_2017_EXPRESS, SQLSERVER_2017_WEB, SQLSERVER_2017_STANDARD,
SQLSERVER_2017_ENTERPRISE, SQLSERVER_2019_EXPRESS, SQLSERVER_2019_WEB,
SQLSERVER_2019_STANDARD, SQLSERVER_2019_ENTERPRISE.
SQLSERVER_2019_STANDARD, SQLSERVER_2019_ENTERPRISE,
SQLSERVER_2022_EXPRESS, SQLSERVER_2022_WEB, SQLSERVER_2022_STANDARD,
SQLSERVER_2022_ENTERPRISE.
--[no-]deletion-protection
Enable deletion protection on a Cloud SQL instance. Use

View file

@ -0,0 +1,40 @@
NAME
gcloud sql instances get-latest-recovery-time - displays the latest
recovery time to which a Cloud SQL instance can be restored to
SYNOPSIS
gcloud sql instances get-latest-recovery-time INSTANCE
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
gcloud sql instances get-latest-recovery-time retrieves the latest recovery
time for a Cloud SQL instance. This is the latest time that can be used to
perform point in time recovery for the Cloud SQL instance.
This is currently limited to PostgreSQL instances that are PITR enabled
with logs stored in cloud storage.
EXAMPLES
To retrieve the latest recovery time for an instance:
$ gcloud sql instances get-latest-recovery-time instance-foo
POSITIONAL ARGUMENTS
INSTANCE
Cloud SQL instance ID.
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 get-latest-recovery-time
$ gcloud beta sql instances get-latest-recovery-time

View file

@ -34,6 +34,10 @@ COMMANDS
failover
Causes a high-availability Cloud SQL instance to failover.
get-latest-recovery-time
Displays the latest recovery time to which a Cloud SQL instance can be
restored to.
import
(DEPRECATED) Imports data into a Cloud SQL instance from Google Cloud
Storage.

View file

@ -134,7 +134,9 @@ FLAGS
POSTGRES_12, POSTGRES_13, POSTGRES_14, POSTGRES_15,
SQLSERVER_2017_EXPRESS, SQLSERVER_2017_WEB, SQLSERVER_2017_STANDARD,
SQLSERVER_2017_ENTERPRISE, SQLSERVER_2019_EXPRESS, SQLSERVER_2019_WEB,
SQLSERVER_2019_STANDARD, SQLSERVER_2019_ENTERPRISE.
SQLSERVER_2019_STANDARD, SQLSERVER_2019_ENTERPRISE,
SQLSERVER_2022_EXPRESS, SQLSERVER_2022_WEB, SQLSERVER_2022_STANDARD,
SQLSERVER_2022_ENTERPRISE.
--[no-]deletion-protection
Enable deletion protection on a Cloud SQL instance. Use