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 11-22-2013, 11:25 PM   #1
ALF59
Junior Member
ALF59 began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Nov 2013
Device: Kindle 3
Just did a supremely stupid thing

I was adding some books and while that was going on, I was also organizing on my hard drive and renaming some folders. Yes, I renamed my Calibre Library folder. When I added the most recent books to Calibre, the program created a second, correctly named Calibre Library folder. Of course, only those books showed up in the actual Calibre database and I realized what I'd done. I re-renamed my original folder back to Calibre Library, got pop-ups asking if the folders should merge. I answered yes, but it doesn't seem to have taken. My original folder still has all my files, but they don't show up when I open Calibre. Is there a way to correct this without readding everything? Can't believe I did this! Assistance is gratefully received.
ALF59 is offline   Reply With Quote
Old 11-23-2013, 12:00 AM   #2
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 13,529
Karma: 78910202
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
The problem is that calibre bases what it is in the library on the contents of the "metadata.db" file. It sounds like the one in your "Calibre Library" is the new one from the newly created library, not the one from the library that was the original one.

Check to see what other copies of this file you can find on your PC; one of those might be the original one. However, it will not contain the "new" books only the old ones from pre stupidity.
PeterT is offline   Reply With Quote
Advert
Old 11-23-2013, 12:18 AM   #3
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,731
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by ALF59 View Post
I re-renamed my original folder back to Calibre Library, got pop-ups asking if the folders should merge. I answered yes, but it doesn't seem to have taken. My original folder still has all my files, but they don't show up when I open Calibre. Is there a way to correct this without readding everything?
I'm assuming you did the library folder rename and merge via the file system, that's why you can see that all the book folders (old and new) are in the library folder. But during the merge the file system took the latest calibre database (metadata.db) file - hence the database only contains the new books.

I think you should be able to reconstruct the database via - Library Maintenance->Restore database. This will create a new database based on the content of the .opf (open format packaging) files contained in each book folder - the opf files contain the metadata, including custom column values etc

Warning, this can take many hours if its big library

BR
BetterRed is offline   Reply With Quote
Old 11-23-2013, 10:31 AM   #4
ALF59
Junior Member
ALF59 began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Nov 2013
Device: Kindle 3
Thank you for the responses, Peter T and BetterRed. I will try the Library Maintenance option and see what happens. My library contained about 1900 books; plenty to me, but small by a lot of folks' standards, I know. We'll see if the database considers that a significant amount or not. I truly can't believe I did this. I most certainly knew better!

Update: 1900 book is a very INsignificant amount! The restore function worked perfectly and quickly. Thanks again!

Last edited by ALF59; 11-23-2013 at 10:43 AM. Reason: ETA Update
ALF59 is offline   Reply With Quote
Old 11-23-2013, 11:13 AM   #5
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,062
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by ALF59 View Post
I was adding some books and while that was going on, I was also organizing on my hard drive and renaming some folders. Yes, I renamed my Calibre Library folder. When I added the most recent books to Calibre, the program created a second, correctly named Calibre Library folder. Of course, only those books showed up in the actual Calibre database and I realized what I'd done. I re-renamed my original folder back to Calibre Library, got pop-ups asking if the folders should merge. I answered yes, but it doesn't seem to have taken. My original folder still has all my files, but they don't show up when I open Calibre. Is there a way to correct this without readding everything? Can't believe I did this! Assistance is gratefully received.
STOP! READ! recovery may be simple

if you have 2 (or more) metadata.db (with associated book folders) found on your system, Merging Libraries is SIMPLE if you let Calibre do it. You simply use the 'Add to Library' (NOT Add Books) option.
theducks is offline   Reply With Quote
Advert
Old 11-23-2013, 03:33 PM   #6
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,731
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
@theducks - Another stupid mistake is to not read what the OP posted 40 minutes before you chimed in

BR
BetterRed is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Likely a stupid K4 question. :-) mystika1 Amazon Kindle 4 10-16-2013 09:16 AM
Seriously thoughtful New Money, The Smart thing or the Fun thing? GlenBarrington Lounge 9 01-13-2012 01:47 PM
PRS-T1 Stupid question... opitzs Sony Reader Dev Corner 14 11-16-2011 05:51 PM
Multiplying calendar entries -- a PE thing or an android thing Tunney enTourage eDGe 5 10-21-2011 07:27 PM
I did something stupid doofus2 iRex 6 04-08-2009 03:31 PM


All times are GMT -4. The time now is 02:59 PM.


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