![]() |
#1 | ||
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21
Karma: 4897
Join Date: Dec 2012
Device: Kobo Glo
|
Impossible to restore the database
Hi,
OS : Windows 10 Calibre : 7.11.0 Today, I found that Calibre database - which is stored on an external disk (1) - is corrupted. Yesterday, I have checked it via "Maintenance de la bibliothèque/ Vérifier la bibliothèque" : there was no error. Quote:
But it is impossible to restore it Quote:
(2) translation "The process is unable to access to the file which already is used by another process" I've checked : no process was running except Calibre Thank you in advance for your assistance. Regards Last edited by diane55; 05-28-2024 at 08:29 AM. |
||
![]() |
![]() |
![]() |
#2 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 75,663
Karma: 134319570
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
It's most likely your AV getting in the way. I suggest you turn it off or set it to ignore your calibre library directory and all sub-directories.
|
![]() |
![]() |
![]() |
#3 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,262
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Reboot in safe mode and do the restore or alternately use the command line calibredb tool to do the restore.
|
![]() |
![]() |
![]() |
#4 | ||
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21
Karma: 4897
Join Date: Dec 2012
Device: Kobo Glo
|
Thank you for your suggestions.
Quote:
Quote:
Could you please indicate which command I have to write ? I never did it. Thank you. |
||
![]() |
![]() |
![]() |
#5 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,262
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
calibredb restore_database -r
|
![]() |
![]() |
![]() |
#6 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,908
Karma: 7076137
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
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.
|
![]() |
![]() |
![]() |
#7 | ||
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21
Karma: 4897
Join Date: Dec 2012
Device: Kobo Glo
|
Quote:
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\] 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:
- 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 07:39 PM. |
||
![]() |
![]() |
![]() |
#8 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,262
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Then your library is not actually corrupted, but something on your computer is interfering with calibre.
|
![]() |
![]() |
![]() |
#9 |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21
Karma: 4897
Join Date: Dec 2012
Device: Kobo Glo
|
Thank you for your answer.
I think that the database is corrupted because of this message when I try uncessfully to open the library ![]() I can't figure out what can interfere with calibre because I get this message even in safe mode at minimum configuration, without internet... I continue to dig in the problem. Thank you all for your assistance. |
![]() |
![]() |
![]() |
#10 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 75,663
Karma: 134319570
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
https://github.com/PolarGoose/ShowWhatProcessLocksFile |
|
![]() |
![]() |
![]() |
#11 | |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21
Karma: 4897
Join Date: Dec 2012
Device: Kobo Glo
|
I've created a new audios library and tried to import the audiobooks which are in the old libray. I have to do it one by one (the format is ZIP, RAR or MP3).
The cover works but not the opf. I have to recreate all the metadatas and it is a lot of work. Too bad. I'll keep the library as it is, anyway the audiobooks are still there, sorted by author and series. EDIT Quote:
Thank you for the suggestion. Last edited by diane55; 05-30-2024 at 06:34 AM. |
|
![]() |
![]() |
![]() |
#12 | |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21
Karma: 4897
Join Date: Dec 2012
Device: Kobo Glo
|
Quote:
In the ZIP file, there is no installer.exe. The subfolder Installer of the folder SRC contains : - HeatWaveConvert.log (text document) - Installer.wixproj (file) - Product.wxs (file) I do not know what to do with these files |
|
![]() |
![]() |
![]() |
#13 |
the rook, bossing Never.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,235
Karma: 89531599
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
|
You downloaded the wrong thing
Latest (under Releases) https://github.com/PolarGoose/ShowWh...eases/tag/v6.0 has ShowWhatProcessLocksFile.msi.zip Unzipping gives a windows .msi which should install. Edit: The "Latest" / Releases are invisible on some browsers or on some script blocking settings. Last edited by Quoth; 05-30-2024 at 10:02 AM. |
![]() |
![]() |
![]() |
#14 |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21
Karma: 4897
Join Date: Dec 2012
Device: Kobo Glo
|
Finally, I've installed PowerToys and activated File Locksmith.
It shows that Calibre is the only process working on the database. ![]() I give up. Thank you all for your patience and assistance. |
![]() |
![]() |
![]() |
#15 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 100
Karma: 1133068
Join Date: Sep 2007
Device: ipaq
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
restore database | franklekens | Kobo Reader | 32 | 06-02-2024 06:28 PM |
How do I restore the database to backup? - database disk image is malformed | lumping-sugar66 | Kobo Reader | 3 | 05-23-2024 08:22 PM |
Aura Restore the database | Ksquared | Kobo Reader | 2 | 09-17-2016 08:04 AM |
Restore Database? | BookJunkieLI | Library Management | 6 | 08-15-2014 06:10 PM |
restore database help | mabee | Calibre | 13 | 01-11-2011 02:16 PM |