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

40 lines
1.3 KiB
Text

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