# I mis-operation to update a piece of data, you can find the previous version of the data？

**URL:** <https://discuss.elastic.co/t/i-mis-operation-to-update-a-piece-of-data-you-can-find-the-previous-version-of-the-data/177391>\
**Category:** Elasticsearch\
**Created:** [April 18, 2019, 2:15am UTC](https://discuss.elastic.co/t/i-mis-operation-to-update-a-piece-of-data-you-can-find-the-previous-version-of-the-data/177391 "2019-04-18T02:15:00Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![somnro](https://avatars.discourse-cdn.com/v4/letter/s/dfb087/32.png) [@somnro](https://discuss.elastic.co/u/somnro)\
**Post date:** [April 18, 2019, 2:15am UTC](https://discuss.elastic.co/t/i-mis-operation-to-update-a-piece-of-data-you-can-find-the-previous-version-of-the-data/177391/1 "2019-04-18T02:15:00Z")

</div>

I mis-operate to update a piece of data, and then the data is not backed up, How can I find the data of the previous version?

---

<div class="post-metadata">

**Author:** ![staodd](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/staodd/32/24509_2.png) [@staodd](https://discuss.elastic.co/u/staodd)\
**Post date:** [April 18, 2019, 2:23am UTC](https://discuss.elastic.co/t/i-mis-operation-to-update-a-piece-of-data-you-can-find-the-previous-version-of-the-data/177391/2 "2019-04-18T02:23:19Z")

</div>

Pretty certain you can't. But you don't even say what data you are talking about. ALWAYS have a backup /recovery plan in place.

---

<div class="post-metadata">

**Author:** ![somnro](https://avatars.discourse-cdn.com/v4/letter/s/dfb087/32.png) [@somnro](https://discuss.elastic.co/u/somnro)\
**Post date:** [April 18, 2019, 2:27am UTC](https://discuss.elastic.co/t/i-mis-operation-to-update-a-piece-of-data-you-can-find-the-previous-version-of-the-data/177391/3 "2019-04-18T02:27:59Z")

</div>

My misoperation is like this, I should be querying with GET.  
POST report\_real/bbs/1186718565826561?routing=rg  
{}

---

<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:** [April 18, 2019, 2:28am UTC](https://discuss.elastic.co/t/i-mis-operation-to-update-a-piece-of-data-you-can-find-the-previous-version-of-the-data/177391/4 "2019-04-18T02:28:28Z")

</div>

Then no, it's been replaced with an empty document.

---

<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:** [May 16, 2019, 2:32am UTC](https://discuss.elastic.co/t/i-mis-operation-to-update-a-piece-of-data-you-can-find-the-previous-version-of-the-data/177391/5 "2019-05-16T02:32:31Z")

</div>

Closed on May 16, 2019, 2:32am UTC

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