02-26-2022, 07:50 PM | #1 |
Junior Member
Posts: 2
Karma: 10
Join Date: Jun 2010
Device: none
|
Restoring database failed
Traceback (most recent call last):
File "site-packages\calibre\db\restore.py", line 130, in run File "site-packages\calibre\db\restore.py", line 283, in replace_db WindowsError: [Error 32] The process cannot access the file because it is being used by another process: u'F:\\calibreE\\metadata.db' I am going to try and make this shared, then connect a laptop running a newer update of calibre and see if that can restore (perhaps the serve has a hickup? a conflict for accessing the metadata.db file? (server is runing windows 7 and I know calibre no longer updates on it, (I can not update to a different OS because this machine has backups on it running ecc ram a actual server with xeon processor is their a commandline to limit threads and or rebuild the metadata file? clearly a python write error (my library is quite large, but I have had bigger) any suggestions would be quite welcome (I am building a new library on a different drive and will try to get the laptop to load this library and then move, books into the new library ,,but that will take me some weeks a faster smarter solution would be awesome (I am stuck home from work on cancer treatment and this is really annoying me) |
02-26-2022, 10:27 PM | #2 |
creator of calibre
Posts: 44,565
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Try running the machine in safe mode that should minimize conflicts with other progrmas,
|
Advert | |
|
02-27-2022, 09:41 AM | #3 |
Junior Member
Posts: 2
Karma: 10
Join Date: Jun 2021
Location: Columbus, OH
Device: iPad
|
Restoring database failed and command line fix didn’t work
Hi,
I have a library of 87000 book, (yes my wife calls me an electronic hoarder), I loaded Calibre and it said my database was corrupt do you want to repair it. I said yes, it failed. Shut Calibre down and reopened it had the same issue, tried repairing again, it failed. Search around and found a thread from 2017 where you gave a command line database fix, it didn’t work either. If I create a new library and import the directory of books from the corrupt one will the metadata transfer also? Thanks bunches, Mark |
02-27-2022, 12:03 PM | #4 |
creator of calibre
Posts: 44,565
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Yes, you can re-add the books by creating a new library and right clicking the add books button and choosing from folders and sub-folders and then one book per folder. This will preserve metadata.
|
Tags |
metadata.db |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Help needed restoring database | rgc | Calibre | 2 | 06-26-2021 03:52 PM |
Restoring Database Issue | TGPB | Library Management | 3 | 08-16-2017 08:20 AM |
Restoring Database | Yusufbodrum | Library Management | 3 | 07-31-2015 08:49 PM |
Help Restoring Calibre Database? | Sydney's Mom | Related Tools | 3 | 04-29-2012 05:53 PM |
Restoring database failed | Lady Domino | Calibre | 2 | 03-23-2012 02:12 PM |