1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-08 10:35:03 +00:00
gcloud-help/gcloud/alpha/sql/instances/get-latest-recovery-time
2023-06-22 10:31:35 +00:00

43 lines
1.6 KiB
Text

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