gcloud alpha sql instances Stay organized with collections Save and categorize content based on your preferences.
- NAME
- gcloud alpha sql instances - provide commands for managing Cloud SQL instances
- SYNOPSIS
gcloud alpha sql instancesGROUP|COMMAND[GCLOUD_WIDE_FLAG …]
- DESCRIPTION
(ALPHA)Provide commands for managing Cloud SQL instances includingcreating, configuring, restarting, and deleting instances.- GCLOUD WIDE FLAGS
- These flags are available to all commands:
--help.Run
$gcloud helpfor details. - GROUPS
is one of the following:GROUPconfig(ALPHA)Manage Sqladmin instance configurations.
- COMMANDS
is one of the following:COMMANDclone(ALPHA)Clones a Cloud SQL instance.create(ALPHA)Creates a new Cloud SQL instance.delete(ALPHA)Deletes a Cloud SQL instance.describe(ALPHA)Displays configuration and metadata about a Cloud SQLinstance.execute-sql(ALPHA)Executes a statement on a Cloud SQL instance.export(ALPHA)(DEPRECATED)Exports data from a Cloud SQLinstance.failover(ALPHA)Causes a high-availability Cloud SQL instance to failover.get-latest-recovery-time(ALPHA)Displays the latest recovery time to which a Cloud SQLinstance can be restored to.import(ALPHA)(DEPRECATED)Imports data into a Cloud SQLinstance from Google Cloud Storage.list(ALPHA)Lists Cloud SQL instances in a given project.patch(ALPHA)Updates the settings of a Cloud SQL instance.point-in-time-restore(ALPHA)Performs a point in time restore for a Cloud SQL instancemanaged by Google Cloud Backup and Disaster Recovery (DR) Service.promote-replica(ALPHA)Promotes Cloud SQL read replica to a stand-alone instance.reencrypt(ALPHA)Reencrypts a Cloud SQL CMEK instance.reset-ssl-config(ALPHA)Reset SSL materials according to the reset SSL mode.restart(ALPHA)Restarts a Cloud SQL instance.restore-backup(ALPHA)Restores a backup of a Cloud SQL instance.switchover(ALPHA)Switches over a Cloud SQL instance to one of its replicas.
- NOTES
- This command is currently in alpha and might change without notice. If thiscommand fails with API permission errors despite specifying the correct project,you might be trying to access an API with an invitation-only early accessallowlist. These variants are also available:
gcloudsqlinstancesgcloudbetasqlinstances
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-11-04 UTC.