mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-08 02:25:19 +00:00
gcloud: Thu Jun 22 10:31:35 UTC 2023
This commit is contained in:
parent
2102dc5511
commit
dc0d916cee
219 changed files with 5076 additions and 1639 deletions
|
|
@ -6,7 +6,8 @@ SYNOPSIS
|
|||
[--allocated-ip-range-name=ALLOCATED_IP_RANGE_NAME] [--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
|
||||
|
|
@ -119,6 +120,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
|
||||
|
|
|
|||
43
gcloud/alpha/sql/instances/get-latest-recovery-time
Normal file
43
gcloud/alpha/sql/instances/get-latest-recovery-time
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
NAME
|
||||
gcloud alpha sql instances get-latest-recovery-time - displays the latest
|
||||
recovery time to which a Cloud SQL instance can be restored to
|
||||
|
||||
SYNOPSIS
|
||||
gcloud alpha sql instances get-latest-recovery-time INSTANCE
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) gcloud alpha 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 alpha 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
|
||||
This command is currently in alpha and might change without notice. If this
|
||||
command fails with API permission errors despite specifying the correct
|
||||
project, you might be trying to access an API with an invitation-only early
|
||||
access allowlist. These variants are also available:
|
||||
|
||||
$ gcloud sql instances get-latest-recovery-time
|
||||
|
||||
$ gcloud beta sql instances get-latest-recovery-time
|
||||
|
||||
|
|
@ -41,6 +41,10 @@ COMMANDS
|
|||
failover
|
||||
(ALPHA) Causes a high-availability Cloud SQL instance to failover.
|
||||
|
||||
get-latest-recovery-time
|
||||
(ALPHA) Displays the latest recovery time to which a Cloud SQL instance
|
||||
can be restored to.
|
||||
|
||||
import
|
||||
(ALPHA) (DEPRECATED) Imports data into a Cloud SQL instance from Google
|
||||
Cloud Storage.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue