# Recreating lost shard data

**URL:** <https://discuss.elastic.co/t/recreating-lost-shard-data/23201>\
**Category:** Elasticsearch\
**Created:** [April 12, 2015, 9:34pm UTC](https://discuss.elastic.co/t/recreating-lost-shard-data/23201 "2015-04-12T21:34:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vladi\_Feigin](https://avatars.discourse-cdn.com/v4/letter/v/258eb7/32.png) [@Vladi\_Feigin](https://discuss.elastic.co/u/Vladi_Feigin)\
**Post date:** [April 12, 2015, 9:34pm UTC](https://discuss.elastic.co/t/recreating-lost-shard-data/23201/1 "2015-04-12T21:34:12Z")

</div>

Hi All,  
Mistakenly we shut downed 3 nodes in the cluster in the same time. They  
contained both the primary shard and its replica ☹  
ES probably decided that it has lost the entire shard and created new shard  
but with zero documents. We've returned those 3 previously shut downed  
nodes to the cluster but the new shards still empty . So looks like we lost  
the shard's data.  
Fortunately we have a backup of ES data folder from the lost shard  
The question is : how can we recreate the data? Will simple copy to the  
empty shard resolve it?  
What would you recommend?  
Thank you,  
Vladi

--  
This message may contain confidential and/or privileged information.  
If you are not the addressee or authorized to receive this on behalf of the  
addressee you must not use, copy, disclose or take action based on this  
message or any information herein.  
If you have received this message in error, please advise the sender  
immediately by reply email and delete this message. Thank you.

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/b6103144-f2b0-4b08-852b-f39e1772ac60%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/b6103144-f2b0-4b08-852b-f39e1772ac60%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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:** [July 6, 2017, 12:20am UTC](https://discuss.elastic.co/t/recreating-lost-shard-data/23201/2 "2017-07-06T00:20:10Z")

</div>

Closed on July 6, 2017, 12:20am UTC


