View Single Post
Old 03-09-2022, 04:49 AM   #5
Liudprand
Zealot
Liudprand began at the beginning.
 
Posts: 133
Karma: 10
Join Date: Nov 2021
Device: Kobo Libra 2
Quote:
Originally Posted by davidfor View Post
Yes, just copy the "KoboReader.sqlite" file to the ".kobo" directory on the device. It will replace the existing one. Once you disconnect, I recommend shutting down to make sure the database is reread properly.

And it was a deliberate choice not make it a manual job. Apart from not wanting to write the code for something that would hopefully never be used, I also wanted it to be a deliberate action by the user.

Signing out of the device is the official way to fix problems like this. It would recreate the database and then import your sideloaded books and download the purchased books. But, you lose the reading status and annotations for sideloaded books, and reading stats overall. If you have a recent good database backup, restoring it usually works.
When I search my system, the most recently modified version of "KoboReader.sqlite" is from 10 November last year.

This is confusing, because, as I say, the database backs up (or, at least, that task appears to be performed) every time I connect the device. Is it possible that the latest backup is stored in a different file somewhere?
Liudprand is offline   Reply With Quote