AWS BACKUP does not backup RDS instance

0

Hi,

I am using AWS Backup to create a snapshot of my Aurora Postgres cluster + instance. In Resource assignments I added arn of cluster and arn of the instance. But backup is only doing a backup of a cluster? So I have one cluster restored but with 0 instances. Why AWS Backup does not backup my RDS instance?

Thanks

2개 답변
1
수락된 답변

It is expected behavior when Aurora cluster is restored from AWS Backup console. AWS Backup restores your Aurora cluster; it does not create or attach an Amazon RDS instance to your cluster. This behavior is similar to the restore-db-cluster-from-snapshot command [1]. As, this action only restores the DB cluster, not the DB instances for that DB cluster. You must invoke the CreateDBInstance action to create DB instances for the restored DB cluster, specifying the identifier of the restored DB cluster in DBClusterIdentifier. To create the DB instance you have to run the following command as discussed in Step 14 of our documentation in [2].

For Linux, macOS, or Unix:

aws rds create-db-instance --db-instance-identifier sample-instance \

          --db-cluster-identifier sample-cluster --engine aurora-mysql --db-instance-class db.r4.large

Further, you can restore the Aurora Cluster from RDS console, which provides the option to create the DB instance when restoring the Cluster. The backups taken via AWS Backup service will also be listed in the RDS console, and you can select the snapshot and restore with the required options.

There is a feature request open for this already, However, at this point, I am unable to provide an ETA if or when the product team incorporates this feature in their pipeline going forward. However, please refer to these links [3,4] for our latest updates and feature releases.

References: [1]restore-db-cluster-from-snapshot - https://docs.aws.amazon.com/cli/latest/reference/rds/restore-db-cluster-from-snapshot.html
[2] Use the AWS Backup Console to restore Aurora recovery points https://docs.aws.amazon.com/aws-backup/latest/devguide/restoring-aur.html#aur-restore-console
[3] Featured Announcements - https://aws.amazon.com/new/
[4] AWS News Blog - https://aws.amazon.com/blogs/aws/tag/announcements/​

SS
답변함 일 년 전
  • Yes, just found out. Thank you. It's not convenient, but good that ticket is opened for that.

  • Hi, if restoring from snapshot (or pitr) doesn't restore instance then what is point of this restoring? I assume that writer instance is the one that keeps data. Why would someone want to restore only cluster?

0

Im not sure but i feel like you need to configure AWS backup to take a snapshot of each individual instance

AWS_Guy
답변함 일 년 전
  • No, it just doesn't see an instance.

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인