- 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-timeINSTANCE[--source-instance-deletion-time=SOURCE_INSTANCE_DELETION_TIME] [GCLOUD_WIDE_FLAG …]
-
- DESCRIPTION
-
gcloud 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 sql instances get-latest-recovery-time instance-fooTo retrieve the latest recovery time for an instance that has been deleted:
gcloud 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
-
These variants are also available:
gcloud alpha sql instances get-latest-recovery-timegcloud beta sql instances get-latest-recovery-time
gcloud 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.