Obtener este error durante la restauración: `could not create unique index`

Hola,

Estoy intentando poner mi instancia de staging al día con mi instancia de producción. Actualicé correctamente a la versión actual, pero estoy recibiendo el siguiente error al intentar restaurar mi copia de seguridad de producción en mi instancia de staging:

[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.

Encontré este tema que parece similar, pero no sé cómo implementar la solución.

¡Agradecería cualquier orientación!

1 me gusta

I had a similar issue. I describe how I fixed it in Can't restore due to corrupt indexes (with some clues on how to deal with corrupt indexes), but it’s largely hand-waiving.

4 Me gusta