# How to upgrade ES in Windows?

**URL:** <https://discuss.elastic.co/t/how-to-upgrade-es-in-windows/155271>\
**Category:** Elasticsearch\
**Created:** [November 3, 2018, 6:23pm UTC](https://discuss.elastic.co/t/how-to-upgrade-es-in-windows/155271 "2018-11-03T18:23:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gosforth](https://avatars.discourse-cdn.com/v4/letter/g/f08c70/32.png) [@Gosforth](https://discuss.elastic.co/u/Gosforth)\
**Post date:** [November 3, 2018, 6:23pm UTC](https://discuss.elastic.co/t/how-to-upgrade-es-in-windows/155271/1 "2018-11-03T18:23:11Z")

</div>

There is a manual [https://www.elastic.co/guide/en/elasticsearch/reference/current/setup-upgrade.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/setup-upgrade.html)  
with some Disable shard allocation, Stop non-essential indexing, Shut down a single node... blah, blah, blah.

But where is the software info? How to rewrite existing copy with the new version? This manual says noting about software installation ☹

PS  
I just copied 'data' directory to new installation. Looks like this is the way.

---

<div class="post-metadata">

**Author:** ![forloop](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/forloop/32/9021_2.png) [@forloop](https://discuss.elastic.co/u/forloop)\
**Post date:** [November 3, 2018, 11:04pm UTC](https://discuss.elastic.co/t/how-to-upgrade-es-in-windows/155271/2 "2018-11-03T23:04:16Z")

</div>

The upgrade guide that you point to provides details on how to upgrade depending on whether you

1. [can do a rolling upgrade](https://www.elastic.co/guide/en/elasticsearch/reference/current/rolling-upgrades.html)
2. need to perform [a full cluster restart upgrade](https://www.elastic.co/guide/en/elasticsearch/reference/current/restart-upgrade.html)
3. whether you [need to reindex before upgrading](https://www.elastic.co/guide/en/elasticsearch/reference/current/setup-upgrade.html).

Usually, the binaries of the new version are placed in a different directory to the existing version binaries, rather than overwrite them, with the new `elasticsearch.yml` pointed at the existing logs, data and config directories. How you get download those binaries, will depend on which distribution you're using such as RPM, Debian, zip, tar, MSI, etc. Both upgrade scenarios have a section on what to do, depending on the distribution you're using.

---

<div class="post-metadata">

**Author:** ![Gosforth](https://avatars.discourse-cdn.com/v4/letter/g/f08c70/32.png) [@Gosforth](https://discuss.elastic.co/u/Gosforth)\
**Post date:** [November 4, 2018, 1:20pm UTC](https://discuss.elastic.co/t/how-to-upgrade-es-in-windows/155271/3 "2018-11-04T13:20:34Z")

</div>

Thanks. This is most essential information during the upgrade yet it's scarecely mentioned somewhere in the text. Additional problem with that is that by default elasticsearch.yml has all commands inside disabled (even i running configuration).

---

<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:** [December 2, 2018, 1:34pm UTC](https://discuss.elastic.co/t/how-to-upgrade-es-in-windows/155271/4 "2018-12-02T13:34:20Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
