- NAME
-
- gcloud beta sql instances - provide commands for managing Cloud SQL instances
- SYNOPSIS
-
-
gcloud beta sql instancesCOMMAND[GCLOUD_WIDE_FLAG …]
-
- DESCRIPTION
-
(BETA)Provide commands for managing Cloud SQL instances including creating, configuring, restarting, and deleting instances. - GCLOUD WIDE FLAGS
- These flags are available to all commands:
--help.Run
$ gcloud helpfor details. - COMMANDS
-
is one of the following:COMMAND-
clone -
(BETA)Clones a Cloud SQL instance. -
create -
(BETA)Creates a new Cloud SQL instance. -
delete -
(BETA)Deletes a Cloud SQL instance. -
describe -
(BETA)Displays configuration and metadata about a Cloud SQL instance. -
execute-sql -
(BETA)Executes a statement on a Cloud SQL instance. -
export -
(BETA)(DEPRECATED)Exports data from a Cloud SQL instance. -
failover -
(BETA)Causes a high-availability Cloud SQL instance to failover. -
get-latest-recovery-time -
(BETA)Displays the latest recovery time to which a Cloud SQL instance can be restored to. -
get-storage-shrink-config -
(BETA)Displays the minimum storage size to which a Cloud SQL instance can be decreased. -
import -
(BETA)(DEPRECATED)Imports data into a Cloud SQL instance from Google Cloud Storage. -
list -
(BETA)Lists Cloud SQL instances in a given project. -
patch -
(BETA)Updates the settings of a Cloud SQL instance. -
perform-storage-shrink -
(BETA)Performs a storage size decrease of a Cloud SQL instance. -
point-in-time-restore -
(BETA)Performs a point in time restore for a Cloud SQL instance managed by Google Cloud Backup and Disaster Recovery (DR) Service. -
pre-check-major-version-upgrade -
(BETA)Performs pre-checks for a major version upgrade of a Cloud SQL instance. -
promote-replica -
(BETA)Promotes Cloud SQL read replica to a stand-alone instance. -
reencrypt -
(BETA)Reencrypts a Cloud SQL CMEK instance. -
reset-ssl-config -
(BETA)Reset SSL materials according to the reset SSL mode. -
restart -
(BETA)Restarts a Cloud SQL instance. -
restore-backup -
(BETA)Restores a backup of a Cloud SQL instance. -
switchover -
(BETA)Switches over a Cloud SQL instance to one of its replicas.
-
- NOTES
- This command is currently in beta and might change without notice. These
variants are also available:
gcloud sql instancesgcloud alpha sql instances
gcloud beta sql instances
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.

