## NAME

gdcloud database import sql - Import data into a DBCluster custom resource from an SQL dump file in object storage.

## SYNOPSIS

```text
gdcloud database import sql CLUSTER_NAME URI [flags]
```

### EXAMPLES

```text
To import data from an SQL dump file "myfile.dmp" stored in bucket "mybucket" in the PostgreSQL DBCluster "postgres-db", run:

  gdcloud database import sql postgres-db mybucket/myfile.dmp
```

### OPTIONAL FLAGS

```text
      --database string   Database name for import (PostgreSQL Only).
      --zone string       Zone to use for this invocation. To preset the zone flag for all commands that require it, run: "gdcloud config set core/zone ZONE". The zone flag is available only in multi-zone environments.
```

### GDCLOUD WIDE FLAGS

These flags are available to all commands: `--configuration`, `--format`, `--help`, `--project`, `--quiet`.

For more information, see the [gdcloud CLI reference overview](https://docs.cloud.google.com/distributed-cloud/hosted/docs/latest/gdcag/resources/gdcloud-reference/gdcloud.md.txt) page.