gcloud alpha sql import - provides commands to import Cloud SQL instances
gcloud alpha sql import COMMAND [GCLOUD_WIDE_FLAG ...]
(ALPHA) Provides commands to import Cloud SQL instances.
These flags are available to all commands: --help.
Run $ gcloud help for details.
COMMAND is one of the following:
- bak
(ALPHA) Import data into a Cloud SQL instance from a BAK file.
- csv
(ALPHA) Imports data into a Cloud SQL instance from a CSV file.
- sql
(ALPHA) Imports data into a Cloud SQL instance from a SQL dump file.
This command is currently in alpha and might change without notice. If this command fails with API permission errors despite specifying the correct project, you might be trying to access an API with an invitation-only early access allowlist. These variants are also available:
$ gcloud sql import
$ gcloud beta sql import