View Single Post
Old 10-11-2010, 07:28 AM   #7
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: 12,522
Karma: 8065528
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by nynaevelan View Post
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.
Calibre does have a restore feature, since version 0.7.21. It is able to reconstruct the metadata.db file from the books in the library, using the OPFs that it automatically creates when the metadata has changed. See the command line command calibredb restore_database. The command assumes that it is operating in a calibre library folder hierarchy.

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 07:32 AM.
chaley is offline   Reply With Quote