Restore snapshot index

While restoring an index , it requires either index closure or deleting the index. Is there any method to enable read while restoring the index. without causing an outage in search ?

Hi ,
Welcome to community!
You can restore indices with different name by adding a particular prefix or suffix

Thanks for quick reply.

Sorry am new to elastic, Could you please elaborate how to reroute from old index to new index with prefix or suffix?

Reindex: After restore with renamed index , Do I need to reindex?

POST _reindex
{
  "source": {
    "index": "my-index-000001"
  },
  "dest": {
    "index": "my-new-index-000001"
  }
}

and delete the old index?

yes , you can

Ok Noted Thanks

Tried with reindex and deleteing the old index , this way also our enterprise search service got disrupted. Enterprise search engine switch to new index created without service outage

Welcome to our community! :smiley:

I would use the restore rename parameters as mentioned in the docs.

Thanks, I don't have any issue with restore the index with rename. After restore , enterprise search engine need to switch searching from restored index instead of old index without disabling read/write or closing the index.

You would be best off making a new topic in #enterprise-search with your question, as it's a layer on top of Elasticsearch and may handle things differently :slight_smile:

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.