View Single Post
Old 11-22-2023, 05:13 PM   #5
iondream
Junior Member
iondream began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Nov 2023
Device: nexus 7
Quote:
Originally Posted by BetterRed View Post
I've seen it now that I've run Restore on my Test library.

Code:
calibre, version 7.0.0
ERROR: Failed: Restoring database failed, click "Show details" to see details

Traceback (most recent call last):
  File "calibre\db\restore.py", line 157, in run
  File "calibre\db\restore.py", line 296, in restore_books
  File "shutil.py", line 561, in copytree
  File "shutil.py", line 459, in _copytree
  File "os.py", line 225, in makedirs
FileExistsError: [WinError 183] Cannot create a file when that file already exists: 'D:\\Calibre\\Libraries\\fwatryp3_rlib\\.calnotes'
No apparent ill-effects - library is back to what it was, including the content of the .calnotes folder.

BR
Oh excellent. Earlier I was trying to recover a database that got corrupted, and I tried this to restore it from backup, but it didn't seem to work. (I ended up building a new library and importing everything again)
does anyone know how the database backup and restore process works? is there a copy of it kept somewhere automatically?

Thanks,
iondream
iondream is offline   Reply With Quote