Les opérations d'importation et d'exportation comportent IMPORT ou EXPORT dans le champ TYPE. L'état de ces opérations est indiqué dans le champ STATUS.
Vous pouvez également répertorier les détails d'une opération spécifique ou attendre la fin d'une opération spécifique. Pour plus d'informations sur cette commande, consultez la page de référence de la commande gcloud sql operations.
Si vous avez effectué une opération d'exportation dans un bucket Cloud Storage, vous pouvez également consulter le fichier journal créé par Cloud SQL dans celui-ci pour en savoir plus sur l'état de l'exportation.
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/09/04 (UTC).
[[["Facile à comprendre","easyToUnderstand","thumb-up"],["J'ai pu résoudre mon problème","solvedMyProblem","thumb-up"],["Autre","otherUp","thumb-up"]],[["Difficile à comprendre","hardToUnderstand","thumb-down"],["Informations ou exemple de code incorrects","incorrectInformationOrSampleCode","thumb-down"],["Il n'y a pas l'information/les exemples dont j'ai besoin","missingTheInformationSamplesINeed","thumb-down"],["Problème de traduction","translationIssue","thumb-down"],["Autre","otherDown","thumb-down"]],["Dernière mise à jour le 2025/09/04 (UTC)."],[],[],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/docs/postgres/import-export/checking-status-import-export \"View this page for the PostgreSQL database engine\") \\| SQL Server\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\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/sqlserver/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/sqlserver/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/sqlserver/import-export)."]]