# How to migrate index into other machine

**URL:** <https://discuss.elastic.co/t/how-to-migrate-index-into-other-machine/201922>\
**Category:** Elasticsearch\
**Created:** [October 2, 2019, 9:31am UTC](https://discuss.elastic.co/t/how-to-migrate-index-into-other-machine/201922 "2019-10-02T09:31:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![daniel.velasco](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/daniel.velasco/32/63458_2.png) [@daniel.velasco](https://discuss.elastic.co/u/daniel.velasco)\
**Post date:** [October 2, 2019, 9:31am UTC](https://discuss.elastic.co/t/how-to-migrate-index-into-other-machine/201922/1 "2019-10-02T09:31:06Z")

</div>

Hi.  
I have two machines, in the first I have indexes that I want migrate them to the second machine, but in the second machine I have some indexes that I don't want lose them.

I had proved to copy the indices folder but kibana doesn't show them.  
I also try snapshot but can't restore because kibana\_task\_manager already exist.

There are another way or idea that I can prove it?

Regards.

---

<div class="post-metadata">

**Author:** ![daniel.velasco](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/daniel.velasco/32/63458_2.png) [@daniel.velasco](https://discuss.elastic.co/u/daniel.velasco)\
**Post date:** [October 2, 2019, 10:16am UTC](https://discuss.elastic.co/t/how-to-migrate-index-into-other-machine/201922/2 "2019-10-02T10:16:51Z")

</div>

Solved.

I have loaded the snapshots specifying indexes one by one.

```
POST /_snapshot/my_backup/snapshot-one/_restore
{
 "indices":"indexname"
}

```

I have used this guide:

https://www.elastic.co/guide/en/elasticsearch/reference/7.3/modules-snapshots.html

But i dont know if is the best way to do it.

---

<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:** [October 30, 2019, 10:16am UTC](https://discuss.elastic.co/t/how-to-migrate-index-into-other-machine/201922/3 "2019-10-30T10:16:53Z")

</div>

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