Order it now! Amazon prioritizes orders on a first come, first served basis.


View Full Version : Upgrade from 0.4.83 to 0.4.143: where are my books?


VKV
03-07-2009, 05:33 PM
Hello,

I was using calibre 0.4.83 on Windows XP and hadn't launch it for a long time. Tonight i started it, and was informed of a more recent version 0.4.143 available. I downloaded the new version and run the installer. When asked where the database should be stored, I pointed the installer to the directory containing the existing library1.db file.

When calibre started, my library did not contain any book (while I had about 30 of them before, I think).

Did I miss a step during the upgrade? How can I have access to my "old database" again?

Thanks for your help,

VKV

kovidgoyal
03-07-2009, 05:38 PM
In a command prompt, type the following


calibre-debug --migrate "c:\path\to\your\old\library1.db" "c:\path\to\your\new\library\folder"

VKV
03-08-2009, 02:26 PM
Thanks a lot for the precise reply, Kovid, and your ongoing support to the calibre users in general.
Now, I just have to find a backup of the original library1.db file, because as I had chosen the same directory as for the previous version, I think it has been overwritten by the installation.
Adding some kind of warning to the installation might be a good idea...
:thanks:

kovidgoyal
03-08-2009, 02:32 PM
It shouldn't have deleted your library1.db. Until recently calibre would upgrade databases automatically but as that occassionally caused problems I've disabled it in favor of a manual upgrade.