Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I restore a snapshot on an existing Elasticache cluster?

I have an application where I deploy a Elasticache cluster with one node (for my use case having multi AZ is not an option considering the costs). If the node goes down for some reason, the data is lost and I want to use the snapshot from previous day to restore it.

AWS Documentation says

"Amazon ElastiCache clusters running Redis can back up their data. The backup can be used to restore a cluster or seed a new cluster."

But there are no instructions on how to restore a cluster. They have also provided a page which says "Restoring From a Backup with Optional Cluster Resizing", but if you read the instructions, they explain how to restore a new cluster not an existing one. I don't see any related options in the console or API.

Am I missing something here ? If there is a way to do this please let me know. Only other way I can think about this is to populate the data into the cluster manually with a script which reads the backup ".rdb" file.

like image 389
mmuppidi Avatar asked Sep 17 '25 23:09

mmuppidi


1 Answers

Currently, there is no way to restore the data to the existing cluster. The backups, which are taken by means of the snapshot, are restored only through the new cluster.

like image 157
S Square Avatar answered Sep 23 '25 11:09

S Square