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.
Last edited by davidfor; 03-09-2022 at 02:02 AM.
|