Putting them back might be difficult, as the IDs of your books might have changed. But extracting them from your old Sqlite file should be quite easy. You could adapt this script to get all your annotations:
https://www.mobileread.com/forums/sh...d.php?t=349637