# Tutorial, how to, guide, standard procedure to upgrade ES from 0.9 to 1.0?

**URL:** https://discuss.elastic.co/t/tutorial-how-to-guide-standard-procedure-to-upgrade-es-from-0-9-to-1-0/16584
**Category:** Elasticsearch
**Created:** [March 25, 2014, 1:38pm UTC](https://discuss.elastic.co/t/tutorial-how-to-guide-standard-procedure-to-upgrade-es-from-0-9-to-1-0/16584 "2014-03-25T13:38:37Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Mariano\_Gonzalez](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mariano_gonzalez/32/1698_2.png) [@Mariano\_Gonzalez](https://discuss.elastic.co/u/Mariano_Gonzalez)
#### Post date: [March 25, 2014, 1:38pm UTC](https://discuss.elastic.co/t/tutorial-how-to-guide-standard-procedure-to-upgrade-es-from-0-9-to-1-0/16584/1 "2014-03-25T13:38:37Z")

</div>

Hi guys.  
I need to upgrade my existing and working 0.9 elasticsearch installation to  
v1.0. Now, I've been searching for a tutorial or guide, but just found some  
tips and items to take note of. Backup all the existing data and downtime.

- [https://groups.google.com/forum/#!topic/logstash-users/UABRHL94k4k](https://groups.google.com/forum/#!topic/logstash-users/UABRHL94k4k)
- [http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/breaking-changes.html](http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/breaking-changes.html)
- [http://stackoverflow.com/questions/9497223/how-to-upgrade-a-running-elasticsearch-older-instance-to-a-newer-version](http://stackoverflow.com/questions/9497223/how-to-upgrade-a-running-elasticsearch-older-instance-to-a-newer-version)  
..  
.

So, is there a guide to follow? is it enough to backup /data dir and  
upgrade /bin and /lib dirs?

Hope someone has upgraded and can help me out here.  
Thanks!!

--  
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/fe0eaea1-9790-427f-bdb2-5297b52b4212%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/fe0eaea1-9790-427f-bdb2-5297b52b4212%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: [March 25, 2014, 9:22pm UTC](https://discuss.elastic.co/t/tutorial-how-to-guide-standard-procedure-to-upgrade-es-from-0-9-to-1-0/16584/2 "2014-03-25T21:22:09Z")

</div>

It'll depend a lot on the version you are running in 0.90.N. due to  
underlying lucene changes

We rebuilt our cluster and reindexed, as we took the chance to make a few  
changes to data and cluster structures and we had the capacity.

Regards,  
Mark Walkom

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

On 26 March 2014 00:38, Mariano González \<[gonzalez.mariano.gabriel@gmail.com](mailto:gonzalez.mariano.gabriel@gmail.com)

> wrote:

> Hi guys.  
> I need to upgrade my existing and working 0.9 elasticsearch installation  
> to v1.0. Now, I've been searching for a tutorial or guide, but just found  
> some tips and items to take note of. Backup all the existing data and  
> downtime.
> 
> - [Redirecting to Google Groups](https://groups.google.com/forum/#!topic/logstash-users/UABRHL94k4k)
> - 
> 
> ## [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/breaking-changes.html)
> 
> [How to upgrade a running Elasticsearch older instance to a newer version? - Stack Overflow](http://stackoverflow.com/questions/9497223/how-to-upgrade-a-running-elasticsearch-older-instance-to-a-newer-version)  
> ..  
> .
> 
> So, is there a guide to follow? is it enough to backup /data dir and  
> upgrade /bin and /lib dirs?
> 
> Hope someone has upgraded and can help me out here.  
> Thanks!!
> 
> --  
> 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/fe0eaea1-9790-427f-bdb2-5297b52b4212%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/fe0eaea1-9790-427f-bdb2-5297b52b4212%40googlegroups.com)[https://groups.google.com/d/msgid/elasticsearch/fe0eaea1-9790-427f-bdb2-5297b52b4212%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/fe0eaea1-9790-427f-bdb2-5297b52b4212%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/CAEM624Yni1m4OZ-%3DkZgP%2BqsW22\_PWmcoQGuUc\_L2eJkP0wZFpw%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAEM624Yni1m4OZ-%3DkZgP%2BqsW22_PWmcoQGuUc_L2eJkP0wZFpw%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

### Author: ![Binh\_Ly\_2](https://avatars.discourse-cdn.com/v4/letter/b/d07c76/32.png) [@Binh\_Ly\_2](https://discuss.elastic.co/u/Binh_Ly_2)
#### Post date: [March 26, 2014, 2:09pm UTC](https://discuss.elastic.co/t/tutorial-how-to-guide-standard-procedure-to-upgrade-es-from-0-9-to-1-0/16584/3 "2014-03-26T14:09:00Z")

</div>

You'll need to do a full cluster restart from .90.x to 1.x (i.e. need to  
bring down all nodes). There is some information here to help reduce  
recovery/startup churn:

[http://www.elasticsearch.org/webinars/elasticsearch-pre-flight-checklist/](http://www.elasticsearch.org/webinars/elasticsearch-pre-flight-checklist/)

But in general:

1. Stop all queries/indexing jobs

2. Flush your indexes: curl -XPOST "localhost:9200/\_flush"

3. Shutdown your cluster: curl -XPOST "localhost:9200/\_shutdown"

4. Backup all your data/ and config/ folders (from all nodes if you have  
multiple data folders/nodes) - This is important in case the upgrade fails!

5. Per node, uninstall your current ES. Be careful not to delete the data  
folders and your config/ files

6. Per node, install new ES and pull in your config/\* files from previous  
install

7. Verify all config files in all nodes and all data folders

8. Start all nodes one by one

--  
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/efeccb5f-9463-4a49-a3ea-f8ea40ec9d83%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/efeccb5f-9463-4a49-a3ea-f8ea40ec9d83%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:40am UTC](https://discuss.elastic.co/t/tutorial-how-to-guide-standard-procedure-to-upgrade-es-from-0-9-to-1-0/16584/4 "2017-07-06T01:40:34Z")

</div>


