![]() |
#1 |
Member
![]() Posts: 15
Karma: 10
Join Date: Feb 2010
Device: none
|
Calibre move to new computer problem
I had several different libraries saved on my old computer's Calibre. I copied them to my new computer and all but one pulled in fine. The last one has a json file in the directory but no db file. So when I try to pull in those files I get an error. Is there any way to restore this? This was my main folder and had my personal ratings for many books and a couple added fields (tracking whether I read it, wanted to read, etc), so I'm really hoping theres some way to save it.
Thanks |
![]() |
![]() |
![]() |
#2 |
Handy Elephant
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,737
Karma: 26785684
Join Date: Dec 2009
Location: Southern Sweden, far out in the quiet woods
Device: Samsung Galaxy Tab S8 Ultra
|
You need to find that db-file! If it is missing it might mean that the library isn't complete. Files missing...
However, if there are updated OPF-files along with the books, then the information is there as well. The OPF-files are a backup of the metadata that is stored in the database. So you could try to add the books to a new library, from the old. Make sure the new library has the same fields as your old library had. You could try with one author, and see how it goes? You would want to check in settings that metadata is read from the contents of the files, and not from the filenames. Last edited by Adoby; 01-06-2014 at 04:43 PM. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
drop in a random db, so you can open in that folder, then a database restore from Library Management. It will completely reload the database from the metatata in the OPF backups, and the library settings from the metadata_db_prefs_backup.json
|
![]() |
![]() |
![]() |
#4 | |
Handy Elephant
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,737
Karma: 26785684
Join Date: Dec 2009
Location: Southern Sweden, far out in the quiet woods
Device: Samsung Galaxy Tab S8 Ultra
|
Quote:
It could be a good idea to test it, but make sure to have a backup of the corrupt library, if it seems that a complete restore of all metadata fails. It assume it should be possible to examine a opf-file to find out what custom columns was used when the opf-file was created? |
|
![]() |
![]() |
![]() |
#5 | |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Quote:
![]() ![]() By definition, the restore database function is supposed to completely trash the db and restore all info whatsoever from the backups. book metadata is stored in the opf, and the metadata_db_prefs_backup.json contains ALL other data saved in the db -- it is supposed to ensure that by combining the json with the opf's, all the data is saved by which the db can be restored literally from nonexistence. As is indeed the case here. ![]() TL;DR The custom columns are created from metadata_db_prefs_backup.json, and given values, if available (and they had better be), from the opf. |
|
![]() |
![]() |
Advert | |
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
How do I move my library to a new computer? | Baroness | Calibre | 1 | 12-10-2012 02:23 AM |
Move Calibre to new computer my library isn't showing. | Villordsutch | Related Tools | 4 | 09-12-2012 03:26 AM |
Best way to move database to another computer | lothlann | Calibre | 6 | 01-06-2011 04:03 PM |
How do I move notes to computer? | nguirado | Amazon Kindle | 8 | 12-27-2010 06:03 PM |
using replicator software to move calibre folder to another computer | dcarlozzi | Calibre | 15 | 07-02-2010 03:18 PM |