# Best ways to add indices to an existing ES instance

**URL:** <https://discuss.elastic.co/t/best-ways-to-add-indices-to-an-existing-es-instance/1327>\
**Category:** Elasticsearch\
**Created:** [May 26, 2015, 3:32pm UTC](https://discuss.elastic.co/t/best-ways-to-add-indices-to-an-existing-es-instance/1327 "2015-05-26T15:32:34Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ech0](https://avatars.discourse-cdn.com/v4/letter/e/db5fbb/32.png) [@ech0](https://discuss.elastic.co/u/ech0)\
**Post date:** [May 26, 2015, 3:32pm UTC](https://discuss.elastic.co/t/best-ways-to-add-indices-to-an-existing-es-instance/1327/1 "2015-05-26T15:32:34Z")

</div>

Hi,  
whats the best way to move over an index from one server to another, which already has its own index that is unrelated to the first server ?

basically the scenario is,  
I have an index on server-1, which is used by website-1, and due to server cost, i want to move website-2 that will use its own ES index from server-2 on server-1.

Thanks

---

<div class="post-metadata">

**Author:** ![Joshua\_P](https://avatars.discourse-cdn.com/v4/letter/j/c89c15/32.png) [@Joshua\_P](https://discuss.elastic.co/u/Joshua_P)\
**Post date:** [May 26, 2015, 8:06pm UTC](https://discuss.elastic.co/t/best-ways-to-add-indices-to-an-existing-es-instance/1327/2 "2015-05-26T20:06:54Z")

</div>

Would this be what you're looking for? [Snapshot & Restore to a different cluster](https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-snapshots.html#_restoring_to_a_different_cluster)?

---

<div class="post-metadata">

**Author:** ![ech0](https://avatars.discourse-cdn.com/v4/letter/e/db5fbb/32.png) [@ech0](https://discuss.elastic.co/u/ech0)\
**Post date:** [May 26, 2015, 10:41pm UTC](https://discuss.elastic.co/t/best-ways-to-add-indices-to-an-existing-es-instance/1327/3 "2015-05-26T22:41:24Z")

</div>

This actually worked! thanks!

curl -XPUT '[http://localhost:9200/\_snapshot/s1](http://localhost:9200/_snapshot/s1)' -d '{"type": "fs","settings": {"location": "/var/es\_backups/s1","compress": true}}'  
curl -XPOST "[http://localhost:9200/\_snapshot/s1/2015\_0513/\_restore](http://localhost:9200/_snapshot/s1/2015_0513/_restore)"

"/var/es\_backups/s1" from old server.

---

<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:11am UTC](https://discuss.elastic.co/t/best-ways-to-add-indices-to-an-existing-es-instance/1327/4 "2017-07-06T00:11:48Z")

</div>


