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달 전936회 조회
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
전문가
검토됨 4시간 전
  • 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.

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인