I guess you will have to clean up the data manually until the restore works and all unique indexes can be created.
That aside, I wonder if we shipped a buggy version of PostgreSQL in one of the recent base images. There were quite a few reports about problems with corrupt indexes in the last month or two. Seems like a strange coincidence. ![]()