1개 답변
- 최신
- 최다 투표
- 가장 많은 댓글
1
Hello.
The command is described in the documentation here.
The command below is an example for Aurora MySQL, but I think it can be executed using similar steps for Aurora PostgreSQL.
https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Aurora.Managing.Clone.html#Aurora.Managing.Clone.create
aws rds restore-db-cluster-to-point-in-time \
--source-db-cluster-identifier tpch100g \
--db-cluster-identifier tpch100g-clone \
--restore-type copy-on-write \
--use-latest-restorable-time
aws rds describe-db-clusters \
--db-cluster-identifier tpch100g-clone \
--query '*[].[Engine]' \
--output text
aws rds create-db-instance \
--db-instance-identifier tpch100g-clone-instance \
--db-cluster-identifier tpch100g-clone \
--db-instance-class db.r5.4xlarge \
--engine aurora-mysql
관련 콘텐츠
- 질문됨 10달 전
- AWS 공식업데이트됨 일 년 전
- AWS 공식업데이트됨 일 년 전
aws rds create-db-instance
--db-instance-identifier tpch100g-clone-instance
--db-cluster-identifier tpch100g-clone
--db-instance-class db.r5.4xlarge
--engine aurora-mysql
Will create all my databases, logins & namespace matching to source cluster?
Yes, I think it will be restored with the same data as the original Aurora.