3
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Auroraのスナップショット一覧がAWS CLIから取得できない件

Last updated at Posted at 2016-10-17

Auroraで作ったDBのスナップショット一覧は describe-db-snapshots では取得できない:

$ aws rds describe-db-snapshots
{
    "DBSnapshots": []
}

代わりに describe-db-cluster-snapshots を使う:

$ aws rds describe-db-cluster-snapshots
{
    "DBClusterSnapshots": [
        {
            "Engine": "aurora",
            "SnapshotCreateTime": "2016-10-11T18:01:09.605Z",
            "VpcId": "vpc-XXX",
            "DBClusterIdentifier": "XXX",
            "DBClusterSnapshotArn": "arn:aws:rds:ap-northeast-1:XXX",
            "MasterUsername": "XXX",
            "LicenseModel": "aurora",
            "Status": "available",
            "PercentProgress": 100,
            "DBClusterSnapshotIdentifier": "rds:XXX",
            "KmsKeyId": "arn:aws:kms:ap-northeast-1:XXX",
            "ClusterCreateTime": "2016-10-06T00:48:22.278Z",
            "StorageEncrypted": true,
            "AllocatedStorage": 1,
            "SnapshotType": "automated",
            "AvailabilityZones": [
                "ap-northeast-1a"
            ],
            "Port": 0
        }
    ]
}

参考:

3
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?