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
posta 6 mesi fa138 visualizzazioni
Nessuna risposta

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande