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

**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:** 5

<div class="post-metadata">

**Author:** ![glynhudson](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/glynhudson/32/120597_2.png) [@glynhudson](https://meta.discourse.org/u/glynhudson)\
**Post date:** [31 באוקטובר,‏ 2021,‏ 11:33pm UTC](https://meta.discourse.org/t/error-importing-backup-could-not-create-unique-index/207766/5 "2021-10-31T23:33:57Z")

</div>

Just tried importing via the GUI, with exactly the same result:

 ![Screenshot 2021-10-31 23.26.14](https://global.discourse-cdn.com/meta/original/3X/6/f/6f39df205e418700e0d5fc9747451abcb78b244e.png)

> [@pfaffman](#):
>
> What version of Postgres are you running?

The old server doesn’t have a file called `PG_VERSION`, how can I tell what version its running? I’ve updated the docket install to the latest version today.

The new server (newly bootstrapped) is running postgres V13

```plaintext
cat shared/standalone/postgres_data/PG_VERSION
13

```

> [@pfaffman](#):
>
> 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.

Is there a recommended procedure on how to do this?

---

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