It seems you have "orphan" books. This typically happen if you used some other tool than calibre to manage your books, and made a mistake. For instance copy a old version/copy/backup of the library OVER the current library. Having the library on a network share may or may not cause problems. In the calibre documentation you are clearly told not to! So don't be surprised when you experience strange problems if you disobey. (I have previously, for some years, successfully stored my library on a NAS, using NFS and Linux laptop client.)
The fix is simple: Create a new empty library with the same structure as the old. Then move the books from the old library to the new library, using calibre.
When you are done, what is left inside the folder of the old library is the orphan books. They may be duplicates only. But there may be some that are not duplicates. You can add all the books in the folder of the old library to the new library and skip all duplicates.
To avoid having this happen in the future you might consider storing the library on the laptop. And a backup copy on the network share. Keep the backup copy updated using some file sync utility. I like rsync from the command line, creating multi-generation snapshots, but there are many free Windows sync utilities you might use. Possibly also with multi-generation snapshot ability.
You can even use a copy of a backup copy as a read-only calibre library on some other device.
I have my calibre libraries stored on my laptop. And several backup rsync snapshot copies on the second SSD on my laptop. And several backup rsync snapshot copies on a NAS.
Last edited by Adoby; 05-06-2020 at 09:35 AM.
|