# How to restore an elasticsearch. shard from an index

**URL:** <https://discuss.elastic.co/t/how-to-restore-an-elasticsearch-shard-from-an-index/226905>\
**Category:** Elasticsearch\
**Created:** [April 7, 2020, 1:30pm UTC](https://discuss.elastic.co/t/how-to-restore-an-elasticsearch-shard-from-an-index/226905 "2020-04-07T13:30:05Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sukanta\_Saha](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sukanta_saha/32/117858_2.png) [@Sukanta\_Saha](https://discuss.elastic.co/u/Sukanta_Saha)\
**Post date:** [April 7, 2020, 1:30pm UTC](https://discuss.elastic.co/t/how-to-restore-an-elasticsearch-shard-from-an-index/226905/1 "2020-04-07T13:30:05Z")

</div>

Is there a way to restore a particular shard from index using elasticsearch snapshot api

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [April 7, 2020, 2:21pm UTC](https://discuss.elastic.co/t/how-to-restore-an-elasticsearch-shard-from-an-index/226905/2 "2020-04-07T14:21:37Z")

</div>

I don't believe so. What is the use case?

---

<div class="post-metadata">

**Author:** ![Sukanta\_Saha](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sukanta_saha/32/117858_2.png) [@Sukanta\_Saha](https://discuss.elastic.co/u/Sukanta_Saha)\
**Post date:** [April 8, 2020, 5:08am UTC](https://discuss.elastic.co/t/how-to-restore-an-elasticsearch-shard-from-an-index/226905/3 "2020-04-08T05:08:44Z")

</div>

One of the shard is corrupted from an index , so wanted to restore that shard only , not the entire index

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [April 8, 2020, 7:27am UTC](https://discuss.elastic.co/t/how-to-restore-an-elasticsearch-shard-from-an-index/226905/4 "2020-04-08T07:27:09Z")

</div>

Why not restoring the full index? This will be much safer IMO than trying to do some magic.

---

<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:** [May 6, 2020, 7:27am UTC](https://discuss.elastic.co/t/how-to-restore-an-elasticsearch-shard-from-an-index/226905/5 "2020-05-06T07:27:11Z")

</div>

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