DragonFly On-Line Manual Pages

Search: Section:  


GCLOUD SQL INSTANCES IMPORT(1)                  GCLOUD SQL INSTANCES IMPORT(1)

NAME

gcloud_sql_instances_import - imports data into a Cloud SQL instance from Google Cloud Storage

SYNOPSIS

gcloud sql instances import INSTANCE URI [URI ...] [--async] [--database DATABASE, -d DATABASE] [--format FORMAT] [--help] [--project PROJECT_ID] [--quiet, -q] [-h]

DESCRIPTION

Imports data into a Cloud SQL instance from Google Cloud Storage.

POSITIONAL ARGUMENTS

INSTANCE Cloud SQL instance ID. 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.

FLAGS

--async Do not wait for the operation to complete. --database DATABASE, -d 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. GLOBAL FLAGS --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_ID The Google Cloud Platform project name to use for this invocation. If omitted then the current project is assumed. --quiet, -q Disable all interactive prompts when running gcloud commands. If input is required, defaults will be used, or an error will be raised. -h Print a summary help and exit.

NOTES

This command is in the Google Cloud SDK sql component. See installing components if it is not installed. GCLOUD SQL INSTANCES IMPORT(1)

Search: Section: