0

We have a large RDS instance in AWS (100GB). We're creating a script which will clear out old data in the database at regular intervals. In order to test this fully we'd like to setup a copy of the existing production RDS instance which we can use to test the script on (so we don't lose data from the production instance).

Is there a way to create a standalone duplicate RDS instance based on another instance? I had thought I could do this by using a snapshot, but it appears you can only restore an instance from a snapshot.

1 Answer 1

1

With a snapshot you can restore to a different/new instance name. E.g. create a snapshot of database-one then restore the snapshot to a different instance name database-one-copy.

I use this method programmatically to create a development database on a nightly schedule or as needed using the python AWS SDK Boto3 and this method https://github.com/airsciences/aws-rds-persist.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.