- 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-timeINSTANCE[--source-instance-deletion-time=SOURCE_INSTANCE_DELETION_TIME] [GCLOUD_WIDE_FLAG …]
-
- DESCRIPTION
-
(ALPHA)gcloud alpha sql instances get-latest-recovery-timeretrieves 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. - EXAMPLES
-
To retrieve the latest recovery time for an instance:
gcloud alpha sql instances get-latest-recovery-time instance-fooTo retrieve the latest recovery time for an instance that has been deleted:
gcloud alpha sql instances get-latest-recovery-time instance-foo --source-instance-deletion-time '2012-11-15T16:19:00.094Z' - POSITIONAL ARGUMENTS
-
INSTANCE- Cloud SQL instance ID.
- FLAGS
-
--source-instance-deletion-time=SOURCE_INSTANCE_DELETION_TIME- The deletion time of the source instance. This is used to identify the instance if it has been deleted.
- 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 helpfor 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-timegcloud beta sql instances get-latest-recovery-time
gcloud alpha sql instances get-latest-recovery-time
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-09-16 UTC.