View Single Post
Old 05-29-2024, 07:56 PM   #7
diane55
Member
diane55 is fluent in JavaScript as well as Klingon.diane55 is fluent in JavaScript as well as Klingon.diane55 is fluent in JavaScript as well as Klingon.diane55 is fluent in JavaScript as well as Klingon.diane55 is fluent in JavaScript as well as Klingon.diane55 is fluent in JavaScript as well as Klingon.diane55 is fluent in JavaScript as well as Klingon.diane55 is fluent in JavaScript as well as Klingon.diane55 is fluent in JavaScript as well as Klingon.diane55 is fluent in JavaScript as well as Klingon.diane55 is fluent in JavaScript as well as Klingon.
 
Posts: 22
Karma: 4897
Join Date: Dec 2012
Device: Kobo Glo
Quote:
Originally Posted by chaley View Post
What is the G: drive? Is it a network share? Is it connected to some cloud service such as onedrive or dropbox? If so then that is your problem. Copy the library onto a local disk and restore it there.
G: is a local external disk


I have 2 libraries :
- a big one with ebooks (format : epubs) on internal disk D:
- a smaller one with audiobooks (format : zip or MP3) on local external disk G. It is this one which is corrupted.

I've processed the restoration of the audiobooks library. Using cmd, I entered the following command :
Code:
calibredb restore_database -r [g:\XXX\]
I've added [g:\XXX\] because I was unable to access to the library folder on G: with the command "cd g:"
Everytime, I got "g:" but immediately I came back to : "c:\users\***" !



The process was launched and runned for hours and...the final result is deceiving : the audiobooks' database in G : remains corrupted ! :-(


In addition, it appears that the restoration has been done not only for audiobooks, but for both libraries - ebooks and audiobooks.
The final message at the end of the process was :
Quote:
Restoring database succeeded, old database file saved as: metadata_pre_restore.db, this is saved in ....
I found 2 "metadata_pre_restore.db" files
- the first one in the ebooks library on D:
- the second one in the audiobooks library on G:

Maybe the command I used is not appropriate...

Last edited by diane55; 05-29-2024 at 08:39 PM.
diane55 is offline   Reply With Quote