# Importing old database to latest version

**URL:** <https://meta.discourse.org/t/importing-old-database-to-latest-version/227493>\
**Category:** Self-hosting\
**Created:** [May 19, 2022, 1:04pm UTC](https://meta.discourse.org/t/importing-old-database-to-latest-version/227493 "2022-05-19T13:04:57Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [May 20, 2022, 1:08pm UTC](https://meta.discourse.org/t/importing-old-database-to-latest-version/227493/11 "2022-05-20T13:08:45Z")

</div>

So it sounds like you have a corrupt index? (I didn’t notice but that’s what the last reply suggests).

If that’s the car then you can look around for some examples. Mostly, you try to reindex and see which indexes won’t rebuild, then delete (or fix if you’re clever) the errant records.

---

_[View the full topic](https://meta.discourse.org/t/importing-old-database-to-latest-version/227493)._
