Avevi ragione, ecco l’errore precedente:
ERROR: could not create unique index "index_tags_on_lower_name"
DETAIL: Key (lower(name::text))=(زبا�) is duplicated.
EXCEPTION: psql failed: DETAIL: Key (lower(name::text))=(زبا�) is duplicated.
Penso che sia già stato segnalato qui: Can't restore due to corrupt indexes (with some clues on how to deal with corrupt indexes) e qui There are some duplicated tags due to database corruption and I can't merge .