# Move Elasticsearch index's from /auto/abc to /auto/def

**URL:** <https://discuss.elastic.co/t/move-elasticsearch-indexs-from-auto-abc-to-auto-def/19726>\
**Category:** Elasticsearch\
**Created:** [September 11, 2014, 1:30am UTC](https://discuss.elastic.co/t/move-elasticsearch-indexs-from-auto-abc-to-auto-def/19726 "2014-09-11T01:30:30Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![shriyansh\_jain](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shriyansh_jain/32/1035_2.png) [@shriyansh\_jain](https://discuss.elastic.co/u/shriyansh_jain)\
**Post date:** [September 11, 2014, 1:30am UTC](https://discuss.elastic.co/t/move-elasticsearch-indexs-from-auto-abc-to-auto-def/19726/1 "2014-09-11T01:30:30Z")

</div>

Hi,

I need an advice on migrating all Elasticsearch indexes from one partition  
to another partition. Currently, I am using cluster of 2 nodes with  
Elasticsearch.  
And both the nodes are pointing to the same partition, which is /auto/abc.  
How can I point both the nodes to the partition /auto/def and keep all the  
indexes as they were befrore.  
Will copying all the index from /auto/abc to /auto/def and pointing both  
the elasticsearch nodes data path to /auto/def work.? Or I will have to  
make some other changes which might cause change to happen.

Thank you,  
Shriyash

--  
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/1e9ddb09-eac2-462a-b682-165b7c35e055%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/1e9ddb09-eac2-462a-b682-165b7c35e055%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![shriyansh\_jain](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shriyansh_jain/32/1035_2.png) [@shriyansh\_jain](https://discuss.elastic.co/u/shriyansh_jain)\
**Post date:** [September 11, 2014, 5:37pm UTC](https://discuss.elastic.co/t/move-elasticsearch-indexs-from-auto-abc-to-auto-def/19726/2 "2014-09-11T17:37:45Z")

</div>

Can someone help me out with this question.? Is there any ambiguity with  
the question.?

Thank you.  
Shriyansh

On Wednesday, September 10, 2014 6:30:30 PM UTC-7, shriyansh jain wrote:

> Hi,
> 
> I need an advice on migrating all Elasticsearch indexes from one partition  
> to another partition. Currently, I am using cluster of 2 nodes with  
> Elasticsearch.  
> And both the nodes are pointing to the same partition, which is /auto/abc.  
> How can I point both the nodes to the partition /auto/def and keep all the  
> indexes as they were befrore.  
> Will copying all the index from /auto/abc to /auto/def and pointing both  
> the elasticsearch nodes data path to /auto/def work.? Or I will have to  
> make some other changes which might cause change to happen.
> 
> Thank you,  
> Shriyash

--  
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/8d397708-3681-41bc-b422-97fd8a546c00%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/8d397708-3681-41bc-b422-97fd8a546c00%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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:** [September 11, 2014, 8:07pm UTC](https://discuss.elastic.co/t/move-elasticsearch-indexs-from-auto-abc-to-auto-def/19726/3 "2014-09-11T20:07:02Z")

</div>

You should be able to just copy them across and then start ES with your new  
path value, yes.

Regards,  
Mark Walkom

Infrastructure Engineer  
Campaign Monitor  
email: [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)  
web: [www.campaignmonitor.com](http://www.campaignmonitor.com)

On 12 September 2014 03:37, shriyansh jain [shriyanshajain@gmail.com](mailto:shriyanshajain@gmail.com) wrote:

> Can someone help me out with this question.? Is there any ambiguity with  
> the question.?
> 
> Thank you.  
> Shriyansh
> 
> On Wednesday, September 10, 2014 6:30:30 PM UTC-7, shriyansh jain wrote:
> 
> > Hi,
> > 
> > I need an advice on migrating all Elasticsearch indexes from one  
> > partition to another partition. Currently, I am using cluster of 2 nodes  
> > with Elasticsearch.  
> > And both the nodes are pointing to the same partition, which is  
> > /auto/abc. How can I point both the nodes to the partition /auto/def and  
> > keep all the indexes as they were befrore.  
> > Will copying all the index from /auto/abc to /auto/def and pointing both  
> > the elasticsearch nodes data path to /auto/def work.? Or I will have to  
> > make some other changes which might cause change to happen.
> > 
> > Thank you,  
> > Shriyash
> > 
> > --  
> > 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/8d397708-3681-41bc-b422-97fd8a546c00%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/8d397708-3681-41bc-b422-97fd8a546c00%40googlegroups.com)  
> > [https://groups.google.com/d/msgid/elasticsearch/8d397708-3681-41bc-b422-97fd8a546c00%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/8d397708-3681-41bc-b422-97fd8a546c00%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > .  
> > 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/CAEM624bKFc%2Bfj8G%2BuvBc27JZ\_8LQ0zGPjGiY3a5wynAB6im1-w%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAEM624bKFc%2Bfj8G%2BuvBc27JZ_8LQ0zGPjGiY3a5wynAB6im1-w%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![shriyansh\_jain](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shriyansh_jain/32/1035_2.png) [@shriyansh\_jain](https://discuss.elastic.co/u/shriyansh_jain)\
**Post date:** [September 11, 2014, 8:36pm UTC](https://discuss.elastic.co/t/move-elasticsearch-indexs-from-auto-abc-to-auto-def/19726/4 "2014-09-11T20:36:16Z")

</div>

Thank you sir for your reply back. I appreciate it.

Thank you.  
-Shriyansh

On Thursday, September 11, 2014 1:07:46 PM UTC-7, Mark Walkom wrote:

> You should be able to just copy them across and then start ES with your  
> new path value, yes.
> 
> Regards,  
> Mark Walkom
> 
> Infrastructure Engineer  
> Campaign Monitor  
> email: [ma...@campaignmonitor.com](mailto:ma...@campaignmonitor.com) \<javascript:\>  
> web: [www.campaignmonitor.com](http://www.campaignmonitor.com)
> 
> On 12 September 2014 03:37, shriyansh jain \<[shriyan...@gmail.com](mailto:shriyan...@gmail.com)  
> \<javascript:\>\> wrote:
> 
> > Can someone help me out with this question.? Is there any ambiguity with  
> > the question.?
> > 
> > Thank you.  
> > Shriyansh
> > 
> > On Wednesday, September 10, 2014 6:30:30 PM UTC-7, shriyansh jain wrote:
> > 
> > > Hi,
> > > 
> > > I need an advice on migrating all Elasticsearch indexes from one  
> > > partition to another partition. Currently, I am using cluster of 2 nodes  
> > > with Elasticsearch.  
> > > And both the nodes are pointing to the same partition, which is  
> > > /auto/abc. How can I point both the nodes to the partition /auto/def and  
> > > keep all the indexes as they were befrore.  
> > > Will copying all the index from /auto/abc to /auto/def and pointing both  
> > > the elasticsearch nodes data path to /auto/def work.? Or I will have to  
> > > make some other changes which might cause change to happen.
> > > 
> > > Thank you,  
> > > Shriyash
> > > 
> > > --  
> > > 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 [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com) \<javascript:\>.  
> > > To view this discussion on the web visit  
> > > [https://groups.google.com/d/msgid/elasticsearch/8d397708-3681-41bc-b422-97fd8a546c00%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/8d397708-3681-41bc-b422-97fd8a546c00%40googlegroups.com)  
> > > [https://groups.google.com/d/msgid/elasticsearch/8d397708-3681-41bc-b422-97fd8a546c00%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/8d397708-3681-41bc-b422-97fd8a546c00%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > > .  
> > > 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/f6eb21b2-e379-4ffb-bfc2-8516d341e979%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/f6eb21b2-e379-4ffb-bfc2-8516d341e979%40googlegroups.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, 1:03am UTC](https://discuss.elastic.co/t/move-elasticsearch-indexs-from-auto-abc-to-auto-def/19726/5 "2017-07-06T01:03:00Z")

</div>


