Restoring from a backup into a new cache
You can restore an existing backup into a new serverless cache.
To restore a backup to a serverless cache (console)
-
Sign in to the Amazon Web Services Management Console and open the ElastiCache console at https://console.amazonaws.cn/elasticache/
. -
From the navigation pane, choose Backups.
-
In the list of backups, choose the box to the left of the backup name that you want to restore.
-
Choose Actions and then Restore.
Enter a name for the new serverless cache, and an optional description.
Click Create to create your new cache and import data from your backup.
To restore a backup to a new serverless cache (Amazon CLI)
The following Amazon CLI example creates a new cache using create-serverless-cache
and imports data from a backup.
For Linux, OS X, or Unix:
For Windows:
aws elasticache create-serverless-cache \ --serverless-cache-name CacheName \ --engine memcached --snapshot-arns-to-restore Snapshot-ARN
For Windows:
aws elasticache create-serverless-cache ^ --serverless-cache-name CacheName ^ --engine memcached ^ --snapshot-arns-to-restore Snapshot-ARN