hardgcloud
Import a SQL dump file from Cloud Storage into a Cloud SQL instance
command
gcloud sql instances import INSTANCE gs://BUCKET/FILE --database DB_NAMEalso accepted
gcloud sql instances importcommand
gcloud sql instances import INSTANCE gs://BUCKET/FILE --database DB_NAMEalso accepted
gcloud sql instances importPart of the Google Cloud CLI (gcloud) — Cloud SQL category.
| Flag | Purpose |
|---|---|
--database | Boolean flag |
Test your recall — not just your reading.
Practice with interactive quiz →