# Can't restore due to corrupt indexes (with some clues on how to deal with corrupt indexes)

**URL:** <https://meta.discourse.org/t/cant-restore-due-to-corrupt-indexes-with-some-clues-on-how-to-deal-with-corrupt-indexes/137400>\
**Category:** Self-hosting\
**Created:** [30 בדצמבר,‏ 2019,‏ 11:22pm UTC](https://meta.discourse.org/t/cant-restore-due-to-corrupt-indexes-with-some-clues-on-how-to-deal-with-corrupt-indexes/137400 "2019-12-30T23:22:13Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![gerhard](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gerhard/32/119479_2.png) [@gerhard](https://meta.discourse.org/u/gerhard)\
**Post date:** [3 בינואר,‏ 2020,‏ 5:39pm UTC](https://meta.discourse.org/t/cant-restore-due-to-corrupt-indexes-with-some-clues-on-how-to-deal-with-corrupt-indexes/137400/4 "2020-01-03T17:39:05Z")

</div>

I guess you will have to clean up the data manually until the restore works and all unique indexes can be created.

That aside, I wonder if we shipped a buggy version of PostgreSQL in one of the recent base images. There were quite a few reports about problems with corrupt indexes in the last month or two. Seems like a strange coincidence. 🤔

---

_[View the full topic](https://meta.discourse.org/t/cant-restore-due-to-corrupt-indexes-with-some-clues-on-how-to-deal-with-corrupt-indexes/137400)._
