{Aurora}特定の時点への DB クラスターの復元

-- 復元可能な直近の時間の確認
aws rds describe-db-clusters | jq -c '.DBClusters[] | [.DBClusterIdentifier , .LatestRestorableTime]'


-- クラスタの復元
aws rds restore-db-cluster-to-point-in-time \
--source-db-cluster-identifier cluster01 \
--db-cluster-identifier cluster11 \
--restore-type full-copy \
--restore-to-time 2021-07-18T01:48:39.797Z

-- インスタンスの追加
aws rds create-db-instance \
--db-cluster-identifier cluster11 \
--db-instance-identifier cluster11-instance01 \
--db-instance-class db.t3.small \
--engine aurora-mysql

aws rds create-db-instance \
--db-cluster-identifier cluster11 \
--db-instance-identifier cluster11-instance02 \
--db-instance-class db.t3.small \
--engine aurora-mysql