다중 AZ DB 클러스터의 스냅샷 생성 - Amazon Relational Database Service

다중 AZ DB 클러스터의 스냅샷 생성

다중 AZ DB 클러스터 스냅샷을 생성할 때 백업할 다중 AZ DB 클러스터를 확인한 후 나중에 복원할 수 있도록 DB 클러스터 스냅샷의 이름을 지정해야 합니다. 다중 AZ DB 클러스터 스냅샷을 공유할 수도 있습니다. 지침은 DB 스냅샷 공유을(을) 참조하십시오.

AWS Management Console, AWS CLI 또는 RDS API를 사용하여 다중 AZ DB 클러스터 스냅샷을 생성할 수 있습니다.

DB 클러스터 스냅샷을 생성하려면
  1. AWS Management Console에 로그인한 후 https://console.aws.amazon.com/rds/에서 Amazon RDS 콘솔을 엽니다.

  2. 탐색 창에서 Databases(데이터베이스)를 선택합니다.

  3. 목록에서 스냅샷을 생성할 다중 AZ DB 클러스터를 선택합니다.

  4. 작업에서 스냅샷 만들기를 선택합니다.

    [DB 스냅샷 생성(Take DB Snapshot)] 창이 나타납니다.

  5. 스냅샷 이름(Snapshot name)에 스냅샷 이름을 입력합니다.

  6. [스냅샷 생성(Take Snapshot)]을 선택합니다.

스냅샷(Snapshots) 페이지가 나타나고 새로운 다중 AZ DB 클러스터 스냅샷 상태가 Creating으로 표시됩니다. 스냅샷 상태가 Available이 되면 스냅샷 생성 시간을 볼 수 있습니다.

다음 옵션과 함께 AWS CLI create-db-cluster-snapshot 명령을 사용하여 다중 AZ DB 클러스터 스냅샷을 생성할 수 있습니다.

  • --db-cluster-identifier

  • --db-cluster-snapshot-identifier

이 예제에서는 mymultiazdbcluster라는 DB 클러스터에 대해 mymultiazdbclustersnapshot이라는 다중 AZ DB 클러스터 스냅샷을 생성합니다.

Linux, macOS, Unix:

aws rds create-db-cluster-snapshot \ --db-cluster-identifier mymultiazdbcluster \ --db-cluster-snapshot-identifier mymultiazdbclustersnapshot

Windows의 경우:

aws rds create-db-cluster-snapshot ^ --db-cluster-identifier mymultiazdbcluster ^ --db-cluster snapshot-identifier mymultiazdbclustersnapshot

다음 파라미터를 사용하여 Amazon RDS API CreateDBClusterSnapshot 작업을 통해 다중 AZ DB 클러스터 스냅샷을 생성할 수 있습니다.

  • DBClusterIdentifier

  • DBClusterSnapshotIdentifier

다중 AZ DB 클러스터 스냅샷 삭제

Amazon RDS에서 관리하는 다중 AZ DB 스냅샷이 더 이상 필요하지 않으면 삭제할 수 있습니다. 지침은 DB 스냅샷 삭제 단원을 참조하세요.