![]() |
#1 |
Enthusiast
![]() Posts: 29
Karma: 10
Join Date: Jan 2012
Device: kindle
|
Problem with recovery
After a power surge I got a corrupted metadata.db.
Trying the recovery got me the following error: Traceback (most recent call last): File "calibre\db\restore.py", line 281, in replace_db PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: 'E:\\recovery\\metadata.db' -> 'E:\\recovery\\metadata_pre_restore.db' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "calibre\db\restore.py", line 129, in run File "calibre\db\restore.py", line 285, in replace_db PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: 'E:\\recovery\\metadata.db' OS is Windows 10. No other operations in progress on the library folder. Any ideas? |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,349
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Try running the recovery using the command line calibredb tool
calibredb restore_database -r |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Enthusiast
![]() Posts: 29
Karma: 10
Join Date: Jan 2012
Device: kindle
|
Thank you, I will try and report it in a couple of weeks. I'm talking about 370K books here.
The gui recovery took only 10 ten days and failed ![]() BTW: under linux it seems to work just fine, I tried it with only 1K books. |
![]() |
![]() |
![]() |
#4 |
Enthusiast
![]() Posts: 29
Karma: 10
Join Date: Jan 2012
Device: kindle
|
Working like a charm, thank you very much!
Now to some serious disk trashing ![]() |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
PRS-T1 1.04 sd recovery | uboot | Sony Reader Dev Corner | 82 | 03-08-2020 07:17 PM |
PRS-T2 Help needed with Recovery | piotr20000 | Sony Reader Dev Corner | 2 | 03-21-2013 05:21 AM |
Screwed recovery | vicinc | enTourage eDGe | 3 | 07-14-2011 10:34 AM |
ClockworkMod Recovery | zartemis | Nook Developer's Corner | 19 | 05-10-2011 08:39 PM |
Recovery from Library | ExEmGe | Sony Reader | 6 | 05-03-2011 06:45 PM |