取消資料庫叢集匯出任務 - Amazon Aurora

本文為英文版的機器翻譯版本,如內容有任何歧義或不一致之處,概以英文版為準。

取消資料庫叢集匯出任務

您可以使用 AWS Management Console、或取消資料庫叢集匯出工作RDSAPI。 AWS CLI

注意

取消匯出匯出任務不會移除任何已匯出到 Amazon S3 的資料。如需如何使用主控台刪除資料的資訊,請參閱如何從 S3 儲存貯體刪除物件? 若要使用刪除資料CLI,請使用刪除物件指令。

取消資料庫叢集匯出任務
  1. 登錄 AWS Management Console 並在打開 Amazon RDS 控制台https://console.aws.amazon.com/rds/

  2. 在導覽窗格中,選擇 Exports in Amazon S3 (在 Amazon S3 中匯出)。

    資料庫叢集匯出會在 Source type (來源類型) 欄中指出。匯出狀態會顯示在 Status (狀態) 欄中。

  3. 選擇您想要取消的匯出任務。

  4. 選擇 Cancel (取消)

  5. 選擇確認頁面上的 Cancel export task (取消匯出任務)

若要使用取消匯出工作 AWS CLI,請使用cancel-export-task指令。命令需要 --export-task-identifier 選項。

aws rds cancel-export-task --export-task-identifier my-export { "Status": "CANCELING", "S3Prefix": "", "S3Bucket": "amzn-s3-demo-bucket", "PercentProgress": 0, "KmsKeyId": "arn:aws:kms:us-west-2:123456789012:key/K7MDENG/bPxRfiCYEXAMPLEKEY", "ExportTaskIdentifier": "my-export", "IamRoleArn": "arn:aws:iam::123456789012:role/export-to-s3", "TotalExtractedDataInGB": 0, "SourceArn": "arn:aws:rds:us-west-2:123456789012:cluster:export-example-1" }

若要使用 Amazon 取消匯出任務 RDSAPI,請搭配ExportTaskIdentifier參數使用該CancelExportTask操作。