Kobo Libra H2O, firmware 4.24.15676
I only side-load books, either using Calibre or manually in the file explorer (for testing purposes), and never activate the wifi.
I do not read CBR / CBZ format books.
I am using the Kobo Utilities Calibre plugin to backup my database every time I connect to Calibre. Recently I started getting an error which prevents the backup: "Failed to backup the database".
I am still able to load books to the device and Calibre can read all the books already on it, and the plugin appears to continue to update the reading positions, which is why I think it must be a relatively minor error. But series information does not seem to be written. And I would prefer to have an up-to-date backup.
The first time it happened I was in a hurry and everything but the backup seemed to work fine so I crossed my fingers it would resolve itself. It has not.

But in the meantime I have read quite a lot, made lots of annotations, and added several books which means at this point the last backup is quite out of date.
After checking the forum I have tried:
- Compact the database:
- check database:
I would really like to avoid losing my notes, reading position, and datestamps of loaded / read because that is my preferred sort order, so I have not logged out.
Questions:
1. Can I fix the error(s) in the database somehow? (How?)
1a. What could have caused this error (how to avoid it in future)? I always safely eject the device before unplugging the usb.
2. If I cannot fix the database, I think I have to logout/login to recreate a new database (thus losing all my activity data):
can I reimport the annotations, datestamps, reading positions / status (new, currently reading...) of the books on the device? I have added columns in Calibre for all the options available in the plugin and exported all of this information so at least in theory it is available. If yes, how?
Thanks in advance for any help you can give me. I haven't had this Kobo for very long and am unfamiliar with the various tricks and secrets of using it.