# db import

> db import — Turso documentation.
> Canonical HTML: https://tursodb.cn/docs/cli/db/import/
> Upstream Source (MIT): https://docs.turso.tech/cli/db/import
> Language: en

---
You can import an existing SQLite file to Turso Cloud using the following command:

```bash
turso db import ~/path/to/database.db
```

<div class="doc-callout doc-callout-info"><div class="doc-callout-title">NOTE</div><div class="doc-callout-body">

Make sure the SQLite file has WAL journal mode enabled.

</div></div>


<div class="doc-callout doc-callout-info"><div class="doc-callout-title">NOTE</div><div class="doc-callout-body">

If you have more than one group, you will need to pass the `--group` flag.

</div></div>


## Flags

| Flag | Description |
| - | - |
| `--group` | Import the database in the specified group. |
| `-h`, `--help` | Get help for import. |
