Discourse Meta
Error restoring backup "key is duplicated"
Product Support
Self-hosting
codinghorror
(Jeff Atwood)
August 30, 2017, 12:16am
5
That looks a lot like this one:
show post in topic
Related topics
Topic
Replies
Views
Activity
Cannot restore database: sql key is duplicated
Self-hosting
2
666
August 30, 2022
Backup restoration fails
Self-hosting
backups
16
589
June 16, 2026
Restore fails - could not create unique index
Self-hosting
21
4244
July 4, 2020
"EXCEPTION: psql failed: DETAIL: Key (post_id)=(36946) is duplicated."
Self-hosting
7
1370
June 20, 2022
Error on restore: could not create unique index
Self-hosting
1
1916
March 12, 2022