View Single Post
Old 05-23-2024, 11:39 AM   #1
lumping-sugar66
Zealot
lumping-sugar66 doesn't feed trollslumping-sugar66 doesn't feed trollslumping-sugar66 doesn't feed trollslumping-sugar66 doesn't feed trollslumping-sugar66 doesn't feed trollslumping-sugar66 doesn't feed trollslumping-sugar66 doesn't feed trollslumping-sugar66 doesn't feed trollslumping-sugar66 doesn't feed trollslumping-sugar66 doesn't feed trollslumping-sugar66 doesn't feed trolls
 
lumping-sugar66's Avatar
 
Posts: 100
Karma: 81981
Join Date: Oct 2023
Location: Ontario, Canada
Device: Kobo Aura Edition 2, Kobo Clara 2E
How do I restore the database to backup? - database disk image is malformed

Quote:
calibre, version 7.10.0
ERROR: Error: Error communicating with device

CorruptError: database disk image is malformed

Traceback (most recent call last):
File "calibre\gui2\device.py", line 111, in run
File "calibre\gui2\device.py", line 595, in _sync_booklists
File "calibre_plugins.kobotouch_extended.device.driver" , line 513, in sync_booklists
File "calibre\devices\kobo\driver.py", line 1016, in sync_booklists
File "calibre\devices\kobo\driver.py", line 2677, in update_device_database_collections
File "calibre\devices\kobo\driver.py", line 2973, in remove_book_from_device_bookshelves
File "C:\t\t\apsw-42s16m2x\src\cursor.c", line 240, in resetcursor
apsw.CorruptError: CorruptError: database disk image is malformed
Another day another corrupt database issue. Can someone let me know which database file is the one I need to replace? Because I have a backup, but the name is simply "backup.sqlite" and I'm not sure with sqlite file to replace and koboutilities doesn't seem to have any option to restore from backup.

Any help is appreciated.

Thank you
lumping-sugar66 is offline   Reply With Quote