Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 07-08-2011, 03:07 AM   #1
JeremyR
Guru
JeremyR ought to be getting tired of karma fortunes by now.JeremyR ought to be getting tired of karma fortunes by now.JeremyR ought to be getting tired of karma fortunes by now.JeremyR ought to be getting tired of karma fortunes by now.JeremyR ought to be getting tired of karma fortunes by now.JeremyR ought to be getting tired of karma fortunes by now.JeremyR ought to be getting tired of karma fortunes by now.JeremyR ought to be getting tired of karma fortunes by now.JeremyR ought to be getting tired of karma fortunes by now.JeremyR ought to be getting tired of karma fortunes by now.JeremyR ought to be getting tired of karma fortunes by now.
 
JeremyR's Avatar
 
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.
JeremyR is offline   Reply With Quote
Old 07-08-2011, 03:33 AM   #2
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 11,703
Karma: 6658935
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".
chaley is offline   Reply With Quote
Advert
Old 07-08-2011, 05:35 AM   #3
JeremyR
Guru
JeremyR ought to be getting tired of karma fortunes by now.JeremyR ought to be getting tired of karma fortunes by now.JeremyR ought to be getting tired of karma fortunes by now.JeremyR ought to be getting tired of karma fortunes by now.JeremyR ought to be getting tired of karma fortunes by now.JeremyR ought to be getting tired of karma fortunes by now.JeremyR ought to be getting tired of karma fortunes by now.JeremyR ought to be getting tired of karma fortunes by now.JeremyR ought to be getting tired of karma fortunes by now.JeremyR ought to be getting tired of karma fortunes by now.JeremyR ought to be getting tired of karma fortunes by now.
 
JeremyR's Avatar
 
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...
JeremyR is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

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


All times are GMT -4. The time now is 09:01 PM.


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