View Single Post
Old 01-21-2019, 10:22 AM   #6
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,139
Karma: 60406498
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 kosmonaut_75 View Post
Thank you @haertig, that was helpful and worked well.

However, I still have a major problem: I inserted an additional column called "genre" in my original Calibre library and attrituted my ebooks correspondingly. (I did this to match genres with collections on my tolino). The genre metadata is still saved in the ebook metadata files, I checked that.

After restoring the library the column "genre" does not show up anymore. After creating the column "genre" again in Calibre Settings, the ebooks are not attributed to the genres, I would have to it manually (which would be a pain with 700 ebooks). The strange thing is: The attribution to "genre" is saved in the ebook metadata files but it doesn't show up in the library.

Any ideas how I can fix this?
Does anyone just read the FAQ's without a disaster already present?
Unless you still HAVE the original backup, you will have probably destroyed the genere metadata.

assuming a drive failure recovery:
A full backup would have had the column. All you would have had to do, was pointed Calibre (Switch/Create: use existing) to where you 'restored' the backup to.

If you had damaged metadata.db, so Calibre would not run, you would run Library Maintenance: Restore database (every title has a backup of it's Calibre entry:metadata.opf), in addition, there is a backup of the STRUCTURE of the DB ( metadata_db_prefs_backup.json), so all your configurations for THAT library that will be used to recreate those that were in effect at the time of the crash)

Once you do something else, those files get overwritten (updated at ~3@ per second) with the newer version (now missing the custom column) of the metadata

If you have most of the books on your device (with the correct metadata), you might be able to recover using those.
1) Create ANOTHER, empty Library: with the Copy existing Structure box ticked.
2) In device view: select all books:right click on one: Add Books to Library: wait until done.
3)Switch back to Library view. REVIEW what you got. Is it Good? This is your new STARTING POINT Library (if the device did not have all the books, or if you made some changes to those entries AFTER they were sent to the device).

Check back here for help (before)merging additional books from the other library. There are some stuff (besides MAKE A BACKUP), to do to keep from stomping on the good stuff

Last edited by BetterRed; 01-21-2019 at 04:03 PM. Reason: fix icon
theducks is offline   Reply With Quote