View Single Post
Old 09-10-2018, 08:26 PM   #1
Derf
Zealot
Derf ought to be getting tired of karma fortunes by now.Derf ought to be getting tired of karma fortunes by now.Derf ought to be getting tired of karma fortunes by now.Derf ought to be getting tired of karma fortunes by now.Derf ought to be getting tired of karma fortunes by now.Derf ought to be getting tired of karma fortunes by now.Derf ought to be getting tired of karma fortunes by now.Derf ought to be getting tired of karma fortunes by now.Derf ought to be getting tired of karma fortunes by now.Derf ought to be getting tired of karma fortunes by now.Derf ought to be getting tired of karma fortunes by now.
 
Derf's Avatar
 
Posts: 103
Karma: 1173714
Join Date: Jul 2018
Location: Puerto Rico
Device: Kobo Clara HD, Kindle PW Signature 12th ed, B&N Nook GL4+
[KOBO] Calibre has issue automatically backing up to remote disk

Hi,
I have a 2017 iMac, and I have Calibre set up to backup to a remote disk on my LAN

afp://192.168.1.2/Media/Books/Calibre/

This is also where Calibre's database is and where it imports and stores my ePub files to without issue when I drag them into the Calibre window.

When I connect my Kobo Clara HD, and it attempts to automatically backup to this location, it fails with the error

Spoiler:

Failed: Backing up the Kobo device database

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

CantOpenError: unable to open database file

Traceback (most recent call last):
File "site-packages/calibre/gui2/device.py", line 87, in run
File "calibre_plugins.koboutilities.jobs", line 196, in do_device_database_backup
File "calibre_plugins.koboutilities.action", line 4722, in check_device_database
File "src/cursor.c", line 1019, in APSWCursor_execute.sqlite3_prepare
File "src/statementcache.c", line 386, in sqlite3_prepare
CantOpenError: CantOpenError: unable to open database file


A file is created with the resulting name
KoboReader-ClaraHD-N249840032138-20180909-193456_CORRUPT.sqlite
The filesize is 19.3 MB

But if I go to Kobo Utilities and choose to manually backup, it completes, and the file is called
KoboReader-ClaraHD-N249840032138-20180909-193456.sqlite
The filesize is 19.3 MB

I have changed the backup location to my local drive to save the backup file to my desktop, and it will auto backup when I connect the device. Can anyone point me in the direction of solving why auto-backup to a remote disk fails, but manually backing up to a remote disk work?
Derf is offline   Reply With Quote