# What is the best way to copy an Elasticsearch index from one instance to another?

**URL:** https://discuss.elastic.co/t/what-is-the-best-way-to-copy-an-elasticsearch-index-from-one-instance-to-another/81
**Category:** Elasticsearch
**Created:** [May 1, 2015, 6:09am UTC](https://discuss.elastic.co/t/what-is-the-best-way-to-copy-an-elasticsearch-index-from-one-instance-to-another/81 "2015-05-01T06:09:03Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![robyn](https://avatars.discourse-cdn.com/v4/letter/r/9f8e36/32.png) [@robyn](https://discuss.elastic.co/u/robyn)
#### Post date: [May 1, 2015, 6:09am UTC](https://discuss.elastic.co/t/what-is-the-best-way-to-copy-an-elasticsearch-index-from-one-instance-to-another/81/1 "2015-05-01T06:09:03Z")

</div>

The best way is to use the [snapshot/restore feature](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/modules-snapshots.html).

This is done, for example, to copy an Elasticsearch index from a production instance to a development box.

If you have an NFS mount accessible to both hosts, you can just set that as a repository, take a snapshot, and restore it on the development box.

---

<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:16am UTC](https://discuss.elastic.co/t/what-is-the-best-way-to-copy-an-elasticsearch-index-from-one-instance-to-another/81/2 "2017-07-06T00:16:21Z")

</div>


