# Snapshot restore problem in ES 1.3.4

**URL:** https://discuss.elastic.co/t/snapshot-restore-problem-in-es-1-3-4/20256
**Category:** Elasticsearch
**Created:** [October 15, 2014, 1:53am UTC](https://discuss.elastic.co/t/snapshot-restore-problem-in-es-1-3-4/20256 "2014-10-15T01:53:11Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Prateek\_Singhal](https://avatars.discourse-cdn.com/v4/letter/p/54ee81/32.png) [@Prateek\_Singhal](https://discuss.elastic.co/u/Prateek_Singhal)
#### Post date: [October 15, 2014, 1:53am UTC](https://discuss.elastic.co/t/snapshot-restore-problem-in-es-1-3-4/20256/1 "2014-10-15T01:53:11Z")

</div>

Hi,

I encountered a problem with snapshot and restore, checking if somebody ran  
into the same problem and if yes how they resolved it.

So this is what happened,

I did a snapshot of one our clusters and then restored that snapshot in  
another cluster. When I did the restore there was a discrepancy of about 7  
million documents from one index between the snapshot cluster and the  
restored cluster(snapshot cluster had more documents in it). There were 3  
other indexes that restored without any data loss. I did a shard  
check(\_cat/shards) and there was one primary shard and its 1 other replicas  
that had 0 documents.

I deleted this index, and restored the index, but this time I set the  
replica count to zero. This time around there was no data loss in the  
restored index. The shard that was showing with 0 documents was now showing  
with 7 million documents. Now I set the replica to 1 and after shards were  
allocated again, there was again a data loss of 7 million documents. After  
doing shard check, same shard and its replica had 0 documents.

Also the cluster from which I took the snapshot has ES1.2.2 installed and  
the cluster in which snapshot was restored has ES1.3.4 installed on it.

Thanks,

Prateek Singhal

--  
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/8007d82e-5563-4c06-9c59-f51ae55eb36f%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/8007d82e-5563-4c06-9c59-f51ae55eb36f%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:56am UTC](https://discuss.elastic.co/t/snapshot-restore-problem-in-es-1-3-4/20256/2 "2017-07-06T00:56:11Z")

</div>


