# Reindex from remote server

**URL:** <https://discuss.elastic.co/t/reindex-from-remote-server/318630>\
**Category:** Elasticsearch\
**Tags:** reindex\
**Created:** [November 10, 2022, 8:52am UTC](https://discuss.elastic.co/t/reindex-from-remote-server/318630 "2022-11-10T08:52:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Suraj\_Jannu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/suraj_jannu/32/112902_2.png) [@Suraj\_Jannu](https://discuss.elastic.co/u/Suraj_Jannu)\
**Post date:** [November 10, 2022, 8:52am UTC](https://discuss.elastic.co/t/reindex-from-remote-server/318630/1 "2022-11-10T08:52:20Z")

</div>

Hello,

I want to migrate the data from one elasticsearch cluster to another using reindexing from a remote server approach.  
Calling reindex API multiple times does the migration activity from scratch each time rather it should pick from the place where it stopped last time.

Please let me know if my understanding is correct. If not can you please suggest how can it be achieved?

Thanks and regards,  
Suraj Jannu

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [November 10, 2022, 8:59am UTC](https://discuss.elastic.co/t/reindex-from-remote-server/318630/2 "2022-11-10T08:59:12Z")

</div>

> [@Suraj\_Jannu](#):
>
> Calling reindex API multiple times does the migration activity from scratch each time rather it should pick from the place where it stopped last time.

Reindex without a query as selection criteria will always reindex everything. You can specify a query based on some field in your data to only reindex a subset of the data every time, e.g. new documents, but you need to manage this and keep track of query parameters yourself.

Replicating data from one cluster to another is what [cross-cluster replication](https://www.elastic.co/guide/en/elasticsearch/reference/8.5/xpack-ccr.html) was designed to do, but be aware that this is a commercial feature not available with the free Basic license.

---

<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:** [December 8, 2022, 8:59am UTC](https://discuss.elastic.co/t/reindex-from-remote-server/318630/3 "2022-12-08T08:59:33Z")

</div>

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