View Single Post
Old 03-08-2022, 10:11 PM   #1
Liudprand
Zealot
Liudprand began at the beginning.
 
Posts: 133
Karma: 10
Join Date: Nov 2021
Device: Kobo Libra 2
[Kobo] Malformed database...

Hi.

I'm getting the following error when Calibre tries to back up the database on my Kobo Libra 2:

calibre, version 5.38.0 (win32, embedded-python: True)
Failed to backup device database: Failed: Backing up Kobo device database

CorruptError: database disk image is malformed

Traceback (most recent call last):
File "calibre\gui2\device.py", line 87, in run
File "calibre_plugins.koboutilities.jobs", line 197, in do_device_database_backup
File "calibre_plugins.koboutilities.action", line 6095, in check_device_database
apsw.CorruptError: CorruptError: database disk image is malformed

Presumably, since this backup process happens every time I connect the device, I can just restore the most recent (non-corrupt) backup... ? If so, could someone let me know how to do that? The only instructions I can find are to select "Export/import calibre data" from the "Calibre Library" toolbar button - but that button (as opposed to the "Library" button) doesn't appear on the toolbar, and I can't work out how to add it. But, in any case, I'm thinking maybe the organisation of the toolbar buttons has been tweaked since this instruction was composed(?).
Liudprand is offline   Reply With Quote