# Copy Indices to new Server

**URL:** https://discuss.elastic.co/t/copy-indices-to-new-server/19573
**Category:** Elasticsearch
**Created:** [September 2, 2014, 1:35pm UTC](https://discuss.elastic.co/t/copy-indices-to-new-server/19573 "2014-09-02T13:35:13Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![Andrew\_Lakes](https://avatars.discourse-cdn.com/v4/letter/a/c2a13f/32.png) [@Andrew\_Lakes](https://discuss.elastic.co/u/Andrew_Lakes)
#### Post date: [September 2, 2014, 1:35pm UTC](https://discuss.elastic.co/t/copy-indices-to-new-server/19573/1 "2014-09-02T13:35:13Z")

</div>

Hey guys,

we have set up a new physical ES-server in order to get more ressources for  
our ELK-Stack.

On our old server we got about 1.8 TB/ 127 Indices which have to be  
available on the new server.

So we copied the the indices to the new server, which have the same  
configuration as the old server and set the permissions so that  
elasticsearch can read/write on the indices.

We restarted elasticsearch so that ES can initialise the indices properly,  
but unfortunate it didnt load them into the cluster.

Is there anything you have to configure that we dont have already done, in  
order to copy the indices?

Thanks for response

--  
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/2e55eedd-c051-4aec-be05-1db57c7e5f5a%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/2e55eedd-c051-4aec-be05-1db57c7e5f5a%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

### Author: ![vineeth\_mohan\_2](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vineeth_mohan_2/32/747_2.png) [@vineeth\_mohan\_2](https://discuss.elastic.co/u/vineeth_mohan_2)
#### Post date: [September 2, 2014, 2:31pm UTC](https://discuss.elastic.co/t/copy-indices-to-new-server/19573/2 "2014-09-02T14:31:05Z")

</div>

Hello Andrew ,

Did you copy the data folder or do a snapshot/restore -

> **[Elasticsearch Platform — Find real-time answers at scale](https://www.elastic.co)**
>
> Power insights and outcomes with the Elasticsearch Platform and AI. See into your data and find answers that matter with enterprise solutions designed to help you build, observe, and protect. Try Elasticsearch free today.

Thanks  
Vineeth

On Tue, Sep 2, 2014 at 7:05 PM, Andrew Lakes [alakes501@gmail.com](mailto:alakes501@gmail.com) wrote:

> Hey guys,
> 
> we have set up a new physical ES-server in order to get more ressources  
> for our ELK-Stack.
> 
> On our old server we got about 1.8 TB/ 127 Indices which have to be  
> available on the new server.
> 
> So we copied the the indices to the new server, which have the same  
> configuration as the old server and set the permissions so that  
> elasticsearch can read/write on the indices.
> 
> We restarted elasticsearch so that ES can initialise the indices properly,  
> but unfortunate it didnt load them into the cluster.
> 
> Is there anything you have to configure that we dont have already done, in  
> order to copy the indices?
> 
> Thanks for response
> 
> --  
> 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/2e55eedd-c051-4aec-be05-1db57c7e5f5a%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/2e55eedd-c051-4aec-be05-1db57c7e5f5a%40googlegroups.com)  
> [https://groups.google.com/d/msgid/elasticsearch/2e55eedd-c051-4aec-be05-1db57c7e5f5a%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/2e55eedd-c051-4aec-be05-1db57c7e5f5a%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/CAGdPd5%3DShDPBz0fzjG0L\_foVU2Sg4Bf%3DvoL4bRLt%3D3UB3x6ejg%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAGdPd5%3DShDPBz0fzjG0L_foVU2Sg4Bf%3DvoL4bRLt%3D3UB3x6ejg%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

### Author: ![Andrew\_Lakes](https://avatars.discourse-cdn.com/v4/letter/a/c2a13f/32.png) [@Andrew\_Lakes](https://discuss.elastic.co/u/Andrew_Lakes)
#### Post date: [September 3, 2014, 7:17am UTC](https://discuss.elastic.co/t/copy-indices-to-new-server/19573/3 "2014-09-03T07:17:07Z")

</div>

Hi Vineeth,

i copied the the data folder to the new server.

Thanks

Am Dienstag, 2. September 2014 16:31:12 UTC+2 schrieb vineeth mohan:

> Hello Andrew ,
> 
> Did you copy the data folder or do a snapshot/restore -  
> [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/modules-snapshots.html#_snapshot)
> 
> Thanks  
> Vineeth
> 
> On Tue, Sep 2, 2014 at 7:05 PM, Andrew Lakes \<[alak...@gmail.com](mailto:alak...@gmail.com)  
> \<javascript:\>\> wrote:
> 
> > Hey guys,
> > 
> > we have set up a new physical ES-server in order to get more ressources  
> > for our ELK-Stack.
> > 
> > On our old server we got about 1.8 TB/ 127 Indices which have to be  
> > available on the new server.
> > 
> > So we copied the the indices to the new server, which have the same  
> > configuration as the old server and set the permissions so that  
> > elasticsearch can read/write on the indices.
> > 
> > We restarted elasticsearch so that ES can initialise the indices  
> > properly, but unfortunate it didnt load them into the cluster.
> > 
> > Is there anything you have to configure that we dont have already done,  
> > in order to copy the indices?
> > 
> > Thanks for response
> > 
> > --  
> > 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/2e55eedd-c051-4aec-be05-1db57c7e5f5a%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/2e55eedd-c051-4aec-be05-1db57c7e5f5a%40googlegroups.com)  
> > [https://groups.google.com/d/msgid/elasticsearch/2e55eedd-c051-4aec-be05-1db57c7e5f5a%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/2e55eedd-c051-4aec-be05-1db57c7e5f5a%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/f4f9c602-9f01-4bc8-a491-40aa5e13914e%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/f4f9c602-9f01-4bc8-a491-40aa5e13914e%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 3, 2014, 7:45am UTC](https://discuss.elastic.co/t/copy-indices-to-new-server/19573/4 "2014-09-03T07:45:50Z")

</div>

Can you elaborate which directory you copied from and to, ie the full path?  
Did you make any changes at all in the config on the new server?

Regards,  
Mark Walkom

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

On 3 September 2014 17:17, Andrew Lakes [alakes501@gmail.com](mailto:alakes501@gmail.com) wrote:

> Hi Vineeth,
> 
> i copied the the data folder to the new server.
> 
> Thanks
> 
> Am Dienstag, 2. September 2014 16:31:12 UTC+2 schrieb vineeth mohan:
> 
> > Hello Andrew ,
> > 
> > Did you copy the data folder or do a snapshot/restore -  
> > [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/en/elasticsearch/)  
> > reference/current/modules-snapshots.html#\_snapshot
> > 
> > Thanks  
> > Vineeth
> > 
> > On Tue, Sep 2, 2014 at 7:05 PM, Andrew Lakes [alak...@gmail.com](mailto:alak...@gmail.com) wrote:
> > 
> > > Hey guys,
> > > 
> > > we have set up a new physical ES-server in order to get more ressources  
> > > for our ELK-Stack.
> > > 
> > > On our old server we got about 1.8 TB/ 127 Indices which have to be  
> > > available on the new server.
> > > 
> > > So we copied the the indices to the new server, which have the same  
> > > configuration as the old server and set the permissions so that  
> > > elasticsearch can read/write on the indices.
> > > 
> > > We restarted elasticsearch so that ES can initialise the indices  
> > > properly, but unfortunate it didnt load them into the cluster.
> > > 
> > > Is there anything you have to configure that we dont have already done,  
> > > in order to copy the indices?
> > > 
> > > Thanks for response
> > > 
> > > --  
> > > 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).  
> > > To view this discussion on the web visit [https://groups.google.com/d/](https://groups.google.com/d/)  
> > > msgid/elasticsearch/2e55eedd-c051-4aec-be05-1db57c7e5f5a%  
> > > [40googlegroups.com](http://40googlegroups.com)  
> > > [https://groups.google.com/d/msgid/elasticsearch/2e55eedd-c051-4aec-be05-1db57c7e5f5a%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/2e55eedd-c051-4aec-be05-1db57c7e5f5a%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/f4f9c602-9f01-4bc8-a491-40aa5e13914e%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/f4f9c602-9f01-4bc8-a491-40aa5e13914e%40googlegroups.com)  
> > [https://groups.google.com/d/msgid/elasticsearch/f4f9c602-9f01-4bc8-a491-40aa5e13914e%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/f4f9c602-9f01-4bc8-a491-40aa5e13914e%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/CAEM624YcW6QkqK36bDr-9MokF6Ap53pyqrQiiddM1R3di88m5Q%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAEM624YcW6QkqK36bDr-9MokF6Ap53pyqrQiiddM1R3di88m5Q%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

### Author: ![Andrew\_Lakes](https://avatars.discourse-cdn.com/v4/letter/a/c2a13f/32.png) [@Andrew\_Lakes](https://discuss.elastic.co/u/Andrew_Lakes)
#### Post date: [September 3, 2014, 10:46am UTC](https://discuss.elastic.co/t/copy-indices-to-new-server/19573/5 "2014-09-03T10:46:56Z")

</div>

Hi,

i copied from /data/es\_index/elasticsearch/nodes/0/indices to  
/data/es/t2//nodes/0/indices/

So indeed i change the clustername and have version 1.3.2 instead of 1.3.1  
on the new server.

Beside that i havent changed anything.

Cheers

Am Mittwoch, 3. September 2014 09:46:37 UTC+2 schrieb Mark Walkom:

> Can you elaborate which directory you copied from and to, ie the full path?  
> Did you make any changes at all in the config on the new server?
> 
> 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 3 September 2014 17:17, Andrew Lakes \<[alak...@gmail.com](mailto:alak...@gmail.com) \<javascript:\>\>  
> wrote:
> 
> > Hi Vineeth,
> > 
> > i copied the the data folder to the new server.
> > 
> > Thanks
> > 
> > Am Dienstag, 2. September 2014 16:31:12 UTC+2 schrieb vineeth mohan:
> > 
> > > Hello Andrew ,
> > > 
> > > Did you copy the data folder or do a snapshot/restore -  
> > > [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/en/elasticsearch/)  
> > > reference/current/modules-snapshots.html#\_snapshot
> > > 
> > > Thanks  
> > > Vineeth
> > > 
> > > On Tue, Sep 2, 2014 at 7:05 PM, Andrew Lakes [alak...@gmail.com](mailto:alak...@gmail.com) wrote:
> > > 
> > > > Hey guys,
> > > > 
> > > > we have set up a new physical ES-server in order to get more ressources  
> > > > for our ELK-Stack.
> > > > 
> > > > On our old server we got about 1.8 TB/ 127 Indices which have to be  
> > > > available on the new server.
> > > > 
> > > > So we copied the the indices to the new server, which have the same  
> > > > configuration as the old server and set the permissions so that  
> > > > elasticsearch can read/write on the indices.
> > > > 
> > > > We restarted elasticsearch so that ES can initialise the indices  
> > > > properly, but unfortunate it didnt load them into the cluster.
> > > > 
> > > > Is there anything you have to configure that we dont have already done,  
> > > > in order to copy the indices?
> > > > 
> > > > Thanks for response
> > > > 
> > > > --  
> > > > 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).  
> > > > To view this discussion on the web visit [https://groups.google.com/d/](https://groups.google.com/d/)  
> > > > msgid/elasticsearch/2e55eedd-c051-4aec-be05-1db57c7e5f5a%  
> > > > [40googlegroups.com](http://40googlegroups.com)  
> > > > [https://groups.google.com/d/msgid/elasticsearch/2e55eedd-c051-4aec-be05-1db57c7e5f5a%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/2e55eedd-c051-4aec-be05-1db57c7e5f5a%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 [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com) \<javascript:\>.  
> > > To view this discussion on the web visit  
> > > [https://groups.google.com/d/msgid/elasticsearch/f4f9c602-9f01-4bc8-a491-40aa5e13914e%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/f4f9c602-9f01-4bc8-a491-40aa5e13914e%40googlegroups.com)  
> > > [https://groups.google.com/d/msgid/elasticsearch/f4f9c602-9f01-4bc8-a491-40aa5e13914e%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/f4f9c602-9f01-4bc8-a491-40aa5e13914e%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/ecf72421-a2a7-45d7-89ba-8e5b796f242b%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/ecf72421-a2a7-45d7-89ba-8e5b796f242b%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 3, 2014, 10:48am UTC](https://discuss.elastic.co/t/copy-indices-to-new-server/19573/6 "2014-09-03T10:48:57Z")

</div>

Did you change path.data as well in elasticsearch.yml?

If not, what are the two values you have on each node.

Regards,  
Mark Walkom

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

On 3 September 2014 20:46, Andrew Lakes [alakes501@gmail.com](mailto:alakes501@gmail.com) wrote:

> Hi,
> 
> i copied from /data/es\_index/elasticsearch/nodes/0/indices to  
> /data/es/t2//nodes/0/indices/
> 
> So indeed i change the clustername and have version 1.3.2 instead of 1.3.1  
> on the new server.
> 
> Beside that i havent changed anything.
> 
> Cheers
> 
> Am Mittwoch, 3. September 2014 09:46:37 UTC+2 schrieb Mark Walkom:
> 
> > Can you elaborate which directory you copied from and to, ie the full  
> > path?  
> > Did you make any changes at all in the config on the new server?
> > 
> > Regards,  
> > Mark Walkom
> > 
> > Infrastructure Engineer  
> > Campaign Monitor  
> > email: [ma...@campaignmonitor.com](mailto:ma...@campaignmonitor.com)  
> > web: [www.campaignmonitor.com](http://www.campaignmonitor.com)
> > 
> > On 3 September 2014 17:17, Andrew Lakes [alak...@gmail.com](mailto:alak...@gmail.com) wrote:
> > 
> > > Hi Vineeth,
> > > 
> > > i copied the the data folder to the new server.
> > > 
> > > Thanks
> > > 
> > > Am Dienstag, 2. September 2014 16:31:12 UTC+2 schrieb vineeth mohan:
> > > 
> > > > Hello Andrew ,
> > > > 
> > > > Did you copy the data folder or do a snapshot/restore -  
> > > > [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/en/elasticsearch/refere)  
> > > > nce/current/modules-snapshots.html#\_snapshot
> > > > 
> > > > Thanks  
> > > > Vineeth
> > > > 
> > > > On Tue, Sep 2, 2014 at 7:05 PM, Andrew Lakes [alak...@gmail.com](mailto:alak...@gmail.com) wrote:
> > > > 
> > > > > Hey guys,
> > > > > 
> > > > > we have set up a new physical ES-server in order to get more  
> > > > > ressources for our ELK-Stack.
> > > > > 
> > > > > On our old server we got about 1.8 TB/ 127 Indices which have to be  
> > > > > available on the new server.
> > > > > 
> > > > > So we copied the the indices to the new server, which have the same  
> > > > > configuration as the old server and set the permissions so that  
> > > > > elasticsearch can read/write on the indices.
> > > > > 
> > > > > We restarted elasticsearch so that ES can initialise the indices  
> > > > > properly, but unfortunate it didnt load them into the cluster.
> > > > > 
> > > > > Is there anything you have to configure that we dont have already  
> > > > > done, in order to copy the indices?
> > > > > 
> > > > > Thanks for response
> > > > > 
> > > > > --  
> > > > > 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).  
> > > > > To view this discussion on the web visit [https://groups.google.com/d/](https://groups.google.com/d/)  
> > > > > msgid/elasticsearch/2e55eedd-c051-4aec-be05-1db57c7e5f5a%40goo  
> > > > > [glegroups.com](http://glegroups.com)  
> > > > > [https://groups.google.com/d/msgid/elasticsearch/2e55eedd-c051-4aec-be05-1db57c7e5f5a%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/2e55eedd-c051-4aec-be05-1db57c7e5f5a%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 [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com).  
> > > > To view this discussion on the web visit [https://groups.google.com/d/](https://groups.google.com/d/)  
> > > > msgid/elasticsearch/f4f9c602-9f01-4bc8-a491-40aa5e13914e%  
> > > > [40googlegroups.com](http://40googlegroups.com)  
> > > > [https://groups.google.com/d/msgid/elasticsearch/f4f9c602-9f01-4bc8-a491-40aa5e13914e%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/f4f9c602-9f01-4bc8-a491-40aa5e13914e%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/ecf72421-a2a7-45d7-89ba-8e5b796f242b%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/ecf72421-a2a7-45d7-89ba-8e5b796f242b%40googlegroups.com)  
> > [https://groups.google.com/d/msgid/elasticsearch/ecf72421-a2a7-45d7-89ba-8e5b796f242b%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/ecf72421-a2a7-45d7-89ba-8e5b796f242b%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/CAEM624ZsDfCrkepfMXys2eAYK0GB\_bY%2B5zj0cHP0VgCryM-NDQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAEM624ZsDfCrkepfMXys2eAYK0GB_bY%2B5zj0cHP0VgCryM-NDQ%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

### Author: ![Andrew\_Lakes](https://avatars.discourse-cdn.com/v4/letter/a/c2a13f/32.png) [@Andrew\_Lakes](https://discuss.elastic.co/u/Andrew_Lakes)
#### Post date: [September 3, 2014, 11:06am UTC](https://discuss.elastic.co/t/copy-indices-to-new-server/19573/7 "2014-09-03T11:06:36Z")

</div>

Hi,

on the new server i´ve set up an internal elasticsearch cluster in order to  
move the indices to a slower storage.

On the slower storage node the setting is:  
path.data: /data/es/t2

On the fast one  
path.data: /data/es/t1

On the old server the setting was:

path.data: /data/es\_index

Could it be that there went sth. wrong on the copy-process? Like some  
"metadata" weren´t copied right?

Am Mittwoch, 3. September 2014 12:49:30 UTC+2 schrieb Mark Walkom:

> Did you change path.data as well in elasticsearch.yml?
> 
> If not, what are the two values you have on each node.
> 
> 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 3 September 2014 20:46, Andrew Lakes \<[alak...@gmail.com](mailto:alak...@gmail.com) \<javascript:\>\>  
> wrote:
> 
> > Hi,
> > 
> > i copied from /data/es\_index/elasticsearch/nodes/0/indices to  
> > /data/es/t2//nodes/0/indices/
> > 
> > So indeed i change the clustername and have version 1.3.2 instead of  
> > 1.3.1 on the new server.
> > 
> > Beside that i havent changed anything.
> > 
> > Cheers
> > 
> > Am Mittwoch, 3. September 2014 09:46:37 UTC+2 schrieb Mark Walkom:
> > 
> > > Can you elaborate which directory you copied from and to, ie the full  
> > > path?  
> > > Did you make any changes at all in the config on the new server?
> > > 
> > > Regards,  
> > > Mark Walkom
> > > 
> > > Infrastructure Engineer  
> > > Campaign Monitor  
> > > email: [ma...@campaignmonitor.com](mailto:ma...@campaignmonitor.com)  
> > > web: [www.campaignmonitor.com](http://www.campaignmonitor.com)
> > > 
> > > On 3 September 2014 17:17, Andrew Lakes [alak...@gmail.com](mailto:alak...@gmail.com) wrote:
> > > 
> > > > Hi Vineeth,
> > > > 
> > > > i copied the the data folder to the new server.
> > > > 
> > > > Thanks
> > > > 
> > > > Am Dienstag, 2. September 2014 16:31:12 UTC+2 schrieb vineeth mohan:
> > > > 
> > > > > Hello Andrew ,
> > > > > 
> > > > > Did you copy the data folder or do a snapshot/restore -  
> > > > > [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/en/elasticsearch/refere)  
> > > > > nce/current/modules-snapshots.html#\_snapshot
> > > > > 
> > > > > Thanks  
> > > > > Vineeth
> > > > > 
> > > > > On Tue, Sep 2, 2014 at 7:05 PM, Andrew Lakes [alak...@gmail.com](mailto:alak...@gmail.com)  
> > > > > wrote:
> > > > > 
> > > > > > Hey guys,
> > > > > > 
> > > > > > we have set up a new physical ES-server in order to get more  
> > > > > > ressources for our ELK-Stack.
> > > > > > 
> > > > > > On our old server we got about 1.8 TB/ 127 Indices which have to be  
> > > > > > available on the new server.
> > > > > > 
> > > > > > So we copied the the indices to the new server, which have the same  
> > > > > > configuration as the old server and set the permissions so that  
> > > > > > elasticsearch can read/write on the indices.
> > > > > > 
> > > > > > We restarted elasticsearch so that ES can initialise the indices  
> > > > > > properly, but unfortunate it didnt load them into the cluster.
> > > > > > 
> > > > > > Is there anything you have to configure that we dont have already  
> > > > > > done, in order to copy the indices?
> > > > > > 
> > > > > > Thanks for response
> > > > > > 
> > > > > > --  
> > > > > > 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).  
> > > > > > To view this discussion on the web visit [https://groups.google.com/d/](https://groups.google.com/d/)  
> > > > > > msgid/elasticsearch/2e55eedd-c051-4aec-be05-1db57c7e5f5a%40goo  
> > > > > > [glegroups.com](http://glegroups.com)  
> > > > > > [https://groups.google.com/d/msgid/elasticsearch/2e55eedd-c051-4aec-be05-1db57c7e5f5a%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/2e55eedd-c051-4aec-be05-1db57c7e5f5a%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 [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com).  
> > > > > To view this discussion on the web visit [https://groups.google.com/d/](https://groups.google.com/d/)  
> > > > > msgid/elasticsearch/f4f9c602-9f01-4bc8-a491-40aa5e13914e%  
> > > > > [40googlegroups.com](http://40googlegroups.com)  
> > > > > [https://groups.google.com/d/msgid/elasticsearch/f4f9c602-9f01-4bc8-a491-40aa5e13914e%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/f4f9c602-9f01-4bc8-a491-40aa5e13914e%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 [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com) \<javascript:\>.  
> > > To view this discussion on the web visit  
> > > [https://groups.google.com/d/msgid/elasticsearch/ecf72421-a2a7-45d7-89ba-8e5b796f242b%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/ecf72421-a2a7-45d7-89ba-8e5b796f242b%40googlegroups.com)  
> > > [https://groups.google.com/d/msgid/elasticsearch/ecf72421-a2a7-45d7-89ba-8e5b796f242b%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/ecf72421-a2a7-45d7-89ba-8e5b796f242b%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/ef70addb-3fa8-4c2b-86b3-4b404ceec7b3%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/ef70addb-3fa8-4c2b-86b3-4b404ceec7b3%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:04am UTC](https://discuss.elastic.co/t/copy-indices-to-new-server/19573/8 "2017-07-06T01:04:40Z")

</div>


