# Restore snapshot index

**URL:** <https://discuss.elastic.co/t/restore-snapshot-index/321525>\
**Category:** Kibana\
**Tags:** snapshot-and-restore\
**Created:** [December 19, 2022, 7:17am UTC](https://discuss.elastic.co/t/restore-snapshot-index/321525 "2022-12-19T07:17:35Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Arunadevi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/arunadevi/32/98018_2.png) [@Arunadevi](https://discuss.elastic.co/u/Arunadevi)\
**Post date:** [December 19, 2022, 7:17am UTC](https://discuss.elastic.co/t/restore-snapshot-index/321525/1 "2022-12-19T07:17:35Z")

</div>

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 ?

---

<div class="post-metadata">

**Author:** ![Venkata\_Raja](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/venkata_raja/32/114264_2.png) [@Venkata\_Raja](https://discuss.elastic.co/u/Venkata_Raja)\
**Post date:** [December 19, 2022, 7:19am UTC](https://discuss.elastic.co/t/restore-snapshot-index/321525/2 "2022-12-19T07:19:11Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Arunadevi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/arunadevi/32/98018_2.png) [@Arunadevi](https://discuss.elastic.co/u/Arunadevi)\
**Post date:** [December 19, 2022, 7:51am UTC](https://discuss.elastic.co/t/restore-snapshot-index/321525/3 "2022-12-19T07:51:53Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![Arunadevi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/arunadevi/32/98018_2.png) [@Arunadevi](https://discuss.elastic.co/u/Arunadevi)\
**Post date:** [December 19, 2022, 7:57am UTC](https://discuss.elastic.co/t/restore-snapshot-index/321525/4 "2022-12-19T07:57:34Z")

</div>

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

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

```

and delete the old index?

---

<div class="post-metadata">

**Author:** ![Venkata\_Raja](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/venkata_raja/32/114264_2.png) [@Venkata\_Raja](https://discuss.elastic.co/u/Venkata_Raja)\
**Post date:** [December 19, 2022, 8:03am UTC](https://discuss.elastic.co/t/restore-snapshot-index/321525/5 "2022-12-19T08:03:05Z")

</div>

yes , you can

---

<div class="post-metadata">

**Author:** ![Arunadevi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/arunadevi/32/98018_2.png) [@Arunadevi](https://discuss.elastic.co/u/Arunadevi)\
**Post date:** [December 19, 2022, 8:06am UTC](https://discuss.elastic.co/t/restore-snapshot-index/321525/6 "2022-12-19T08:06:27Z")

</div>

Ok Noted Thanks

---

<div class="post-metadata">

**Author:** ![Arunadevi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/arunadevi/32/98018_2.png) [@Arunadevi](https://discuss.elastic.co/u/Arunadevi)\
**Post date:** [December 20, 2022, 3:44am UTC](https://discuss.elastic.co/t/restore-snapshot-index/321525/7 "2022-12-20T03:44:51Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [December 20, 2022, 4:35am UTC](https://discuss.elastic.co/t/restore-snapshot-index/321525/8 "2022-12-20T04:35:35Z")

</div>

Welcome to our community! 😃

I would use the restore rename parameters as mentioned [in the docs](https://www.elastic.co/guide/en/elasticsearch/reference/8.5/restore-snapshot-api.html).

---

<div class="post-metadata">

**Author:** ![Arunadevi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/arunadevi/32/98018_2.png) [@Arunadevi](https://discuss.elastic.co/u/Arunadevi)\
**Post date:** [December 20, 2022, 4:50am UTC](https://discuss.elastic.co/t/restore-snapshot-index/321525/9 "2022-12-20T04:50:28Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [December 20, 2022, 5:08am UTC](https://discuss.elastic.co/t/restore-snapshot-index/321525/10 "2022-12-20T05:08:47Z")

</div>

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 🙂

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [January 17, 2023, 5:09am UTC](https://discuss.elastic.co/t/restore-snapshot-index/321525/11 "2023-01-17T05:09:20Z")

</div>

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