Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 03-05-2017, 03:16 PM   #1
Dan__
Zealot
Dan__ began at the beginning.
 
Posts: 109
Karma: 10
Join Date: Feb 2011
Device: Nook - Simple Touch
Where are custom metadatas stored?

Hello,
I use calibre on my laptop and also read on an iPad. I have the calibre server running. I use Dropbox to keep the library in sync between the laptop and the server since I often add books from the laptop.

I have created a custom metadata {Status: Unread|Reading|Read} and have created a saved search [search:"#status:Reading" ]. This allows me to find the books I am currently reading from the ipad.

Lately, as I update the status of various books, the status changes are being propagated correctly through Dropbox to all of my machines EXCEPT the server. On the server, the books that still show as "reading" are books that have long since been marked as read. (I never use the GUI on the server to make any changes to the library to avoid creating sync inconsistencies with Dropbox.)

I'm trying to understand where the custom (per book) metadatas are stored in the hope that this will help me diagnose the problem with Dropbox on the calibre server machine.

Thank you
Dan__ is offline   Reply With Quote
Old 03-05-2017, 04:14 PM   #2
DaltonST
Deviser
DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.
 
DaltonST's Avatar
 
Posts: 2,265
Karma: 2090983
Join Date: Aug 2013
Location: Texas
Device: none
All metadata for a particular Calibre Library is stored in a single SQLite database with a file name of "metadata.db".

In case the metadata.db becomes corrupted, each Book's specific metadata is (or should be) backed up to a file named "metadata.opf" that resides in the Calibre directory structure for each respective book. You can restore the metadata.db using those individual metadata.opf files via Calibre's tools to do so.

In the same top level folder as metadata.db there is a file named "metadata_db_prefs_backup.json". This is used to restore Library-specific customization options lost because of a metadata.db corruption.

Backing up metadata.db and metadata_db_prefs_backup.json routinely is always an excellent idea.
DaltonST is offline   Reply With Quote
Advert
Old 03-05-2017, 05:19 PM   #3
Dan__
Zealot
Dan__ began at the beginning.
 
Posts: 109
Karma: 10
Join Date: Feb 2011
Device: Nook - Simple Touch
Thank you for the information. That's exactly what I was looking for.
Dan__ is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Bulk MDE (Custom) and Column Value (Custom) MerlinMama Calibre 15 02-23-2017 04:38 AM
Where are covers stored? NiceDave Kindle Developer's Corner 4 06-17-2015 12:03 AM
Where are Searches stored? macnab69 Library Management 6 10-07-2013 11:32 AM
sources of metadatas pilotari64 Library Management 2 08-20-2013 12:53 PM
Can custom book data be displayed in a custom column? kiwidude Development 9 03-02-2011 05:35 AM


All times are GMT -4. The time now is 05:47 AM.


MobileRead.com is a privately owned, operated and funded community.