# Elastic search snapshot and restore between the clusters

**URL:** <https://discuss.elastic.co/t/elastic-search-snapshot-and-restore-between-the-clusters/34206>\
**Category:** Elasticsearch\
**Created:** [November 9, 2015, 10:05pm UTC](https://discuss.elastic.co/t/elastic-search-snapshot-and-restore-between-the-clusters/34206 "2015-11-09T22:05:29Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mramaprasad](https://avatars.discourse-cdn.com/v4/letter/m/ad7895/32.png) [@mramaprasad](https://discuss.elastic.co/u/mramaprasad)\
**Post date:** [November 9, 2015, 10:05pm UTC](https://discuss.elastic.co/t/elastic-search-snapshot-and-restore-between-the-clusters/34206/1 "2015-11-09T22:05:29Z")

</div>

I have Elasticsearch (1.1.1) clusters running one in production which has 3 shards and 2 replicas. One cluster running in test with 1 shard and 1 replica.

Using snapshot and backup functionality I created the back up of the production and trying restoring it to test.  
I am getting the following error:  
{"error":"SnapshotRestoreException[[es\_backup:es\_11\_snapshot] cannot restore index [v1] with [1] shard from snapshot with [3] shards]","status":500}

Any ideas why?

---

<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:** [November 10, 2015, 6:11am UTC](https://discuss.elastic.co/t/elastic-search-snapshot-and-restore-between-the-clusters/34206/2 "2015-11-10T06:11:00Z")

</div>

You probably have more detailed logs?  
Could you paste them? Might give a clue.

---

<div class="post-metadata">

**Author:** ![mramaprasad](https://avatars.discourse-cdn.com/v4/letter/m/ad7895/32.png) [@mramaprasad](https://discuss.elastic.co/u/mramaprasad)\
**Post date:** [November 10, 2015, 3:42pm UTC](https://discuss.elastic.co/t/elastic-search-snapshot-and-restore-between-the-clusters/34206/3 "2015-11-10T15:42:00Z")

</div>

This is what I have in the log file.

[2015-11-09 13:59:28,278][WARN][snapshots] [Test ES Node] [es\_losal\_backup:es\_11\_snapshot] failed to restore snapshot  
org.elasticsearch.snapshots.SnapshotRestoreException: [es\_losal\_backup:es\_11\_snapshot] cannot restore index [csv1] with [1] shard from snapshot with [3] shards  
at org.elasticsearch.snapshots.RestoreService$1.execute(RestoreService.java:190)  
at org.elasticsearch.cluster.service.InternalClusterService$UpdateTask.run(InternalClusterService.java:309)  
at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.run(PrioritizedEsThreadPoolExecutor.java:134)  
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)  
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)  
at java.lang.Thread.run(Thread.java:619)

---

<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 5, 2017, 11:39pm UTC](https://discuss.elastic.co/t/elastic-search-snapshot-and-restore-between-the-clusters/34206/4 "2017-07-05T23:39:25Z")

</div>


