# Speeding up Elasticsearch snapshot restore in ES 5.2

**URL:** <https://discuss.elastic.co/t/speeding-up-elasticsearch-snapshot-restore-in-es-5-2/79610>\
**Category:** Elasticsearch\
**Created:** [March 22, 2017, 3:29pm UTC](https://discuss.elastic.co/t/speeding-up-elasticsearch-snapshot-restore-in-es-5-2/79610 "2017-03-22T15:29:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![lm\_es](https://avatars.discourse-cdn.com/v4/letter/l/e99b99/32.png) [@lm\_es](https://discuss.elastic.co/u/lm_es)\
**Post date:** [March 22, 2017, 3:29pm UTC](https://discuss.elastic.co/t/speeding-up-elasticsearch-snapshot-restore-in-es-5-2/79610/1 "2017-03-22T15:29:15Z")

</div>

We are using a 5.2 ES cluster and trying to restore a lot of data from AWS s3. The process is going slower than we would like so we have increased the following settings:

cluster.routing.allocation.node\_concurrent\_recoveries (from I believe the default of 2 to 4)  
indices.recovery.max\_bytes\_per\_sec (from 40mb to 120mb)

Besides changing these two settings is there anything else we can tweak in order to increase our restore speed? (Did we even change the correct settings in the first place?)

---

<div class="post-metadata">

**Author:** ![ywelsch](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ywelsch/32/7751_2.png) [@ywelsch](https://discuss.elastic.co/u/ywelsch)\
**Post date:** [March 24, 2017, 9:13am UTC](https://discuss.elastic.co/t/speeding-up-elasticsearch-snapshot-restore-in-es-5-2/79610/2 "2017-03-24T09:13:08Z")

</div>

As this is a restore from a snapshot, you should also increase the repository setting `max_restore_bytes_per_sec` (which is set by default to `40mb`), see [https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-snapshots.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-snapshots.html)

---

<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:** [April 21, 2017, 9:13am UTC](https://discuss.elastic.co/t/speeding-up-elasticsearch-snapshot-restore-in-es-5-2/79610/3 "2017-04-21T09:13:13Z")

</div>

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