# Just Pushed: Explicit data location (breaking)

**URL:** <https://discuss.elastic.co/t/just-pushed-explicit-data-location-breaking/3508>\
**Category:** Elasticsearch\
**Created:** [November 3, 2010, 12:41pm UTC](https://discuss.elastic.co/t/just-pushed-explicit-data-location-breaking/3508 "2010-11-03T12:41:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)\
**Post date:** [November 3, 2010, 12:41pm UTC](https://discuss.elastic.co/t/just-pushed-explicit-data-location-breaking/3508/1 "2010-11-03T12:41:06Z")

</div>

Hi,

Based on the previous email, I pushed this:  
[https://github.com/elasticsearch/elasticsearch/issues/issue/473](https://github.com/elasticsearch/elasticsearch/issues/issue/473). Here is the  
content:

Initially, the idea was that work consisted of transient data, but, with the  
local gateway and the fact that indices gets reused with shared gateway, the  
data location (where indices are stored) is quite important.

Now, the following are the paths:

path.data: path to where data will be placed. Defaults to ES\_HOME\data.  
path.logs: path to logs location. Defaults to ES\_HOME\logs. path.work: path  
to temporary data created. Defaults to ES\_HOME\work.

In order to upgrade to new version, the simplest thing to do is rename work  
to data. Ifpath.work is set to point to the data location storage, change  
it to path.data.

---

<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, 4:17am UTC](https://discuss.elastic.co/t/just-pushed-explicit-data-location-breaking/3508/2 "2017-07-06T04:17:15Z")

</div>


