Hi, I am hoping someone can help.
I have a very large fanfiction library with a number of custom columns. Unfortunately, with no warning, it crashed. I am normally good with updating my back up, but forgot to do it for a few weeks, of course after I did a lot of work cleaning up and marking stories read, etc - stuff I would like to keep.
Code:
calibre, version 2.0.0
ERROR: Failed: Restoring database failed, click Show details to see details
Traceback (most recent call last):
File "site-packages\calibre\db\restore.py", line 125, in run
File "site-packages\calibre\db\restore.py", line 277, in replace_db
WindowsError: [Error 32] The process cannot access the file because it is being used by another process
I updated Calibre and still got the error. I shut down, then removed Panda Free and went back to Windows Defender. I also turned off the internet access and virus protection before running after the first time I got the errro message. It ran for over 24 hours before giving that message.
I have deleted the metadata.db files, tried creating a new library, moving the metadata.db file to the old library and trying to restore. I got this error message then
Code:
Traceback (most recent call last):
File "site-packages\calibre\gui2\ui.py", line 630, in library_moved
File "site-packages\calibre\db\legacy.py", line 70, in __init__
File "site-packages\calibre\db\legacy.py", line 44, in create_backend
File "site-packages\calibre\db\backend.py", line 344, in __init__
File "site-packages\calibre\db\backend.py", line 1066, in fget
File "site-packages\calibre\db\backend.py", line 784, in conn
File "site-packages\calibre\db\backend.py", line 243, in __init__
File "site-packages\calibre\db\backend.py", line 287, in execute
File "c:\cygwin64\home\kovid\sw\build\apsw-3.8.2-r1\src\cursor.c", line 990, in APSWCursor_execute.sqlite3_prepare
File "c:\cygwin64\home\kovid\sw\build\apsw-3.8.2-r1\src\statementcache.c", line 386, in sqlite3_prepare
CorruptError: CorruptError: database disk image is malformed
So it seems to be dead. I don't know enough out programming to do any fancy stuff.
So my question is, is there any way to get the metadata from the opf files into the back up database? I added all the changed files from the old database to the new database by copying them to another drive (just the changed ones) but the metadata didn't add. I would rather not do it all manually if I don't have to.
And is there a maximum size on the database before it becomes unstable? I have plenty of room on my hard drive.
Thanks for any help!