# Move Data from One index to Another Cluster Index

**URL:** <https://discuss.elastic.co/t/move-data-from-one-index-to-another-cluster-index/22277>\
**Category:** Elasticsearch\
**Created:** [February 19, 2015, 10:44pm UTC](https://discuss.elastic.co/t/move-data-from-one-index-to-another-cluster-index/22277 "2015-02-19T22:44:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Amay\_Patil](https://avatars.discourse-cdn.com/v4/letter/a/a3d4f5/32.png) [@Amay\_Patil](https://discuss.elastic.co/u/Amay_Patil)\
**Post date:** [February 19, 2015, 10:44pm UTC](https://discuss.elastic.co/t/move-data-from-one-index-to-another-cluster-index/22277/1 "2015-02-19T22:44:36Z")

</div>

How can one move data from One index in a server to another Index in  
another Server.

I know reindexing moves data into another index in the same cluster.

How can it be done in Python ?

Ap

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/ecb23365-08a3-4b0e-8036-ed2f8b1fbc27%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/ecb23365-08a3-4b0e-8036-ed2f8b1fbc27%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Honza\_Kral](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/honza_kral/32/876_2.png) [@Honza\_Kral](https://discuss.elastic.co/u/Honza_Kral)\
**Post date:** [February 19, 2015, 10:51pm UTC](https://discuss.elastic.co/t/move-data-from-one-index-to-another-cluster-index/22277/2 "2015-02-19T22:51:20Z")

</div>

The python client has a reindex helper that can do just that - just  
supply a client instance for the source and destination clusters.

[http://elasticsearch-py.readthedocs.org/en/latest/helpers.html#elasticsearch.helpers.reindex](http://elasticsearch-py.readthedocs.org/en/latest/helpers.html#elasticsearch.helpers.reindex)

Hope this helps,  
Honza

On Thu, Feb 19, 2015 at 11:44 PM, Amay Patil [amaypatil01@gmail.com](mailto:amaypatil01@gmail.com) wrote:

> How can one move data from One index in a server to another Index in another  
> Server.
> 
> I know reindexing moves data into another index in the same cluster.
> 
> How can it be done in Python ?
> 
> Ap
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/ecb23365-08a3-4b0e-8036-ed2f8b1fbc27%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/ecb23365-08a3-4b0e-8036-ed2f8b1fbc27%40googlegroups.com).  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CABfdDiopGtorHza49wP1MLPrnA4MD%3Dufd2KO0K6eyamE0AuUfQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CABfdDiopGtorHza49wP1MLPrnA4MD%3Dufd2KO0K6eyamE0AuUfQ%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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:31am UTC](https://discuss.elastic.co/t/move-data-from-one-index-to-another-cluster-index/22277/3 "2017-07-06T00:31:23Z")

</div>


