Unknown Primary Key

Did you restore the backup?

Have you tried a rebuild?