![]() |
#1 |
eBook Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,526
Karma: 1464018
Join Date: May 2010
Location: USA
Device: Kindle Fire 2020, Kindle PW2
|
Calibre & Moved Books
Hi:
Calibre experts is there a way to recover the books if they have been moved to a directory outside of where Calibre thinks they are? I need to rebuild my library, I have the metadata file and the books but they are not where Calibre thinks they should be? |
![]() |
![]() |
![]() |
#2 |
Seeker
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 349
Karma: 479648
Join Date: Dec 2008
Location: Liberty, MO USA
Device: Asus TF, PB 360, Jetbook Lite
|
I'm no expert, and if I'm wrong or incomplete, I'm sure someone will be along shortly with a better answer.
On the toolbar, in the upper left corner is an add books button. There is a dropdown arrow with it and if you click the arrow, it gives you some options like whether you have your books in one directory or several. You select your option, and then drill to where your books are really located, and add them. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
eBook Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,526
Karma: 1464018
Join Date: May 2010
Location: USA
Device: Kindle Fire 2020, Kindle PW2
|
Yes but this will add the books as duplicates, I am looking for a way for it to find the books that are already in the library. This would not be a problem if Calibre did not have the annoying habit of adding the id to the folder name, a behavior I wish I could stop. But unfortunately it looks like I am going to have to manually go through all 657 of my books individually.
|
![]() |
![]() |
![]() |
#4 | |||
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,879
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
The obvious first choice to correct this problem is to restore from backup.
Quote:
On second thought this might not work if calibre still believes that the format already exists. Running a database integrity check first might correct calibre's assumption that certain formats still exist in its library and allow you to re-add the books as suggested. After you re-add the 675 books whichever books are newly created will have to be manually merged with the existing metadata (See attached). Quote:
![]() Quote:
Good Luck. |
|||
![]() |
![]() |
![]() |
#5 |
Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,085
Karma: 722357
Join Date: Feb 2010
Device: PRS-505
|
You should not be tampering with calibre's private files. If you need the specific file for some reason, just have calibre export it to wherever it needs to be.
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
eBook Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,526
Karma: 1464018
Join Date: May 2010
Location: USA
Device: Kindle Fire 2020, Kindle PW2
|
Thank you I will give your suggestion a try. As to the assumption that I did something to the files is just that AN ASSUMPTION. For the record my hard drive failed and I had a backup of the files from their original location not the location that calibre was using them in, so I have to rebuild from the copies that I have. While I appreciate the assistance, please do not assume I have done something that I should not have.
I still believe it would be nice if Calibre had some kind of restore feature or a possibility to look in another location for the files and rebuild from that, especially since it gives you the option to export the metadata info with the book files. But lesson learned, once I have fixed them all, I will just setup my backup program to automatically keep backups of the files to prevent future problems. |
![]() |
![]() |
![]() |
#7 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,213
Karma: 7955067
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
That said, it sounds like you have a copy of your library. Why not tell calibre to open that copy, using the switch library dialog? Have I missed something? Edit: re-reading the posts tells me that you don't have a backup per se, but instead the original sources. Clearly opening these as a library won't work. Last edited by chaley; 10-11-2010 at 08:32 AM. |
|
![]() |
![]() |
![]() |
#8 | |
eBook Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,526
Karma: 1464018
Join Date: May 2010
Location: USA
Device: Kindle Fire 2020, Kindle PW2
|
Quote:
What I am trying to do is retain my library with the customizations that I have created over the last several months. I am not an expert with Calibre so I do not know how to accomplish this, so I do appreciate any assistance you can offer as well as any advice you have on how to prevent this from happening in the future, when using backup programs what are all the files and locations I should be backing up so that I can restore everything should this happen again? |
|
![]() |
![]() |
![]() |
#9 |
eBook Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,526
Karma: 1464018
Join Date: May 2010
Location: USA
Device: Kindle Fire 2020, Kindle PW2
|
Well I tried to re-add the books and although I had the option checked to merge the files automatically it did not link the new file types into the database. So, I deleted all the books and then re-added them. One good thing, it imported all the books and I was able to retain my original dates, I assume this is because this data is saved in the opf files. One bad thing, I lost all my covers, but this is not a major loss, I will fix them as I go along.
Thanks to all for your assistance. ![]() Now off to setup my backup program to backup the directories so I do not need to go through this again. I did see some posts about dropbox, but I am a little hesitant about putting my books on the web so I need to research that before thinking about using something like that. |
![]() |
![]() |
![]() |
#10 | |
Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,085
Karma: 722357
Join Date: Feb 2010
Device: PRS-505
|
Quote:
Covers are saved separately, I believe as .jpg files. If you can track them down, there's your errant covers. If your dead HD ate them, of course, you're back to retrieving/editing them. As for Dropbox, I've been using it and so far it's been entirely private. I don't think I'd store credit card numbers there, but I have no worries about using it for books. If you want to try it, here's my referral link: http://www.dropbox.com/referrals/NTgwODQwNDk5 (that gets us both some extra space). |
|
![]() |
![]() |
![]() |
#11 | |||
eBook Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,526
Karma: 1464018
Join Date: May 2010
Location: USA
Device: Kindle Fire 2020, Kindle PW2
|
Quote:
![]() Quote:
Quote:
|
|||
![]() |
![]() |
![]() |
#12 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
Even if Calibre did not use the id in the folder name, you'd still be unable to easily recreate the library. Calibre modifies/shortens titles, it uses only one of the authors when there are multiple authors, etc. The id is essential to avoid duplicate folder names, so it's not likely to be removed.
|
![]() |
![]() |
![]() |
#13 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
The automatic merge relies upon metadata for the new book to match the author and title to an existing record. The author has to match exactly, and the title needs to be close. Calibre can get the metadata 1) from inside the file, 2) from the filename, or 3) from an opf file. You need to select the best source for the metadata if you want the automatic merge option to work well. If it fails, you can always use the manual merge option. Just merge the newer books into the older records.
|
![]() |
![]() |
![]() |
#14 | |
eBook Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,526
Karma: 1464018
Join Date: May 2010
Location: USA
Device: Kindle Fire 2020, Kindle PW2
|
Quote:
I am not sure I understand you but there should be no problems with the import because the files were exported from Calibre on Saturday so they all should have matched perfectly. And after the import it said it merged them all, but none of them were linked into the new files although when I looked in the directory all the folders were created. Also, I am unsure what the correct settings should be, so maybe I did not have the settings setup correctly. |
|
![]() |
![]() |
![]() |
#15 | ||
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
Quote:
Quote:
It's possible that your starting database believed that the formats/files were there, when they were missing. Checking database integrity, and/or deleting formats would have fixed this. The automatic merge function will not add a format that already exists in the database. |
||
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
moved location of Calibre home directory | asperger | Calibre | 2 | 04-06-2010 09:02 PM |
I moved my library and calibre now can't display the content | Ea | Calibre | 4 | 10-31-2009 01:18 PM |
PRS Fonts, PDF gray && Calibre | Hranostak | Sony Reader | 5 | 11-24-2008 12:50 PM |
PRS Fonts, PDF gray && Calibre | Hranostak | Sony Reader | 1 | 11-22-2008 03:50 PM |