# Upgrading locally?

**URL:** <https://discuss.elastic.co/t/upgrading-locally/56192>\
**Category:** Elasticsearch\
**Created:** [July 22, 2016, 2:59pm UTC](https://discuss.elastic.co/t/upgrading-locally/56192 "2016-07-22T14:59:11Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Steve\_Suh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/steve_suh/32/10638_2.png) [@Steve\_Suh](https://discuss.elastic.co/u/Steve_Suh)\
**Post date:** [July 22, 2016, 2:59pm UTC](https://discuss.elastic.co/t/upgrading-locally/56192/1 "2016-07-22T14:59:11Z")

</div>

I'm on Elasticsearch 2.3.1 locally but on the 2.3.4 on ElasticCloud. I want to keep all my indices and other data. What's involved in upgrading locally to 2.3.4?

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [July 22, 2016, 3:37pm UTC](https://discuss.elastic.co/t/upgrading-locally/56192/2 "2016-07-22T15:37:22Z")

</div>

How have you installed ES? RPM/Debian package? Tarball unpacked somewhere?

---

<div class="post-metadata">

**Author:** ![Steve\_Suh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/steve_suh/32/10638_2.png) [@Steve\_Suh](https://discuss.elastic.co/u/Steve_Suh)\
**Post date:** [July 22, 2016, 4:47pm UTC](https://discuss.elastic.co/t/upgrading-locally/56192/3 "2016-07-22T16:47:47Z")

</div>

I'm on Mac OS X. I downloaded from your site the zip file.

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [July 22, 2016, 5:31pm UTC](https://discuss.elastic.co/t/upgrading-locally/56192/4 "2016-07-22T17:31:34Z")

</div>

Just remove the old program files and unpack the zip archive for 2.3.4. There's no special upgrade procedure (for such a minor upgrade anyway—but do read the release notes for 2.3.3 and 2.3.4 anyway). Make sure you don't touch the data directory.

---

<div class="post-metadata">

**Author:** ![Steve\_Suh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/steve_suh/32/10638_2.png) [@Steve\_Suh](https://discuss.elastic.co/u/Steve_Suh)\
**Post date:** [July 22, 2016, 5:33pm UTC](https://discuss.elastic.co/t/upgrading-locally/56192/5 "2016-07-22T17:33:12Z")

</div>

Thanks. I'll give it a try. I guess in the future I should name the directory "elasticsearch" instead of the default "elasticsearch-2.3.1" directory that it unzipped to.

---

<div class="post-metadata">

**Author:** ![Steve\_Suh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/steve_suh/32/10638_2.png) [@Steve\_Suh](https://discuss.elastic.co/u/Steve_Suh)\
**Post date:** [July 22, 2016, 5:33pm UTC](https://discuss.elastic.co/t/upgrading-locally/56192/6 "2016-07-22T17:33:59Z")

</div>

Actually could I leave the old version there and just copy over the data directory to the new installation?

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [July 22, 2016, 5:43pm UTC](https://discuss.elastic.co/t/upgrading-locally/56192/7 "2016-07-22T17:43:17Z")

</div>

> Actually could I leave the old version there and just copy over the data directory to the new installation?

Sure. And while you're at it, change the configuration so that the data directory is somewhere else, outside the unpacked distribution archive.

---

<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 5, 2017, 10:33pm UTC](https://discuss.elastic.co/t/upgrading-locally/56192/8 "2017-07-05T22:33:22Z")

</div>


