# Regarding data copy

**URL:** https://discuss.elastic.co/t/regarding-data-copy/21794
**Category:** Elasticsearch
**Created:** [January 23, 2015, 10:02am UTC](https://discuss.elastic.co/t/regarding-data-copy/21794 "2015-01-23T10:02:34Z")
**Posts on this page:** 15
**Page:** 1

<div class="post-metadata">

### Author: ![Phani\_Nadiminti](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/phani_nadiminti/32/45381_2.png) [@Phani\_Nadiminti](https://discuss.elastic.co/u/Phani_Nadiminti)
#### Post date: [January 23, 2015, 10:02am UTC](https://discuss.elastic.co/t/regarding-data-copy/21794/1 "2015-01-23T10:02:34Z")

</div>

Hi All,

I have elastic search server of version 1.3.7 i have large indices on  
existing server.now i am establishing new servers with hardware  
up-gradation.I want to move or coy indices from old elasticsearch server  
to new server new server also i am installing es 1.3.7 server.my question  
is will the indices work directly on other cluster if we copy data  
directly or is there any other process or tools in elasticsearch

Thaks,  
phani

--  
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/68223dde-82ef-4480-9897-ae9abf93131c%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/68223dde-82ef-4480-9897-ae9abf93131c%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

### Author: ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)
#### Post date: [January 23, 2015, 10:24am UTC](https://discuss.elastic.co/t/regarding-data-copy/21794/2 "2015-01-23T10:24:01Z")

</div>

Yes you can the full data dir from one node to another.  
Note that you should stop both clusters for that.

If you want to do that live, there are other strategies.

David

> Le 23 janv. 2015 à 11:02, [phani.nadiminti@goktree.com](mailto:phani.nadiminti@goktree.com) a écrit :
> 
> Hi All,
> 
> I have Elasticsearch server of version 1.3.7 i have large indices on existing server.now i am establishing new servers with hardware up-gradation.I want to move or coy indices from old elasticsearch server to new server new server also i am installing es 1.3.7 server.my question is will the indices work directly on other cluster if we copy data directly or is there any other process or tools in elasticsearch
> 
> ## Thaks, phani
> 
> 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/68223dde-82ef-4480-9897-ae9abf93131c%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/68223dde-82ef-4480-9897-ae9abf93131c%40googlegroups.com).  
> 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/48B34D02-858A-4CAE-9AC3-24542EC32C54%40pilato.fr](https://groups.google.com/d/msgid/elasticsearch/48B34D02-858A-4CAE-9AC3-24542EC32C54%40pilato.fr).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

### Author: ![Phani\_Nadiminti](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/phani_nadiminti/32/45381_2.png) [@Phani\_Nadiminti](https://discuss.elastic.co/u/Phani_Nadiminti)
#### Post date: [January 23, 2015, 11:23am UTC](https://discuss.elastic.co/t/regarding-data-copy/21794/3 "2015-01-23T11:23:28Z")

</div>

Thank you David for quick reply is it enough to copy the indices folder or  
need to copy entire data folder?

phani

On Friday, January 23, 2015 at 3:32:34 PM UTC+5:30, [phani.n...@goktree.com](mailto:phani.n...@goktree.com)  
wrote:

> Hi All,
> 
> I have Elasticsearch server of version 1.3.7 i have large indices on  
> existing server.now i am establishing new servers with hardware  
> up-gradation.I want to move or coy indices from old elasticsearch server  
> to new server new server also i am installing es 1.3.7 server.my question  
> is will the indices work directly on other cluster if we copy data  
> directly or is there any other process or tools in elasticsearch
> 
> Thaks,  
> phani

--  
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/ce16d52a-740d-461b-8a40-d7e40c16f3eb%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/ce16d52a-740d-461b-8a40-d7e40c16f3eb%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

### Author: ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)
#### Post date: [January 23, 2015, 12:50pm UTC](https://discuss.elastic.co/t/regarding-data-copy/21794/4 "2015-01-23T12:50:27Z")

</div>

I would copy the full data dir. Why?  
Are you looking for something special? Wondering what is behind your question...

David

> Le 23 janv. 2015 à 12:23, [phani.nadiminti@goktree.com](mailto:phani.nadiminti@goktree.com) a écrit :
> 
> Thank you David for quick reply is it enough to copy the indices folder or need to copy entire data folder?
> 
> phani
> 
> > On Friday, January 23, 2015 at 3:32:34 PM UTC+5:30, [phani.n...@goktree.com](mailto:phani.n...@goktree.com) wrote:  
> > Hi All,
> > 
> > I have Elasticsearch server of version 1.3.7 i have large indices on existing server.now i am establishing new servers with hardware up-gradation.I want to move or coy indices from old elasticsearch server to new server new server also i am installing es 1.3.7 server.my question is will the indices work directly on other cluster if we copy data directly or is there any other process or tools in elasticsearch
> > 
> > Thaks,  
> > phani
> 
> --  
> 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/ce16d52a-740d-461b-8a40-d7e40c16f3eb%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/ce16d52a-740d-461b-8a40-d7e40c16f3eb%40googlegroups.com).  
> 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/C02EE18C-53C5-44B2-873E-6967FE16918C%40pilato.fr](https://groups.google.com/d/msgid/elasticsearch/C02EE18C-53C5-44B2-873E-6967FE16918C%40pilato.fr).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

### Author: ![Phani\_Nadiminti](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/phani_nadiminti/32/45381_2.png) [@Phani\_Nadiminti](https://discuss.elastic.co/u/Phani_Nadiminti)
#### Post date: [January 27, 2015, 5:11am UTC](https://discuss.elastic.co/t/regarding-data-copy/21794/5 "2015-01-27T05:11:23Z")

</div>

Hi David,

We need to copy Entire data folder or indices folder from existing  
cluster to other cluster when i did this the elastic search server not  
detecting the indices we copied , and it is showing indices are not  
recovered in to cluster state and when i access the index it is not showing  
any records count.i changed permission for the folder to elasticsearch but  
i am not getting output.please suggest me where am going wrong ?

```
For the above reason i asked you entire folder or only 

```

Thanks  
phani

--  
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/fdb602e2-7362-4021-955d-f541268d526f%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/fdb602e2-7362-4021-955d-f541268d526f%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

### Author: ![Phani\_Nadiminti](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/phani_nadiminti/32/45381_2.png) [@Phani\_Nadiminti](https://discuss.elastic.co/u/Phani_Nadiminti)
#### Post date: [January 27, 2015, 5:13am UTC](https://discuss.elastic.co/t/regarding-data-copy/21794/6 "2015-01-27T05:13:15Z")

</div>

Hi David,

We need to copy Entire data folder or indices folder from existing  
cluster to other cluster when i did this the Elasticsearch server not  
detecting the indices we copied , and it is showing indices are not  
recovered in to cluster state and when i access the index it is not showing  
any records count.i changed permission for the folder to elasticsearch but  
i am not getting output.please suggest me where am going wrong ?

```
For the above reason i asked you copy entire folder or only indices 

```

folder need to move to new cluster.

Thanks  
phani

On Friday, January 23, 2015 at 6:20:48 PM UTC+5:30, David Pilato wrote:

> I would copy the full data dir. Why?  
> Are you looking for something special? Wondering what is behind your  
> question...
> 
> David
> 
> Le 23 janv. 2015 à 12:23, [phani.n...@goktree.com](mailto:phani.n...@goktree.com) \<javascript:\> a écrit :
> 
> Thank you David for quick reply is it enough to copy the indices folder or  
> need to copy entire data folder?
> 
> phani
> 
> On Friday, January 23, 2015 at 3:32:34 PM UTC+5:30, [phani.n...@goktree.com](mailto:phani.n...@goktree.com)  
> wrote:
> 
> > Hi All,
> > 
> > I have Elasticsearch server of version 1.3.7 i have large indices on  
> > existing server.now i am establishing new servers with hardware  
> > up-gradation.I want to move or coy indices from old elasticsearch server  
> > to new server new server also i am installing es 1.3.7 server.my question  
> > is will the indices work directly on other cluster if we copy data  
> > directly or is there any other process or tools in elasticsearch
> > 
> > Thaks,  
> > phani
> 
> --  
> 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/ce16d52a-740d-461b-8a40-d7e40c16f3eb%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/ce16d52a-740d-461b-8a40-d7e40c16f3eb%40googlegroups.com)  
> [https://groups.google.com/d/msgid/elasticsearch/ce16d52a-740d-461b-8a40-d7e40c16f3eb%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/ce16d52a-740d-461b-8a40-d7e40c16f3eb%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/31c2ee69-ee65-4ba7-b93b-774a1cdb79f3%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/31c2ee69-ee65-4ba7-b93b-774a1cdb79f3%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

### Author: ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)
#### Post date: [January 27, 2015, 5:34am UTC](https://discuss.elastic.co/t/regarding-data-copy/21794/7 "2015-01-27T05:34:26Z")

</div>

Did you copy the full "data" dir?

--  
David 😉  
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

> Le 27 janv. 2015 à 06:13, [phani.nadiminti@goktree.com](mailto:phani.nadiminti@goktree.com) a écrit :
> 
> Hi David,
> 
> We need to copy Entire data folder or indices folder from existing cluster to other cluster when i did this the Elasticsearch server not detecting the indices we copied , and it is showing indices are not recovered in to cluster state and when i access the index it is not showing any records count.i changed permission for the folder to elasticsearch but i am not getting output.please suggest me where am going wrong ?
> 
> ```
> For the above reason i asked you copy entire folder or only indices folder need to move to new cluster.
> 
> ```
> 
> Thanks  
> phani
> 
> > On Friday, January 23, 2015 at 6:20:48 PM UTC+5:30, David Pilato wrote:  
> > I would copy the full data dir. Why?  
> > Are you looking for something special? Wondering what is behind your question...
> > 
> > David
> > 
> > > Le 23 janv. 2015 à 12:23, [phani.n...@goktree.com](mailto:phani.n...@goktree.com) a écrit :
> > > 
> > > Thank you David for quick reply is it enough to copy the indices folder or need to copy entire data folder?
> > > 
> > > phani
> > > 
> > > > On Friday, January 23, 2015 at 3:32:34 PM UTC+5:30, [phani.n...@goktree.com](mailto:phani.n...@goktree.com) wrote:  
> > > > Hi All,
> > > > 
> > > > I have Elasticsearch server of version 1.3.7 i have large indices on existing server.now i am establishing new servers with hardware up-gradation.I want to move or coy indices from old elasticsearch server to new server new server also i am installing es 1.3.7 server.my question is will the indices work directly on other cluster if we copy data directly or is there any other process or tools in elasticsearch
> > > > 
> > > > Thaks,  
> > > > phani
> > > 
> > > --  
> > > 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/msgid/elasticsearch/ce16d52a-740d-461b-8a40-d7e40c16f3eb%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/ce16d52a-740d-461b-8a40-d7e40c16f3eb%40googlegroups.com).  
> > > 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/31c2ee69-ee65-4ba7-b93b-774a1cdb79f3%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/31c2ee69-ee65-4ba7-b93b-774a1cdb79f3%40googlegroups.com).  
> 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/99A6B918-63E1-48F2-941D-A53A1981B350%40pilato.fr](https://groups.google.com/d/msgid/elasticsearch/99A6B918-63E1-48F2-941D-A53A1981B350%40pilato.fr).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

### Author: ![Phani\_Nadiminti](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/phani_nadiminti/32/45381_2.png) [@Phani\_Nadiminti](https://discuss.elastic.co/u/Phani_Nadiminti)
#### Post date: [January 27, 2015, 5:39am UTC](https://discuss.elastic.co/t/regarding-data-copy/21794/8 "2015-01-27T05:39:03Z")

</div>

```
No David , First i copied indices folder under nodes/0 (old cluster 

```

data dir) and copied to new cluster and changed permission to elastic  
search but when i tried to access the index it is showing index missing  
exception even though index resides in data folder.

