View Single Post
Old 07-31-2018, 09:19 AM   #1
AntonGolubev
Junior Member
AntonGolubev began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Jul 2018
Device: Kindle, PocketBook
Force calibre portable to sync database without closing the program?

Dear calibre users,

I keep my library in the cloud store (OneDrive) and use calibre-portable to access my library from any PC. However, calibre syncs its database (flushes changes) to disk only, when it is get closed (at least that what I observe). So, I routinely loose my changes in the database, if I keep the program open on one PC (e.g. over night) and add something or edit on another PC, and then close calibre on the first one.

Sequence:
1. Open calibre on PC1. Add a book. Keep the program running.
2. Open same calibre library on another PC and add some books. 2 PC does not see the changes of the PC1. Close calibre.
3. Get back to PC1 and re-open calibre: changes from PC1 are gone.

It is not the sync issue of the cloud file storage (e.g. OneDrive). Calibre either do not flush writes or not closes the file after modifying the database.

Does anybody know how to work around this? I still want to be able to keep a single calibre library, which I would like to manage from all my devices.

Is is possible to force calibre to save its catalog (metadata), without closing the program?

I am using the latest version of calibre portable on latest Windows 10.

Kind regards,
Anton Golubev
AntonGolubev is offline   Reply With Quote