# What happens to the data whenever roll back of ElasticSearch is done

**URL:** <https://discuss.elastic.co/t/what-happens-to-the-data-whenever-roll-back-of-elasticsearch-is-done/191775>\
**Category:** Elasticsearch\
**Created:** [July 23, 2019, 9:21am UTC](https://discuss.elastic.co/t/what-happens-to-the-data-whenever-roll-back-of-elasticsearch-is-done/191775 "2019-07-23T09:21:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Varun\_S](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/varun_s/32/48294_2.png) [@Varun\_S](https://discuss.elastic.co/u/Varun_S)\
**Post date:** [July 23, 2019, 9:21am UTC](https://discuss.elastic.co/t/what-happens-to-the-data-whenever-roll-back-of-elasticsearch-is-done/191775/1 "2019-07-23T09:21:34Z")

</div>

Hi,

If i install EasticSearch 6.4.1 and push some data to ElasticSearch . Now there are 3 indices . Then i will upgrade ElasticSearch to 6.6.1 and push some data, Now there are 5 indices.  
My Question is if i rollback from ElasticSearch 6.6.1 to ElasticSearch 6.4.1 , Whether i will be getting 3 indices or 5 indices. My understanding is i will be getting all the 5 indices, 3 indices created by EasticSearch 6.4.1 and 2 indices created by EasticSearch 6.6.1.

Can you please explain me what happens to the data whenever roll back of ElasticSearch is done. Whether ElasticSearch Retains all the data or it retains data created under specific versions.

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [July 23, 2019, 9:54am UTC](https://discuss.elastic.co/t/what-happens-to-the-data-whenever-roll-back-of-elasticsearch-is-done/191775/2 "2019-07-23T09:54:26Z")

</div>

Elasticsearch does not support rollback. If you need to go back you have to restore from snapshot.

---

<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:** [August 20, 2019, 9:54am UTC](https://discuss.elastic.co/t/what-happens-to-the-data-whenever-roll-back-of-elasticsearch-is-done/191775/3 "2019-08-20T09:54:37Z")

</div>

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