gcloud sql instances - provide commands for managing Cloud SQL instances
gcloud sql instances COMMAND [GCLOUD_WIDE_FLAG ...]
Provide commands for managing Cloud SQL instances including creating, configuring, restarting, and deleting instances.
These flags are available to all commands: --help.
Run $ gcloud help for details.
COMMAND is one of the following:
- clone
Clones a Cloud SQL instance.
- create
Creates a new Cloud SQL instance.
- delete
Deletes a Cloud SQL instance.
- describe
Displays configuration and metadata about a Cloud SQL instance.
- export
(DEPRECATED) Exports data from a Cloud SQL instance.
- failover
Causes a high-availability Cloud SQL instance to failover.
- import
(DEPRECATED) Imports data into a Cloud SQL instance from Google Cloud Storage.
- list
Lists Cloud SQL instances in a given project.
- patch
Updates the settings of a Cloud SQL instance.
- promote-replica
Promotes Cloud SQL read replica to a stand-alone instance.
- reset-ssl-config
Deletes all client certificates and generates a new server certificate.
- restart
Restarts a Cloud SQL instance.
- restore-backup
Restores a backup of a Cloud SQL instance.
These variants are also available:
$ gcloud alpha sql instances
$ gcloud beta sql instances