Next i deleted the indices folder and copied the data folder to  
elasticsearch "/var/lib/elasticsearch" and changed permissions as  
elasticsearch to that folder still getting index missing exception.

phani

On Tuesday, January 27, 2015 at 11:04:36 AM UTC+5:30, David Pilato wrote:

> Did you copy the full "data" dir?
> 
> --  
> David 😉  
> Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> 
> Le 27 janv. 2015 à 06:13, [phani.n...@goktree.com](mailto:phani.n...@goktree.com) \<javascript:\> a écrit :
> 
> Hi David,
> 
> We need to copy Entire data folder or indices folder from existing  
> cluster to other cluster when i did this the Elasticsearch server not  
> detecting the indices we copied , and it is showing indices are not  
> recovered in to cluster state and when i access the index it is not showing  
> any records count.i changed permission for the folder to elasticsearch but  
> i am not getting output.please suggest me where am going wrong ?
> 
> ```
> For the above reason i asked you copy entire folder or only indices 
> 
> ```
> 
> folder need to move to new cluster.
> 
> Thanks  
> phani
> 
> On Friday, January 23, 2015 at 6:20:48 PM UTC+5:30, David Pilato wrote:
> 
> > I would copy the full data dir. Why?  
> > Are you looking for something special? Wondering what is behind your  
> > question...
> > 
> > David
> > 
> > Le 23 janv. 2015 à 12:23, [phani.n...@goktree.com](mailto:phani.n...@goktree.com) a écrit :
> > 
> > Thank you David for quick reply is it enough to copy the indices folder  
> > or need to copy entire data folder?
> > 
> > phani
> > 
> > On Friday, January 23, 2015 at 3:32:34 PM UTC+5:30, phani.n...@  
> > [goktree.com](http://goktree.com) wrote:
> > 
> > > Hi All,
> > > 
> > > I have Elasticsearch server of version 1.3.7 i have large indices on  
> > > existing server.now i am establishing new servers with hardware  
> > > up-gradation.I want to move or coy indices from old elasticsearch server  
> > > to new server new server also i am installing es 1.3.7 server.my question  
> > > is will the indices work directly on other cluster if we copy data  
> > > directly or is there any other process or tools in elasticsearch
> > > 
> > > Thaks,  
> > > phani
> > 
> > --  
> > 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/msgid/elasticsearch/ce16d52a-740d-461b-8a40-d7e40c16f3eb%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/ce16d52a-740d-461b-8a40-d7e40c16f3eb%40googlegroups.com)  
> > [https://groups.google.com/d/msgid/elasticsearch/ce16d52a-740d-461b-8a40-d7e40c16f3eb%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/ce16d52a-740d-461b-8a40-d7e40c16f3eb%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/31c2ee69-ee65-4ba7-b93b-774a1cdb79f3%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/31c2ee69-ee65-4ba7-b93b-774a1cdb79f3%40googlegroups.com)  
> > [https://groups.google.com/d/msgid/elasticsearch/31c2ee69-ee65-4ba7-b93b-774a1cdb79f3%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/31c2ee69-ee65-4ba7-b93b-774a1cdb79f3%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/ce2a2884-b5dd-40e8-96bd-565fcf25b34c%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/ce2a2884-b5dd-40e8-96bd-565fcf25b34c%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

### Author: ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)
#### Post date: [January 27, 2015, 6:32am UTC](https://discuss.elastic.co/t/regarding-data-copy/21794/9 "2015-01-27T06:32:51Z")

</div>

Did you change permission recursively ?

--  
David 😉  
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

> Le 27 janv. 2015 à 06:39, [phani.nadiminti@goktree.com](mailto:phani.nadiminti@goktree.com) a écrit :
> 
> ```
> No David , First i copied indices folder under nodes/0 (old cluster data dir) and copied to new cluster and changed permission to elastic search but when i tried to access the index it is showing index missing exception even though index resides in data folder.
> 
> ```
> 
> Next i deleted the indices folder and copied the data folder to elasticsearch "/var/lib/elasticsearch" and changed permissions as elasticsearch to that folder still getting index missing exception.
> 
> phani
> 
> > On Tuesday, January 27, 2015 at 11:04:36 AM UTC+5:30, David Pilato wrote:  
> > Did you copy the full "data" dir?
> > 
> > --  
> > David 😉  
> > Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> > 
> > > Le 27 janv. 2015 à 06:13, [phani.n...@goktree.com](mailto:phani.n...@goktree.com) a écrit :
> > > 
> > > Hi David,
> > > 
> > > We need to copy Entire data folder or indices folder from existing cluster to other cluster when i did this the Elasticsearch server not detecting the indices we copied , and it is showing indices are not recovered in to cluster state and when i access the index it is not showing any records count.i changed permission for the folder to elasticsearch but i am not getting output.please suggest me where am going wrong ?
> > > 
> > > ```
> > > For the above reason i asked you copy entire folder or only indices folder need to move to new cluster.
> > > 
> > > ```
> > > 
> > > Thanks  
> > > phani
> > > 
> > > > On Friday, January 23, 2015 at 6:20:48 PM UTC+5:30, David Pilato wrote:  
> > > > I would copy the full data dir. Why?  
> > > > Are you looking for something special? Wondering what is behind your question...
> > > > 
> > > > David
> > > > 
> > > > > Le 23 janv. 2015 à 12:23, [phani.n...@goktree.com](mailto:phani.n...@goktree.com) a écrit :
> > > > > 
> > > > > Thank you David for quick reply is it enough to copy the indices folder or need to copy entire data folder?
> > > > > 
> > > > > phani
> > > > > 
> > > > > > On Friday, January 23, 2015 at 3:32:34 PM UTC+5:30, [phani.n...@goktree.com](mailto:phani.n...@goktree.com) wrote:  
> > > > > > Hi All,
> > > > > > 
> > > > > > I have Elasticsearch server of version 1.3.7 i have large indices on existing server.now i am establishing new servers with hardware up-gradation.I want to move or coy indices from old elasticsearch server to new server new server also i am installing es 1.3.7 server.my question is will the indices work directly on other cluster if we copy data directly or is there any other process or tools in elasticsearch
> > > > > > 
> > > > > > Thaks,  
> > > > > > phani
> > > > > 
> > > > > --  
> > > > > 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/msgid/elasticsearch/ce16d52a-740d-461b-8a40-d7e40c16f3eb%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/ce16d52a-740d-461b-8a40-d7e40c16f3eb%40googlegroups.com).  
> > > > > 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/msgid/elasticsearch/31c2ee69-ee65-4ba7-b93b-774a1cdb79f3%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/31c2ee69-ee65-4ba7-b93b-774a1cdb79f3%40googlegroups.com).  
> > > 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/ce2a2884-b5dd-40e8-96bd-565fcf25b34c%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/ce2a2884-b5dd-40e8-96bd-565fcf25b34c%40googlegroups.com).  
> 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/8D447D0B-9AB2-4677-ABB3-A545CB900939%40pilato.fr](https://groups.google.com/d/msgid/elasticsearch/8D447D0B-9AB2-4677-ABB3-A545CB900939%40pilato.fr).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

### Author: ![Phani\_Nadiminti](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/phani_nadiminti/32/45381_2.png) [@Phani\_Nadiminti](https://discuss.elastic.co/u/Phani_Nadiminti)
#### Post date: [January 27, 2015, 6:46am UTC](https://discuss.elastic.co/t/regarding-data-copy/21794/10 "2015-01-27T06:46:06Z")

</div>

yes David i changed permissions recursively.

On Tuesday, January 27, 2015 at 12:03:14 PM UTC+5:30, David Pilato wrote:

> Did you change permission recursively ?
> 
> --  
> David 😉  
> Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> 
> Le 27 janv. 2015 à 06:39, [phani.n...@goktree.com](mailto:phani.n...@goktree.com) \<javascript:\> a écrit :
> 
> ```
> No David , First i copied indices folder under nodes/0 (old cluster 
> 
> ```
> 
> data dir) and copied to new cluster and changed permission to elastic  
> search but when i tried to access the index it is showing index missing  
> exception even though index resides in data folder.
> 
> Next i deleted the indices folder and copied the data folder to  
> elasticsearch "/var/lib/elasticsearch" and changed permissions as  
> elasticsearch to that folder still getting index missing exception.
> 
> phani
> 
> On Tuesday, January 27, 2015 at 11:04:36 AM UTC+5:30, David Pilato wrote:
> 
> > Did you copy the full "data" dir?
> > 
> > --  
> > David 😉  
> > Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> > 
> > Le 27 janv. 2015 à 06:13, [phani.n...@goktree.com](mailto:phani.n...@goktree.com) a écrit :
> > 
> > Hi David,
> > 
> > We need to copy Entire data folder or indices folder from existing  
> > cluster to other cluster when i did this the Elasticsearch server not  
> > detecting the indices we copied , and it is showing indices are not  
> > recovered in to cluster state and when i access the index it is not showing  
> > any records count.i changed permission for the folder to elasticsearch but  
> > i am not getting output.please suggest me where am going wrong ?
> > 
> > ```
> > For the above reason i asked you copy entire folder or only indices 
> > 
> > ```
> > 
> > folder need to move to new cluster.
> > 
> > Thanks  
> > phani
> > 
> > On Friday, January 23, 2015 at 6:20:48 PM UTC+5:30, David Pilato wrote:
> > 
> > > I would copy the full data dir. Why?  
> > > Are you looking for something special? Wondering what is behind your  
> > > question...
> > > 
> > > David
> > > 
> > > Le 23 janv. 2015 à 12:23, [phani.n...@goktree.com](mailto:phani.n...@goktree.com) a écrit :
> > > 
> > > Thank you David for quick reply is it enough to copy the indices folder  
> > > or need to copy entire data folder?
> > > 
> > > phani
> > > 
> > > On Friday, January 23, 2015 at 3:32:34 PM UTC+5:30, phani.n...@  
> > > [goktree.com](http://goktree.com) wrote:
> > > 
> > > > Hi All,
> > > > 
> > > > I have Elasticsearch server of version 1.3.7 i have large indices  
> > > > on existing server.now i am establishing new servers with hardware  
> > > > up-gradation.I want to move or coy indices from old elasticsearch server  
> > > > to new server new server also i am installing es 1.3.7 server.my question  
> > > > is will the indices work directly on other cluster if we copy data  
> > > > directly or is there any other process or tools in elasticsearch
> > > > 
> > > > Thaks,  
> > > > phani
> > > 
> > > --  
> > > 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/msgid/elasticsearch/ce16d52a-740d-461b-8a40-d7e40c16f3eb%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/ce16d52a-740d-461b-8a40-d7e40c16f3eb%40googlegroups.com)  
> > > [https://groups.google.com/d/msgid/elasticsearch/ce16d52a-740d-461b-8a40-d7e40c16f3eb%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/ce16d52a-740d-461b-8a40-d7e40c16f3eb%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/msgid/elasticsearch/31c2ee69-ee65-4ba7-b93b-774a1cdb79f3%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/31c2ee69-ee65-4ba7-b93b-774a1cdb79f3%40googlegroups.com)  
> > > [https://groups.google.com/d/msgid/elasticsearch/31c2ee69-ee65-4ba7-b93b-774a1cdb79f3%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/31c2ee69-ee65-4ba7-b93b-774a1cdb79f3%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/ce2a2884-b5dd-40e8-96bd-565fcf25b34c%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/ce2a2884-b5dd-40e8-96bd-565fcf25b34c%40googlegroups.com)  
> > [https://groups.google.com/d/msgid/elasticsearch/ce2a2884-b5dd-40e8-96bd-565fcf25b34c%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/ce2a2884-b5dd-40e8-96bd-565fcf25b34c%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/6bd81516-33c8-4b6a-b978-983ec108deb5%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/6bd81516-33c8-4b6a-b978-983ec108deb5%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

### Author: ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)
#### Post date: [January 27, 2015, 6:48am UTC](https://discuss.elastic.co/t/regarding-data-copy/21794/11 "2015-01-27T06:48:36Z")

</div>

Did you that while elasticsearch was running?

--  
David 😉  
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

> Le 27 janv. 2015 à 07:46, [phani.nadiminti@goktree.com](mailto:phani.nadiminti@goktree.com) a écrit :
> 
> yes David i changed permissions recursively.
> 
> > On Tuesday, January 27, 2015 at 12:03:14 PM UTC+5:30, David Pilato wrote:  
> > Did you change permission recursively ?
> > 
> > --  
> > David 😉  
> > Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> > 
> > > Le 27 janv. 2015 à 06:39, [phani.n...@goktree.com](mailto:phani.n...@goktree.com) a écrit :
> > > 
> > > ```
> > > No David , First i copied indices folder under nodes/0 (old cluster data dir) and copied to new cluster and changed permission to elastic search but when i tried to access the index it is showing index missing exception even though index resides in data folder.
> > > 
> > > ```
> > > 
> > > Next i deleted the indices folder and copied the data folder to elasticsearch "/var/lib/elasticsearch" and changed permissions as elasticsearch to that folder still getting index missing exception.
> > > 
> > > phani
> > > 
> > > > On Tuesday, January 27, 2015 at 11:04:36 AM UTC+5:30, David Pilato wrote:  
> > > > Did you copy the full "data" dir?
> > > > 
> > > > --  
> > > > David 😉  
> > > > Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> > > > 
> > > > > Le 27 janv. 2015 à 06:13, [phani.n...@goktree.com](mailto:phani.n...@goktree.com) a écrit :
> > > > > 
> > > > > Hi David,
> > > > > 
> > > > > We need to copy Entire data folder or indices folder from existing cluster to other cluster when i did this the Elasticsearch server not detecting the indices we copied , and it is showing indices are not recovered in to cluster state and when i access the index it is not showing any records count.i changed permission for the folder to elasticsearch but i am not getting output.please suggest me where am going wrong ?
> > > > > 
> > > > > ```
> > > > > For the above reason i asked you copy entire folder or only indices folder need to move to new cluster.
> > > > > 
> > > > > ```
> > > > > 
> > > > > Thanks  
> > > > > phani
> > > > > 
> > > > > > On Friday, January 23, 2015 at 6:20:48 PM UTC+5:30, David Pilato wrote:  
> > > > > > I would copy the full data dir. Why?  
> > > > > > Are you looking for something special? Wondering what is behind your question...
> > > > > > 
> > > > > > David
> > > > > > 
> > > > > > > Le 23 janv. 2015 à 12:23, [phani.n...@goktree.com](mailto:phani.n...@goktree.com) a écrit :
> > > > > > > 
> > > > > > > Thank you David for quick reply is it enough to copy the indices folder or need to copy entire data folder?
> > > > > > > 
> > > > > > > phani
> > > > > > > 
> > > > > > > > On Friday, January 23, 2015 at 3:32:34 PM UTC+5:30, [phani.n...@goktree.com](mailto:phani.n...@goktree.com) wrote:  
> > > > > > > > Hi All,
> > > > > > > > 
> > > > > > > > I have Elasticsearch server of version 1.3.7 i have large indices on existing server.now i am establishing new servers with hardware up-gradation.I want to move or coy indices from old elasticsearch server to new server new server also i am installing es 1.3.7 server.my question is will the indices work directly on other cluster if we copy data directly or is there any other process or tools in elasticsearch
> > > > > > > > 
> > > > > > > > Thaks,  
> > > > > > > > phani
> > > > > > > 
> > > > > > > --  
> > > > > > > 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/msgid/elasticsearch/ce16d52a-740d-461b-8a40-d7e40c16f3eb%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/ce16d52a-740d-461b-8a40-d7e40c16f3eb%40googlegroups.com).  
> > > > > > > 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/msgid/elasticsearch/31c2ee69-ee65-4ba7-b93b-774a1cdb79f3%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/31c2ee69-ee65-4ba7-b93b-774a1cdb79f3%40googlegroups.com).  
> > > > > 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/msgid/elasticsearch/ce2a2884-b5dd-40e8-96bd-565fcf25b34c%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/ce2a2884-b5dd-40e8-96bd-565fcf25b34c%40googlegroups.com).  
> > > 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/6bd81516-33c8-4b6a-b978-983ec108deb5%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/6bd81516-33c8-4b6a-b978-983ec108deb5%40googlegroups.com).  
> 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/ED7AB518-6D13-4C04-A9C2-EC5C57AF5EB7%40pilato.fr](https://groups.google.com/d/msgid/elasticsearch/ED7AB518-6D13-4C04-A9C2-EC5C57AF5EB7%40pilato.fr).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

### Author: ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)
#### Post date: [January 27, 2015, 6:49am UTC](https://discuss.elastic.co/t/regarding-data-copy/21794/12 "2015-01-27T06:49:36Z")

</div>

Are you sure you have same config file on new server?  
I mean cluster name?

--  
David 😉  
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

> Le 27 janv. 2015 à 07:46, [phani.nadiminti@goktree.com](mailto:phani.nadiminti@goktree.com) a écrit :
> 
> yes David i changed permissions recursively.
> 
> > On Tuesday, January 27, 2015 at 12:03:14 PM UTC+5:30, David Pilato wrote:  
> > Did you change permission recursively ?
> > 
> > --  
> > David 😉  
> > Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> > 
> > > Le 27 janv. 2015 à 06:39, [phani.n...@goktree.com](mailto:phani.n...@goktree.com) a écrit :
> > > 
> > > ```
> > > No David , First i copied indices folder under nodes/0 (old cluster data dir) and copied to new cluster and changed permission to elastic search but when i tried to access the index it is showing index missing exception even though index resides in data folder.
> > > 
> > > ```
> > > 
> > > Next i deleted the indices folder and copied the data folder to elasticsearch "/var/lib/elasticsearch" and changed permissions as elasticsearch to that folder still getting index missing exception.
> > > 
> > > phani
> > > 
> > > > On Tuesday, January 27, 2015 at 11:04:36 AM UTC+5:30, David Pilato wrote:  
> > > > Did you copy the full "data" dir?
> > > > 
> > > > --  
> > > > David 😉  
> > > > Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> > > > 
> > > > > Le 27 janv. 2015 à 06:13, [phani.n...@goktree.com](mailto:phani.n...@goktree.com) a écrit :
> > > > > 
> > > > > Hi David,
> > > > > 
> > > > > We need to copy Entire data folder or indices folder from existing cluster to other cluster when i did this the Elasticsearch server not detecting the indices we copied , and it is showing indices are not recovered in to cluster state and when i access the index it is not showing any records count.i changed permission for the folder to elasticsearch but i am not getting output.please suggest me where am going wrong ?
> > > > > 
> > > > > ```
> > > > > For the above reason i asked you copy entire folder or only indices folder need to move to new cluster.
> > > > > 
> > > > > ```
> > > > > 
> > > > > Thanks  
> > > > > phani
> > > > > 
> > > > > > On Friday, January 23, 2015 at 6:20:48 PM UTC+5:30, David Pilato wrote:  
> > > > > > I would copy the full data dir. Why?  
> > > > > > Are you looking for something special? Wondering what is behind your question...
> > > > > > 
> > > > > > David
> > > > > > 
> > > > > > > Le 23 janv. 2015 à 12:23, [phani.n...@goktree.com](mailto:phani.n...@goktree.com) a écrit :
> > > > > > > 
> > > > > > > Thank you David for quick reply is it enough to copy the indices folder or need to copy entire data folder?
> > > > > > > 
> > > > > > > phani
> > > > > > > 
> > > > > > > > On Friday, January 23, 2015 at 3:32:34 PM UTC+5:30, [phani.n...@goktree.com](mailto:phani.n...@goktree.com) wrote:  
> > > > > > > > Hi All,
> > > > > > > > 
> > > > > > > > I have Elasticsearch server of version 1.3.7 i have large indices on existing server.now i am establishing new servers with hardware up-gradation.I want to move or coy indices from old elasticsearch server to new server new server also i am installing es 1.3.7 server.my question is will the indices work directly on other cluster if we copy data directly or is there any other process or tools in elasticsearch
> > > > > > > > 
> > > > > > > > Thaks,  
> > > > > > > > phani
> > > > > > > 
> > > > > > > --  
> > > > > > > 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/msgid/elasticsearch/ce16d52a-740d-461b-8a40-d7e40c16f3eb%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/ce16d52a-740d-461b-8a40-d7e40c16f3eb%40googlegroups.com).  
> > > > > > > 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/msgid/elasticsearch/31c2ee69-ee65-4ba7-b93b-774a1cdb79f3%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/31c2ee69-ee65-4ba7-b93b-774a1cdb79f3%40googlegroups.com).  
> > > > > 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/msgid/elasticsearch/ce2a2884-b5dd-40e8-96bd-565fcf25b34c%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/ce2a2884-b5dd-40e8-96bd-565fcf25b34c%40googlegroups.com).  
> > > 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/6bd81516-33c8-4b6a-b978-983ec108deb5%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/6bd81516-33c8-4b6a-b978-983ec108deb5%40googlegroups.com).  
> 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/F3D3099E-CC00-446E-BE13-079E86614C2B%40pilato.fr](https://groups.google.com/d/msgid/elasticsearch/F3D3099E-CC00-446E-BE13-079E86614C2B%40pilato.fr).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

### Author: ![Phani\_Nadiminti](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/phani_nadiminti/32/45381_2.png) [@Phani\_Nadiminti](https://discuss.elastic.co/u/Phani_Nadiminti)
#### Post date: [January 27, 2015, 7:04am UTC](https://discuss.elastic.co/t/regarding-data-copy/21794/13 "2015-01-27T07:04:08Z")

</div>

No David Mycluster name on the new server was changed.is this be a problem?

On Tuesday, January 27, 2015 at 12:19:58 PM UTC+5:30, David Pilato wrote:

> Are you sure you have same config file on new server?  
> I mean cluster name?
> 
> --  
> David 😉  
> Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> 
> Le 27 janv. 2015 à 07:46, [phani.n...@goktree.com](mailto:phani.n...@goktree.com) \<javascript:\> a écrit :
> 
> yes David i changed permissions recursively.
> 
> On Tuesday, January 27, 2015 at 12:03:14 PM UTC+5:30, David Pilato wrote:
> 
> > Did you change permission recursively ?
> > 
> > --  
> > David 😉  
> > Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> > 
> > Le 27 janv. 2015 à 06:39, [phani.n...@goktree.com](mailto:phani.n...@goktree.com) a écrit :
> > 
> > ```
> > No David , First i copied indices folder under nodes/0 (old cluster 
> > 
> > ```
> > 
> > data dir) and copied to new cluster and changed permission to elastic  
> > search but when i tried to access the index it is showing index missing  
> > exception even though index resides in data folder.
> > 
> > Next i deleted the indices folder and copied the data folder to  
> > elasticsearch "/var/lib/elasticsearch" and changed permissions as  
> > elasticsearch to that folder still getting index missing exception.
> > 
> > phani
> > 
> > On Tuesday, January 27, 2015 at 11:04:36 AM UTC+5:30, David Pilato wrote:
> > 
> > > Did you copy the full "data" dir?
> > > 
> > > --  
> > > David 😉  
> > > Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> > > 
> > > Le 27 janv. 2015 à 06:13, [phani.n...@goktree.com](mailto:phani.n...@goktree.com) a écrit :
> > > 
> > > Hi David,
> > > 
> > > We need to copy Entire data folder or indices folder from existing  
> > > cluster to other cluster when i did this the Elasticsearch server not  
> > > detecting the indices we copied , and it is showing indices are not  
> > > recovered in to cluster state and when i access the index it is not showing  
> > > any records count.i changed permission for the folder to elasticsearch but  
> > > i am not getting output.please suggest me where am going wrong ?
> > > 
> > > ```
> > > For the above reason i asked you copy entire folder or only indices 
> > > 
> > > ```
> > > 
> > > folder need to move to new cluster.
> > > 
> > > Thanks  
> > > phani
> > > 
> > > On Friday, January 23, 2015 at 6:20:48 PM UTC+5:30, David Pilato wrote:
> > > 
> > > > I would copy the full data dir. Why?  
> > > > Are you looking for something special? Wondering what is behind your  
> > > > question...
> > > > 
> > > > David
> > > > 
> > > > Le 23 janv. 2015 à 12:23, [phani.n...@goktree.com](mailto:phani.n...@goktree.com) a écrit :
> > > > 
> > > > Thank you David for quick reply is it enough to copy the indices folder  
> > > > or need to copy entire data folder?
> > > > 
> > > > phani
> > > > 
> > > > On Friday, January 23, 2015 at 3:32:34 PM UTC+5:30, phani.n...@  
> > > > [goktree.com](http://goktree.com) wrote:
> > > > 
> > > > > Hi All,
> > > > > 
> > > > > I have Elasticsearch server of version 1.3.7 i have large indices  
> > > > > on existing server.now i am establishing new servers with hardware  
> > > > > up-gradation.I want to move or coy indices from old elasticsearch server  
> > > > > to new server new server also i am installing es 1.3.7 server.my question  
> > > > > is will the indices work directly on other cluster if we copy data  
> > > > > directly or is there any other process or tools in elasticsearch
> > > > > 
> > > > > Thaks,  
> > > > > phani
> > > > 
> > > > --  
> > > > 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/msgid/elasticsearch/ce16d52a-740d-461b-8a40-d7e40c16f3eb%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/ce16d52a-740d-461b-8a40-d7e40c16f3eb%40googlegroups.com)  
> > > > [https://groups.google.com/d/msgid/elasticsearch/ce16d52a-740d-461b-8a40-d7e40c16f3eb%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/ce16d52a-740d-461b-8a40-d7e40c16f3eb%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/msgid/elasticsearch/31c2ee69-ee65-4ba7-b93b-774a1cdb79f3%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/31c2ee69-ee65-4ba7-b93b-774a1cdb79f3%40googlegroups.com)  
> > > > [https://groups.google.com/d/msgid/elasticsearch/31c2ee69-ee65-4ba7-b93b-774a1cdb79f3%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/31c2ee69-ee65-4ba7-b93b-774a1cdb79f3%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/msgid/elasticsearch/ce2a2884-b5dd-40e8-96bd-565fcf25b34c%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/ce2a2884-b5dd-40e8-96bd-565fcf25b34c%40googlegroups.com)  
> > > [https://groups.google.com/d/msgid/elasticsearch/ce2a2884-b5dd-40e8-96bd-565fcf25b34c%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/ce2a2884-b5dd-40e8-96bd-565fcf25b34c%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/6bd81516-33c8-4b6a-b978-983ec108deb5%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/6bd81516-33c8-4b6a-b978-983ec108deb5%40googlegroups.com)  
> > [https://groups.google.com/d/msgid/elasticsearch/6bd81516-33c8-4b6a-b978-983ec108deb5%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/6bd81516-33c8-4b6a-b978-983ec108deb5%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/1ac23a25-4393-4378-979b-6fb21477c160%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/1ac23a25-4393-4378-979b-6fb21477c160%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

### Author: ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)
#### Post date: [January 27, 2015, 7:18am UTC](https://discuss.elastic.co/t/regarding-data-copy/21794/14 "2015-01-27T07:18:37Z")

</div>

Yes. Data dir naming is:

/data/clustername/nodes/…

So if you change the cluster name…

--  
David Pilato | Technical Advocate | [Elasticsearch.com](http://Elasticsearch.com)  
@dadoonet [https://twitter.com/dadoonet](https://twitter.com/dadoonet) | @elasticsearchfr [https://twitter.com/elasticsearchfr](https://twitter.com/elasticsearchfr) | @scrutmydocs [https://twitter.com/scrutmydocs](https://twitter.com/scrutmydocs)

> Le 27 janv. 2015 à 08:04, [phani.nadiminti@goktree.com](mailto:phani.nadiminti@goktree.com) a écrit :
> 
> No David Mycluster name on the new server was changed.is this be a problem?
> 
> On Tuesday, January 27, 2015 at 12:19:58 PM UTC+5:30, David Pilato wrote:  
> Are you sure you have same config file on new server?  
> I mean cluster name?
> 
> --  
> David 😉  
> Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> 
> Le 27 janv. 2015 à 07:46, [phani.n...@goktree.com](mailto:phani.n...@goktree.com) \<javascript:\> a écrit :
> 
> > yes David i changed permissions recursively.
> > 
> > On Tuesday, January 27, 2015 at 12:03:14 PM UTC+5:30, David Pilato wrote:  
> > Did you change permission recursively ?
> > 
> > --  
> > David 😉  
> > Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> > 
> > Le 27 janv. 2015 à 06:39, [phani.n...@goktree.com](mailto:phani.n...@goktree.com) \<\> a écrit :
> > 
> > > ```
> > > No David , First i copied indices folder under nodes/0 (old cluster data dir) and copied to new cluster and changed permission to elastic search but when i tried to access the index it is showing index missing exception even though index resides in data folder.
> > > 
> > > ```
> > > 
> > > Next i deleted the indices folder and copied the data folder to elasticsearch "/var/lib/elasticsearch" and changed permissions as elasticsearch to that folder still getting index missing exception.
> > > 
> > > phani
> > > 
> > > On Tuesday, January 27, 2015 at 11:04:36 AM UTC+5:30, David Pilato wrote:  
> > > Did you copy the full "data" dir?
> > > 
> > > --  
> > > David 😉  
> > > Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> > > 
> > > Le 27 janv. 2015 à 06:13, [phani.n...@goktree.com](mailto:phani.n...@goktree.com) \<\> a écrit :
> > > 
> > > > Hi David,
> > > > 
> > > > We need to copy Entire data folder or indices folder from existing cluster to other cluster when i did this the Elasticsearch server not detecting the indices we copied , and it is showing indices are not recovered in to cluster state and when i access the index it is not showing any records count.i changed permission for the folder to elasticsearch but i am not getting output.please suggest me where am going wrong ?
> > > > 
> > > > ```
> > > > For the above reason i asked you copy entire folder or only indices folder need to move to new cluster.
> > > > 
> > > > ```
> > > > 
> > > > Thanks  
> > > > phani
> > > > 
> > > > On Friday, January 23, 2015 at 6:20:48 PM UTC+5:30, David Pilato wrote:  
> > > > I would copy the full data dir. Why?  
> > > > Are you looking for something special? Wondering what is behind your question...
> > > > 
> > > > David
> > > > 
> > > > Le 23 janv. 2015 à 12:23, [phani.n...@goktree.com](mailto:phani.n...@goktree.com) \<\> a écrit :
> > > > 
> > > > > Thank you David for quick reply is it enough to copy the indices folder or need to copy entire data folder?
> > > > > 
> > > > > phani
> > > > > 
> > > > > On Friday, January 23, 2015 at 3:32:34 PM UTC+5:30, [phani.n...@goktree.com](mailto:phani.n...@goktree.com) [http://goktree.com/](http://goktree.com/) wrote:  
> > > > > Hi All,
> > > > > 
> > > > > I have Elasticsearch server of version 1.3.7 i have large indices on existing server.now i am establishing new servers with hardware up-gradation.I want to move or coy indices from old elasticsearch server to new server new server also i am installing es 1.3.7 server.my question is will the indices work directly on other cluster if we copy data directly or is there any other process or tools in elasticsearch
> > > > > 
> > > > > Thaks,  
> > > > > phani
> > > > > 
> > > > > --  
> > > > > 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/msgid/elasticsearch/ce16d52a-740d-461b-8a40-d7e40c16f3eb%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/ce16d52a-740d-461b-8a40-d7e40c16f3eb%40googlegroups.com) [https://groups.google.com/d/msgid/elasticsearch/ce16d52a-740d-461b-8a40-d7e40c16f3eb%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/ce16d52a-740d-461b-8a40-d7e40c16f3eb%40googlegroups.com?utm_medium=email&utm_source=footer).  
> > > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout) [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/msgid/elasticsearch/31c2ee69-ee65-4ba7-b93b-774a1cdb79f3%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/31c2ee69-ee65-4ba7-b93b-774a1cdb79f3%40googlegroups.com) [https://groups.google.com/d/msgid/elasticsearch/31c2ee69-ee65-4ba7-b93b-774a1cdb79f3%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/31c2ee69-ee65-4ba7-b93b-774a1cdb79f3%40googlegroups.com?utm_medium=email&utm_source=footer).  
> > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout) [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/msgid/elasticsearch/ce2a2884-b5dd-40e8-96bd-565fcf25b34c%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/ce2a2884-b5dd-40e8-96bd-565fcf25b34c%40googlegroups.com) [https://groups.google.com/d/msgid/elasticsearch/ce2a2884-b5dd-40e8-96bd-565fcf25b34c%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/ce2a2884-b5dd-40e8-96bd-565fcf25b34c%40googlegroups.com?utm_medium=email&utm_source=footer).  
> > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout) [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/6bd81516-33c8-4b6a-b978-983ec108deb5%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/6bd81516-33c8-4b6a-b978-983ec108deb5%40googlegroups.com) [https://groups.google.com/d/msgid/elasticsearch/6bd81516-33c8-4b6a-b978-983ec108deb5%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/6bd81516-33c8-4b6a-b978-983ec108deb5%40googlegroups.com?utm_medium=email&utm_source=footer).  
> > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout) [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) [mailto:elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/1ac23a25-4393-4378-979b-6fb21477c160%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/1ac23a25-4393-4378-979b-6fb21477c160%40googlegroups.com) [https://groups.google.com/d/msgid/elasticsearch/1ac23a25-4393-4378-979b-6fb21477c160%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/1ac23a25-4393-4378-979b-6fb21477c160%40googlegroups.com?utm_medium=email&utm_source=footer).  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout) [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/38A136E0-537D-4788-8B2F-B29613914EAA%40pilato.fr](https://groups.google.com/d/msgid/elasticsearch/38A136E0-537D-4788-8B2F-B29613914EAA%40pilato.fr).  
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, 12:36am UTC](https://discuss.elastic.co/t/regarding-data-copy/21794/15 "2017-07-06T00:36:31Z")

</div>


