복원 중 이 오류가 발생합니다: `could not create unique index`

안녕하세요,

스테이징 인스턴스를 프로덕션 인스턴스와 동일한 최신 상태로 맞추려고 하고 있습니다. 현재 버전으로 업그레이드는 성공적으로 완료했지만, 프로덕션 백업을 스테이징 인스턴스에 복원하려고 할 때 다음과 같은 오류가 발생합니다:

[2020-01-14 23:27:08] ERROR:  could not create unique index "index_tags_on_lower_name"
[2020-01-14 23:27:08] DETAIL:  Key (lower(name::text))=(net) is duplicated.
[2020-01-14 23:27:08] EXCEPTION: psql failed: DETAIL:  Key (lower(name::text))=(net) is duplicated.

비슷해 보이는 이 토픽을 찾았지만, 해결 방법을 어떻게 적용해야 하는지 모르겠습니다.

도움을 주시면 감사하겠습니다!

저도 비슷한 문제를 겪었습니다. https://meta.discourse.org/t/cant-restore-due-to-corrupt-indexes-with-some-clues-on-how-to-deal-with-corrupt-indexes/137400/3에서 해결 방법을 설명했지만, 대부분 추측에 가까운 내용입니다.