Add lost metadata from backup to cards

It is my fault. I did not understand the table “Templates” at bottom of popup window “Change note Type” and chose all cards to “nothing”.

Look here

Anyway, now I need to find a way to transfer the history data from backup to the actual cards.