从备份还原到新缓存 - Amazon ElastiCache
Amazon Web Services 文档中描述的 Amazon Web Services 服务或功能可能因区域而异。要查看适用于中国区域的差异,请参阅 中国的 Amazon Web Services 服务入门 (PDF)

本文属于机器翻译版本。若本译文内容与英语原文存在差异,则一律以英文原文为准。

从备份还原到新缓存

您可以将现有备份还原到新的无服务器缓存集群中。

将备份还原到无服务器缓存(控制台)
  1. 登录 Amazon Web Services Management Console 并打开 ElastiCache 控制台,网址为 https://console.aws.amazon.com/elasticache/

  2. 从导航窗格中,选择 Backups(备份)。

  3. 在备份列表中,选中要还原的备份名称左侧的框。

  4. 选择操作,然后选择还原

  5. 输入新无服务器缓存的名称和可选描述。

  6. 单击创建以创建新的缓存并从备份中导入数据。

将备份还原到新的无服务器缓存(Amazon CLI)

以下 Amazon CLI 示例使用备份创建新缓存create-serverless-cache并从备份中导入数据。

对于 Linux、macOS 或 Unix:

对于 Windows:

aws elasticache create-serverless-cache \ --serverless-cache-name CacheName \ --engine memcached --snapshot-arns-to-restore Snapshot-ARN

对于 Windows:

aws elasticache create-serverless-cache ^ --serverless-cache-name CacheName ^ --engine memcached ^ --snapshot-arns-to-restore Snapshot-ARN