07-08-2011, 03:07 AM | #1 |
Guru
Posts: 973
Karma: 2458402
Join Date: Aug 2010
Location: St. Louis
Device: Kindle Keyboard, Nook HD+
|
Any way to rebuild meta data for library?
I got a new PC and it arrived a day earlier than I expected, so I hadn't fully backed everything up - instead, I just stuck the old hard drive into it.
Anyway, I installed Calibre and pointed it to my old library. It said it was corrupt. I'm guessing because I went from XP to Windows 7, and I knew nothing about that Ownership stuff (where you have to "own" files in order to write to them, but my XP stuff wasn't "owned" by me). Anyway, I figured that out (I think) and now "own" all those old files. But the metadata file is missing. I really, really do not want to re-build my library by adding each book by hand (since they are each in their own separate folders...) Any help would be great. |
07-08-2011, 03:33 AM | #2 |
Grand Sorcerer
Posts: 11,976
Karma: 7257321
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
To recapitulate: you have a folder that is your calibre library. That library contains lots of folders for authors, etc, eventually arriving at folders that contain readable formats (.epub, .mobi, etc). Along with those readable formats, you find the files "metadata.opf" and (sometimes) "cover.jpg". The problem is that there is either no file "metadata.db" in the library folder, or there is one but it has been recreated and is empty.
If my recapitulation is correct, then you can use calibre's restore database command to get your database back. All your precious metadata is stored in the metadata.opf files. Restore database restores the metadata.db file using the information contained in them. Make a copy of the library in case something goes wrong, open the library, click the library toolbar button, and select "Library Maintenence" then "Restore database". |
Advert | |
|
07-08-2011, 05:35 AM | #3 |
Guru
Posts: 973
Karma: 2458402
Join Date: Aug 2010
Location: St. Louis
Device: Kindle Keyboard, Nook HD+
|
Ah, thank you.
Unfortunately it only seems to have recovered about half of it. But better than starting over from scratch... |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Importing meta data from xml file exported from Google "My Library" | net-buoy | Library Management | 0 | 03-14-2011 06:17 PM |
ePub meta data | brudigia | ePub | 4 | 07-26-2010 12:58 PM |
set meta data with ebook-meta and ebook-convert | krischik | Calibre | 6 | 01-19-2010 11:40 AM |
Meta data problems | melhall | Sony Reader | 1 | 03-31-2008 10:58 PM |
PRS-500 Meta Data in Vista not available | Gamgee72 | Sony Reader Dev Corner | 2 | 09-12-2007 05:12 PM |