- NAME
- gcloud-sql-instances-import - Imports data into a Cloud SQL instance from Google Cloud Storage.
- SYNOPSIS
-
gcloud sql instances import INSTANCE [--database DATABASE, -d DATABASE] [--format FORMAT] [--help] [--project PROJECT] [--quiet, -q] --uri URI [URI …], -u URI [URI …] [-h]
- POSITIONAL ARGUMENTS
-
-
INSTANCE
- Cloud SQL instance ID.
-
- FLAGS
-
-
--database
DATABASE
- The database (for example, guestbook) to which the import is made. If not set, it is assumed that the database is specified in the file to be imported.
-
--format
FORMAT
- Specify a format for printed output. By default, a command-specific human-friendly output format is used. Setting this flag to one of the available options will serialize the result of the command in the chosen format and print it to stdout. Supported formats are: "json", "text", "yaml".
-
--help
- Display detailed help.
-
--project
PROJECT
- Google Cloud Platform project to use for this invocation.
-
--quiet
- Disable all interactive prompts when running gcloud commands. If input is required, defaults will be used, or an error will be raised.
-
--uri
URI [URI …]
- Path to the MySQL dump file in Google Cloud Storage from which the import is made. The URI is in the form gs://bucketName/fileName. Compressed gzip files (.gz) are also supported.
-
-h
- Print a summary help and exit.
-
gcloud sql instances import
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 3.0 License , and code samples are licensed under the Apache 2.0 License . For details, see our Site Policies .
Last updated August 11, 2014.