# Import from another instance of ES

**URL:** <https://discuss.elastic.co/t/import-from-another-instance-of-es/5591>\
**Category:** Elasticsearch\
**Created:** [October 13, 2011, 2:53pm UTC](https://discuss.elastic.co/t/import-from-another-instance-of-es/5591 "2011-10-13T14:53:49Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Daniel\_Maher\_2](https://avatars.discourse-cdn.com/v4/letter/d/90ced4/32.png) [@Daniel\_Maher\_2](https://discuss.elastic.co/u/Daniel_Maher_2)\
**Post date:** [October 13, 2011, 2:53pm UTC](https://discuss.elastic.co/t/import-from-another-instance-of-es/5591/1 "2011-10-13T14:53:49Z")

</div>

Hello,

We currently have two ES clusters which do not normally communicate with  
one another (though they could). I would like to import the indexes  
from cluster A into cluster B, without destroying the indexes that are  
already present in cluster B. Furthermore, I do not want the indexes  
from cluster B to exist in cluster A (i.e. uni-directional relationship).

What would be the safest way to do this? How about the fastest? Bonus  
points if it's the same answer for both questions. 🙂

Thank you!

--  
Daniel Maher

What no spouse of a writer can ever understand is that a writer is  
working when he's staring out the window.

---

<div class="post-metadata">

**Author:** ![Gabriel\_Farrell](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gabriel_farrell/32/3337_2.png) [@Gabriel\_Farrell](https://discuss.elastic.co/u/Gabriel_Farrell)\
**Post date:** [October 13, 2011, 8:17pm UTC](https://discuss.elastic.co/t/import-from-another-instance-of-es/5591/2 "2011-10-13T20:17:30Z")

</div>

Would a scan and bulk index be fast enough for you? I think that would  
be the safest.

On Thu, Oct 13, 2011 at 10:53 AM, Daniel Maher [dmaher@plizy.com](mailto:dmaher@plizy.com) wrote:

> Hello,
> 
> We currently have two ES clusters which do not normally communicate with one  
> another (though they could). I would like to import the indexes from  
> cluster A into cluster B, without destroying the indexes that are already  
> present in cluster B. Furthermore, I do not want the indexes from cluster B  
> to exist in cluster A (i.e. uni-directional relationship).
> 
> What would be the safest way to do this? How about the fastest? Bonus  
> points if it's the same answer for both questions. 🙂
> 
> Thank you!
> 
> --  
> Daniel Maher
> 
> What no spouse of a writer can ever understand is that a writer is working  
> when he's staring out the window.

---

<div class="post-metadata">

**Author:** ![Daniel\_Maher\_2](https://avatars.discourse-cdn.com/v4/letter/d/90ced4/32.png) [@Daniel\_Maher\_2](https://discuss.elastic.co/u/Daniel_Maher_2)\
**Post date:** [October 14, 2011, 10:07am UTC](https://discuss.elastic.co/t/import-from-another-instance-of-es/5591/3 "2011-10-14T10:07:29Z")

</div>

On 10/13/2011 10:17 PM, Gabriel Farrell wrote:

> Would a scan and bulk index be fast enough for you? I think that would  
> be the safest.

Thank you for your response; I was actually hoping for some sort of  
hackery that would allow me to simply import the filesystem tree or  
something, but the scan / bulk index approach seems to be the winner.

--  
Daniel Maher

There's small choice in rotten apples.  
-- William Shakespeare, "The Taming of the Shrew"

---

<div class="post-metadata">

**Author:** ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)\
**Post date:** [October 14, 2011, 1:36pm UTC](https://discuss.elastic.co/t/import-from-another-instance-of-es/5591/4 "2011-10-14T13:36:48Z")

</div>

Scan / bulk indexing is the way to go. At least for now.

On Fri, Oct 14, 2011 at 12:07 PM, Daniel Maher [dmaher@plizy.com](mailto:dmaher@plizy.com) wrote:

> On 10/13/2011 10:17 PM, Gabriel Farrell wrote:
> 
> > Would a scan and bulk index be fast enough for you? I think that would  
> > be the safest.
> 
> Thank you for your response; I was actually hoping for some sort of hackery  
> that would allow me to simply import the filesystem tree or something, but  
> the scan / bulk index approach seems to be the winner.
> 
> --  
> Daniel Maher
> 
> There's small choice in rotten apples.  
> -- William Shakespeare, "The Taming of the Shrew"

---

<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, 3:51am UTC](https://discuss.elastic.co/t/import-from-another-instance-of-es/5591/5 "2017-07-06T03:51:55Z")

</div>

Closed on July 6, 2017, 3:51am UTC


