[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-08-07。"],[],[],null,["# Check the status of import and export operations\n\n\u003cbr /\u003e\n\n[MySQL](/sql/docs/mysql/import-export/checking-status-import-export \"View this page for the MySQL database engine\") \\| PostgreSQL \\| [SQL Server](/sql/docs/sqlserver/import-export/checking-status-import-export \"View this page for the SQL Server database engine\")\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\nThis page describes how to check the status of your Cloud SQL import and\nexport operations.\n\nEach status message includes:\n\n- A timestamp.\n- A status (pending, running, or done).\n- A message containing the details of the operation.\n\nCheck the status\n----------------\n\nYou can use the Google Cloud console or `gcloud` to check the status of an\nimport or export.\n| You can also check the status of a cancelled import or export operation. For more information, see [Check the cancelled status](/sql/docs/postgres/import-export/cancel-import-export#check-canceled-status).\n\n\u003cbr /\u003e\n\n### Console\n\n1. In the Google Cloud console, go to the **Cloud SQL Instances** page.\n\n [Go to Cloud SQL Instances](https://console.cloud.google.com/sql)\n2. To open the **Overview** page of an instance, click the instance name.\n3. Select **Operations** from the SQL navigation menu.\n\n The most recent operations are at the top of the list. Look for \"Import\"\n or \"Export\" in the **Type** field.\n\n| Note: If your export fails, you can get\n| information about the failure in the instance operations log.\n| [Learn more.](/sql/docs/postgres/logging#logs)\n\n### gcloud\n\nTo view the status of an import or export operation: \n\n```bash\ngcloud sql operations list \\\n--instance INSTANCE_NAME \\\n--limit 10\n```\n\nImport and export operations have `IMPORT` or `EXPORT`\nin the `TYPE` field. The status of these operations is in the\n`STATUS` field.\n\nYou can also list details of a specific operation or wait for a specific\noperation to complete. For more information on this command, see the\n[`gcloud sql operations`](/sdk/gcloud/reference/sql/operations) command reference page.\n| Note: If your export fails, you can get\n| information about the failure in the instance operations log.\n| [Learn more.](/sql/docs/postgres/instance-info#logs)\n\nIf you exported into a Cloud Storage bucket, you can also check the log file\ncreated by Cloud SQL in the bucket for information about export status.\n\nWhat's next\n-----------\n\n- Learn more about [importing and exporting data](/sql/docs/postgres/import-export)."]]