|
|
#1 |
|
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 271
Karma: 20028
Join Date: Jan 2011
Location: Canada
Device: Fire HD8, Asus, Sony (T1, PRS-300), Kobo (Glo, Touch, Wireless)
|
Edited metadata.db. What are the implications?
Edited the "books" table in metadata.db as a bandaid fix to the broken Calibre Sync app due to v9 changes. (I added back the "isbn" and lccn" columns)
Everything is working fine now, but what are the implications as far as Calibre is concerned? Will this database get rebuilt at some point by something I do? Am I safe to leave these 2 fields back in? |
|
|
|
|
|
#2 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,989
Karma: 29579516
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
DO NOT mess with metadata.db you risk total data loss if you do. calibre sync has already released a beta simply use that or wait a few more days.
|
|
|
|
| Advert | |
|
|
|
|
#3 |
|
(who/what)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 533
Karma: 5065098
Join Date: Feb 2003
Device: Kindle: Voyage,PW1,KOA, Kobo: Clara Colour, Nook GLP, Pocketbook verse
|
Kovid is of course correct that you should not mess with metadata.db.
But his comment that messing up the database can cause complete data loss is saddening. One of the most wonderful features of the early versions of Calibre was that everything could be reconstructed from the book folders themselves. I'm not sure when Calibre lost that level of safety. |
|
|
|
|
|
#4 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,989
Karma: 29579516
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
That works when metadata.db is corrupted and cant be opened, and continues to work to this day.
Once you start modifying metadata.db outside of calibre you can do pretty much anything including changing data and those changes will propagate to the distributed backups, leading to the above mentioned total data loss. Simply *never* modify metadata.db outside of calibre. metadata.db is *internal to calibre*. And calibre has *never* been robust against users messing with metadata.db directly and never will be. |
|
|
|
|
|
#5 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,820
Karma: 80512154
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
|
|
|
|
| Advert | |
|
|
|
|
#6 |
|
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 271
Karma: 20028
Join Date: Jan 2011
Location: Canada
Device: Fire HD8, Asus, Sony (T1, PRS-300), Kobo (Glo, Touch, Wireless)
|
|
|
|
|
|
|
#7 |
|
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Feb 2026
Device: Phone/Tablet
|
I emailed the Calibre Sync developer yesterday. No response yet. The last update was pushed in April 2025. I rely on Calibre Sync and there is no alternative to it.
|
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to update book file with edited metadata? | whiteowl | Calibre | 16 | 05-24-2025 10:34 PM |
| Metadata for edited volume | mr3000jr | Library Management | 3 | 12-23-2020 11:28 AM |
| Edited metadata not loading on kindles | KRT | Devices | 1 | 11-05-2012 10:24 AM |
| Edited metadata not loading on kindles | KRT | Amazon Kindle | 3 | 11-02-2012 10:40 AM |
| Lost Edited Metadata | roxy62 | Library Management | 1 | 02-23-2011 10:56 PM |