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ヶ月前937ビュー
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
エキスパート
レビュー済み 12時間前
  • 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.

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