View Single Post
Old 11-11-2023, 02:52 PM   #8
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,086
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Thank you for your response. I am new to Calibre. I was advised to restore the library via:
Library > Library Maintenance > Restore Database


Question Where the metadata.opf file is located? When I performed the respore, I had only 2 files in the library (1) metadata_db_prefs_backup.json and (2) metadata.db

and after the restore, I found 3 files (1) metadata_db_prefs_backup.json, (2) metadata.db (3) metadata_pre_restore.db

I am running Calibre on an iMac, and I have TimeMachine running all the time. (1) If metadata.opf is located somewhere other than the library folder, I will try to restore a previous verison of it. The only other folder associated with Calibre on teh operating system that I am aware of is the configuration folder (shown in the screenshot). In that folder, I could not find a metadata.opf

https://ibb.co/SKPg6br
Restore expects everything else (other than the corrupted DB) to be in the normal place.

there is a metadata.opf is in each books folder (and cover.jpg). Those are the backup for that book metadata as shown in Calibre

Anything that tampers with the Library folder can corrupt. Only Calibre should make changes. The DB is the link between the entry and the files. Delays can allow a cart before horse condition, thus the rule of NOT on a Network storage.

BTW your screenshot is NOT of Calibre Library (the typical folder where books are)
theducks is online now   Reply With Quote