Point-in-time recovery from Retained Backups

0

Hi, I want to use Retained automated backups for RDS Aurora Cluster point-in-time recovery and I noticed some inaccuracy between doing it from console and aws cli. Let's take a look on following scenario. We have cluster named test-cluster.

  1. We restored cluster using point-in-time recovery and now we have new cluster test-cluster-2.
  2. test-cluster is deleted and backup with the same name retained
  3. test-cluster-2 was renamed to test-cluster so clients do not require endpoints update

some time has passed....

  1. We had to restore cluster test-cluster again using point-in-time recovery and again new cluster test-cluster-2 was created.
  2. same steps as previously so test-cluster is deleted and backup retained.

Now in Retained Backups we have two backups with the same name. From console there is no way to choose which backup I want to use. What is more in Custom date and time window I can put only dates from the latest backup, so actually the first one is useless. The situation is completely different when using aws cli because instead of using --source-db-cluster-identifier I can use --source-db-cluster-resource-id and I can clearly point to specific backup. My question is why in aws console we are forced to use cluster identifier when restoring to point in time? More then one retained backups are pointless then.

Wiljer
已提問 6 個月前檢視次數 138 次
沒有答案

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南