

# DB 클러스터 내보내기 작업 취소
<a name="export-cluster-data.Canceling"></a>

AWS Management Console, AWS CLI 또는 RDS API를 사용하여 DB 클러스터 내보내기 작업을 취소할 수 있습니다.

**참고**  
내보내기 작업을 취소해도 Amazon S3로 내보낸 데이터는 제거되지 않습니다. 콘솔을 사용하여 데이터를 삭제하는 방법에 대한 자세한 내용은 [S3 버킷에서 객체를 삭제하려면 어떻게 해야 합니까?](https://docs.aws.amazon.com/AmazonS3/latest/user-guide/delete-objects.html)를 참조하십시오. CLI를 사용하여 데이터를 삭제하려면 [delete-object](https://docs.aws.amazon.com/cli/latest/reference/s3api/delete-object.html) 명령을 사용합니다.

## 콘솔
<a name="export-cluster-data.CancelConsole"></a>

**DB 클러스터 내보내기 작업을 취소하는 방법**

1. [https://console.aws.amazon.com/rds/](https://console.aws.amazon.com/rds/)에서 AWS Management Console에 로그인한 후 Amazon RDS 콘솔을 엽니다.

1. 탐색 창에서 **Exports in Amazon S3**(Amazon S3에서 내보내기)를 선택합니다.

   DB 클러스터 내보내기는 **Source type**(소스 유형) 열에 표시됩니다. 내보내기 상태는 **Status**(상태) 열에 표시됩니다.

1. 취소할 내보내기 작업을 선택합니다.

1. **취소**를 선택합니다.

1. 확인 페이지에서 **Cancel export task(내보내기 작업 취소)**를 선택합니다.

 

## AWS CLI
<a name="export-cluster-data.CancelCLI"></a>

AWS CLI를 사용하여 내보내기 작업을 취소하려면 [cancel-export-task](https://docs.aws.amazon.com/cli/latest/reference/rds/cancel-export-task.html) 명령을 사용합니다. 이 명령에는 `--export-task-identifier` 옵션이 필요합니다.

**Example**  

```
 1. aws rds cancel-export-task --export-task-identifier my-export
 2. {
 3.     "Status": "CANCELING",
 4.     "S3Prefix": "",
 5.     "S3Bucket": "{{amzn-s3-demo-bucket}}",
 6.     "PercentProgress": 0,
 7.     "KmsKeyId": "arn:aws:kms:{{us-west-2}}:123456789012:key/K7MDENG/bPxRfiCYEXAMPLEKEY",
 8.     "ExportTaskIdentifier": "my-export",
 9.     "IamRoleArn": "arn:aws:iam::123456789012:role/export-to-s3",
10.     "TotalExtractedDataInGB": 0,
11.     "SourceArn": "arn:aws:rds:{{us-west-2}}:123456789012:cluster:export-example-1"
12. }
```

## RDS API
<a name="export-cluster-data.CancelAPI"></a>

Amazon RDS API를 사용하여 내보내기 작업을 취소하려면 `ExportTaskIdentifier` 파라미터와 함께 [CancelExportTask](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_CancelExportTask.html) 작업을 사용합니다.