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.

posta 8 mesi fa936 visualizzazioni
1 Risposta
1
Risposta accettata

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
ESPERTO
con risposta 8 mesi fa
profile picture
ESPERTO
verificato 5 ore fa
  • 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.

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande