- NAME
-
- gcloud beta sql instances get-latest-recovery-time - displays the latest recovery time to which a Cloud SQL instance can be restored to
- SYNOPSIS
-
-
gcloud beta sql instances get-latest-recovery-timeINSTANCE[--source-instance-deletion-time=SOURCE_INSTANCE_DELETION_TIME] [GCLOUD_WIDE_FLAG …]
-
- DESCRIPTION
-
(BETA)gcloud beta 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 beta sql instances get-latest-recovery-time instance-fooTo retrieve the latest recovery time for an instance that has been deleted:
gcloud beta 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 beta and might change without notice. These
variants are also available:
gcloud sql instances get-latest-recovery-timegcloud alpha sql instances get-latest-recovery-time
gcloud beta 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 2026-05-27 UTC.

