Skip to content

Aurora point-in-time recovery (switching copilot add-on to restored DB) #5499

Answered by KollaAdithya
gidsg asked this question in Q&A
Discussion options

You must be logged in to vote

Hello @gidsg !

Sorry for the late response.

Here is a slightly modification of the Copilot generated Addon Aurora template to restore from point in time.

The changes in the template are adding properties RestoreToTime and SourceDBClusterIdentifier in the AWS::RDS::DBCluster resource,

Note: If you are using the same logic id and database name for both source db cluster and newly created db cluster will lead to deletion of the SourceDbCluster. To avoid this please change Logical Ids of the DB cluster and Instance.

References: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html#cfn-rds-dbcluster-restoretotime

Parameters:
  App:
    Type: String
    

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by gidsg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants