<br />

This page describes how to check the status of your Cloud SQL import and
export operations.

Each status message includes:

- A timestamp.
- A status (pending, running, or done).
- A message containing the details of the operation.

## Check the status

You can use the Google Cloud console or `gcloud` to check the status of an
import or export.

<br />

### Console

1. In the Google Cloud console, go to the **Cloud SQL Instances** page.

   [Go to Cloud SQL Instances](https://console.cloud.google.com/sql)
2. To open the **Overview** page of an instance, click the instance name.
3. Select **Operations** from the SQL navigation menu.

   The most recent operations are at the top of the list. Look for "Import"
   or "Export" in the **Type** field.

> [!NOTE]
> Note: If your export fails, you can get
> information about the failure in the instance operations log.
> [Learn more.](https://docs.cloud.google.com/sql/docs/sqlserver/logging.md.txt#logs)

### gcloud

To view the status of an import or export operation:

```bash
gcloud sql operations list \
--instance INSTANCE_NAME \
--limit 10
```

Import and export operations have `IMPORT` or `EXPORT`
in the `TYPE` field. The status of these operations is in the
`STATUS` field.

You can also list details of a specific operation or wait for a specific
operation to complete. For more information on this command, see the
[`gcloud sql operations`](https://docs.cloud.google.com/sdk/gcloud/reference/sql/operations) command reference page.

> [!NOTE]
> Note: If your export fails, you can get
> information about the failure in the instance operations log.
> [Learn more.](https://docs.cloud.google.com/sql/docs/sqlserver/instance-info.md.txt#logs)

If you exported into a Cloud Storage bucket, you can also check the log file
created by Cloud SQL in the bucket for information about export status.

## What's next

- Learn more about [importing and exporting data](https://docs.cloud.google.com/sql/docs/sqlserver/import-export.md.txt).