# Best way to load initial data to new node?

**URL:** <https://discuss.elastic.co/t/best-way-to-load-initial-data-to-new-node/44697>\
**Category:** Elasticsearch\
**Created:** [March 17, 2016, 11:06am UTC](https://discuss.elastic.co/t/best-way-to-load-initial-data-to-new-node/44697 "2016-03-17T11:06:48Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Xavier\_TROMP](https://avatars.discourse-cdn.com/v4/letter/x/13edae/32.png) [@Xavier\_TROMP](https://discuss.elastic.co/u/Xavier_TROMP)\
**Post date:** [March 17, 2016, 11:06am UTC](https://discuss.elastic.co/t/best-way-to-load-initial-data-to-new-node/44697/1 "2016-03-17T11:06:48Z")

</div>

Hello everyone,

I am wondering how to correctly load initial data to a new node.

Say I have 1 master node and I want to add 2 data nodes.  
My master node is continuously indexed, but I have a backup made with elasticsearch curator available on amazon S3. Say the data is 10 minutes behind master data.

When launching my new data nodes, should I just make them join the master node cluster, then they will automatically get data from the master ?

Or is it possible to restore the data from S3 on the 2 new data nodes, then make them join the cluster. At this time will they catch up to the data on the master ? What if some files which were backup on S3 have been deleted on master node, will they be deleted on data nodes too ?  
I am interested in this 2nd solution as it may be faster if the nodes are distant from my master node.

Thank you in advance

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [March 18, 2016, 4:59am UTC](https://discuss.elastic.co/t/best-way-to-load-initial-data-to-new-node/44697/2 "2016-03-18T04:59:16Z")

</div>

> [@Xavier\_TROMP](#):
>
> When launching my new data nodes, should I just make them join the master node cluster, then they will automatically get data from the master ?

Yes.

> [@Xavier\_TROMP](#):
>
> Or is it possible to restore the data from S3 on the 2 new data nodes, then make them join the cluster. At this time will they catch up to the data on the master ? What if some files which were backup on S3 have been deleted on master node, will they be deleted on data nodes too ?

Don't do this.

> [@Xavier\_TROMP](#):
>
> I am interested in this 2nd solution as it may be faster if the nodes are distant from my master node.

We strongly discourage clusters spread over diverse geographic locations.

---

<div class="post-metadata">

**Author:** ![Xavier\_TROMP](https://avatars.discourse-cdn.com/v4/letter/x/13edae/32.png) [@Xavier\_TROMP](https://discuss.elastic.co/u/Xavier_TROMP)\
**Post date:** [March 18, 2016, 8:25am UTC](https://discuss.elastic.co/t/best-way-to-load-initial-data-to-new-node/44697/3 "2016-03-18T08:25:43Z")

</div>

Thank you very much for your input, really appreciate.

---

<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 5, 2017, 11:07pm UTC](https://discuss.elastic.co/t/best-way-to-load-initial-data-to-new-node/44697/4 "2017-07-05T23:07:16Z")

</div>


