# How to migrate Elasticsearch data from 1.7 to Elasticsearch 2.0

**URL:** <https://discuss.elastic.co/t/how-to-migrate-elasticsearch-data-from-1-7-to-elasticsearch-2-0/35104>\
**Category:** Elasticsearch\
**Created:** [November 20, 2015, 1:10am UTC](https://discuss.elastic.co/t/how-to-migrate-elasticsearch-data-from-1-7-to-elasticsearch-2-0/35104 "2015-11-20T01:10:30Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![gpong](https://avatars.discourse-cdn.com/v4/letter/g/d6d6ee/32.png) [@gpong](https://discuss.elastic.co/u/gpong)\
**Post date:** [November 20, 2015, 1:10am UTC](https://discuss.elastic.co/t/how-to-migrate-elasticsearch-data-from-1-7-to-elasticsearch-2-0/35104/1 "2015-11-20T01:10:30Z")

</div>

Is there any tools to migrate data from Elasticsearch 1.7 to 2.0?? How I can do it effectively?? I already use the migration plugin for validation check but I don't know how to migrate it. Thanks

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [November 20, 2015, 1:25am UTC](https://discuss.elastic.co/t/how-to-migrate-elasticsearch-data-from-1-7-to-elasticsearch-2-0/35104/2 "2015-11-20T01:25:41Z")

</div>

If the migration plugin found issues then you will need to reindex the data into a new 2.0 cluster.

---

<div class="post-metadata">

**Author:** ![gpong](https://avatars.discourse-cdn.com/v4/letter/g/d6d6ee/32.png) [@gpong](https://discuss.elastic.co/u/gpong)\
**Post date:** [November 20, 2015, 2:13am UTC](https://discuss.elastic.co/t/how-to-migrate-elasticsearch-data-from-1-7-to-elasticsearch-2-0/35104/3 "2015-11-20T02:13:19Z")

</div>

Hi Warkolm,

yes if the migration plugin doesn't have issue then how to migrate the data to elasticsearch 2.0? is there any plugin or tools that can make the migration process easier??

Thanks

---

<div class="post-metadata">

**Author:** ![jveldboom](https://avatars.discourse-cdn.com/v4/letter/j/f1d935/32.png) [@jveldboom](https://discuss.elastic.co/u/jveldboom)\
**Post date:** [November 20, 2015, 2:37am UTC](https://discuss.elastic.co/t/how-to-migrate-elasticsearch-data-from-1-7-to-elasticsearch-2-0/35104/4 "2015-11-20T02:37:21Z")

</div>

[Snapshot & Restore](https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-snapshots.html) make this . I like to use [elasticsearch-kopf](https://github.com/lmenezes/elasticsearch-kopf) which makes snapshots even easier to work with.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [November 20, 2015, 5:40am UTC](https://discuss.elastic.co/t/how-to-migrate-elasticsearch-data-from-1-7-to-elasticsearch-2-0/35104/5 "2015-11-20T05:40:55Z")

</div>

Or just install the new version over the top and restart the cluster.

---

<div class="post-metadata">

**Author:** ![gpong](https://avatars.discourse-cdn.com/v4/letter/g/d6d6ee/32.png) [@gpong](https://discuss.elastic.co/u/gpong)\
**Post date:** [November 20, 2015, 5:43am UTC](https://discuss.elastic.co/t/how-to-migrate-elasticsearch-data-from-1-7-to-elasticsearch-2-0/35104/6 "2015-11-20T05:43:50Z")

</div>

But how to backup the data from the old elasticsearch?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [November 20, 2015, 5:44am UTC](https://discuss.elastic.co/t/how-to-migrate-elasticsearch-data-from-1-7-to-elasticsearch-2-0/35104/7 "2015-11-20T05:44:08Z")

</div>

Snapshot and restore, as previously mentioned.

---

<div class="post-metadata">

**Author:** ![gpong](https://avatars.discourse-cdn.com/v4/letter/g/d6d6ee/32.png) [@gpong](https://discuss.elastic.co/u/gpong)\
**Post date:** [November 20, 2015, 5:48am UTC](https://discuss.elastic.co/t/how-to-migrate-elasticsearch-data-from-1-7-to-elasticsearch-2-0/35104/8 "2015-11-20T05:48:46Z")

</div>

I'll try it. Thanks

---

<div class="post-metadata">

**Author:** ![Arinto\_Murdopo](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/arinto_murdopo/32/1779_2.png) [@Arinto\_Murdopo](https://discuss.elastic.co/u/Arinto_Murdopo)\
**Post date:** [November 20, 2015, 7:55am UTC](https://discuss.elastic.co/t/how-to-migrate-elasticsearch-data-from-1-7-to-elasticsearch-2-0/35104/9 "2015-11-20T07:55:25Z")

</div>

Post the result here, we're going to ugprade our cluster too next month 😉

---

<div class="post-metadata">

**Author:** ![gpong](https://avatars.discourse-cdn.com/v4/letter/g/d6d6ee/32.png) [@gpong](https://discuss.elastic.co/u/gpong)\
**Post date:** [November 20, 2015, 7:59am UTC](https://discuss.elastic.co/t/how-to-migrate-elasticsearch-data-from-1-7-to-elasticsearch-2-0/35104/10 "2015-11-20T07:59:33Z")

</div>

I used elasticsearch-kopf to get this done. using snapshot and restore.  
Remember to add path.repo on each node's config file and use the migration plugin to check before migrate to Elasticsearch 2.0 because some feature has been removed.

---

<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:36pm UTC](https://discuss.elastic.co/t/how-to-migrate-elasticsearch-data-from-1-7-to-elasticsearch-2-0/35104/11 "2017-07-05T23:36:59Z")

</div>


