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.

demandé il y a 8 mois937 vues
1 réponse
1
Réponse acceptée

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
EXPERT
répondu il y a 8 mois
profile picture
EXPERT
vérifié il y a 20 heures
  • 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.

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions