# transfer

Transfer data between warehouses. Waits for completion by default.

```bash
carto transfer --source-connection <n> --dest-connection <n> --source-table <t> --dest-table <t>
carto transfer status <jobId>                   # Fetch status of an async transfer job
```

{% hint style="info" %}
Transfer requires the DuckDB import engine to be enabled for your account.
{% endhint %}

## Options

| Option                       | Description                                |
| ---------------------------- | ------------------------------------------ |
| `--source-connection <name>` | (Required) Source connection name.         |
| `--dest-connection <name>`   | (Required) Destination connection name.    |
| `--source-table <fqn>`       | (Required) Source table.                   |
| `--dest-table <fqn>`         | (Required) Destination table.              |
| `--geography`                | Use geography type for spatial data.       |
| `--async`                    | Return job ID immediately without waiting. |

## Examples

```bash
# Transfer from BigQuery to Snowflake
carto transfer \
  --source-connection bigquery-prod \
  --dest-connection snowflake-analytics \
  --source-table project.dataset.customers \
  --dest-table db.schema.customers

# With geography support, async
carto transfer \
  --source-connection bq-prod \
  --dest-connection postgres-dev \
  --source-table project.dataset.geo_data \
  --dest-table public.geo_data \
  --geography --async

# Poll an async transfer
carto transfer status <jobId>
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.carto.com/carto-for-agents/cli/command-reference/transfer.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
