# שגיאת ייבוא גיבוי: "לא ניתן ליצור אינדקס ייחודי"

**URL:** <https://meta.discourse.org/t/error-importing-backup-could-not-create-unique-index/207766>\
**Category:** Self-hosting\
**Created:** [31 באוקטובר,‏ 2021,‏ 8:48pm UTC](https://meta.discourse.org/t/error-importing-backup-could-not-create-unique-index/207766 "2021-10-31T20:48:45Z")\
**Posts on this page:** 1\
**Showing post:** 4

<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:** [31 באוקטובר,‏ 2021,‏ 11:24pm UTC](https://meta.discourse.org/t/error-importing-backup-could-not-create-unique-index/207766/4 "2021-10-31T23:24:56Z")

</div>

I suspect this means that you have a corrupt index. What version of Postgres are you running?

something like:

```plaintext
cd /var/discourse
cat shared/standalone/postgres_data/PG*

```

(I can’t quite remember the postgres filename).

You can search here for “postgres corrupt index” and find a topic that I once wrote about how to track down those bad records and delete them.

You basically try to rebuild that index and delete the records that it complains about then try to rebuild the index again until it rebuilds.

---

_[View the full topic](https://meta.discourse.org/t/error-importing-backup-could-not-create-unique-index/207766)._
