- 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
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 2024-02-06 UTC.