How to restore AWS Opensearch snapshot into a new Opensearch domain when the source Opensearch domain from which the snapshot was created is no longer available?

0

I want to restore AWS Opensearch snapshot into a new Opensearch domain when the source Opensearch domain from which the snapshot was created is no longer available. Even though the source Opensearch domain has automatic snapshot according to document https://docs.aws.amazon.com/opensearch-service/latest/developerguide/managedomains-snapshots.html#managedomains-snapshot-restore, what is described in "Restoring snapshots" is about restoring a snapshot to the SAME source domain. Is that correct? So let us say that somehow the source domain is deleted by mistake and no longer available, and I need to restore its snapshot into a new domain. The first question is "Can I still access the automatic snapshot after the source domain is deleted?". If the automatic snapshot cannot be access, I guess that the only choice for me is to regularly take manual snapshot and follow steps described in https://repost.aws/knowledge-center/opensearch-migrate-domain. Is that correct?

Thanks.

已提问 8 个月前940 查看次数
1 回答
1
已接受的回答

Hello.

The following document described the following.
It appears that the automatic snapshot is deleted together with the deletion of the Opensearch domain.
So, it is not a mistake to create manual snapshots on a regular basis as a countermeasure.
https://aws.amazon.com/opensearch-service/faqs/?nc1=h_ls

Q: What happens to my snapshots when I delete my Amazon OpenSearch Service domain?

The daily snapshots retained by Amazon OpenSearch Service will be deleted as part of domain deletion. Before deleting a domain, you should consider creating a snapshot of the domain in your own S3 buckets using the manual snapshot process. The snapshots stored in your S3 bucket will not be affected if you delete your Amazon OpenSearch Service domain.

profile picture
专家
已回答 8 个月前
profile picture
专家
已审核 1 天前
  • Thanks for the answer! I am asking this for the purpose of disaster recovery. In my consideration, the deletion of the domain is not intentional, but rather by mistake, either from console or via some API call. I wish that the automatic snapshot was made available on S3 and would survive for some time after domain deletion to cover my scenario. But for now, it looks like that I do need set up manual snapshot process. Thanks again.

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则