Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 08-03-2024, 11:33 AM   #16
Sirtel
Grand Sorcerer
Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.
 
Sirtel's Avatar
 
Posts: 11,543
Karma: 230505502
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
Remove them and add them back using the Add Books button. Don't add them directly to the library folder.
Sirtel is offline   Reply With Quote
Old 08-03-2024, 12:02 PM   #17
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 30,452
Karma: 58055868
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
the metadata.opf in each folder has the same info that was in the DB at the time the OPF was created. It is a snapshot that Restore uses. If it was wrong before, it is probably still wrong.
Adding books to a fresh Library is probably more likely to be correct.
theducks is offline   Reply With Quote
Old 08-03-2024, 01:36 PM   #18
asw22
Member
asw22 began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Aug 2024
Device: PocketBook InkPad 3
The problem is:

-I have no idea how many books are missing...unles there is a way to get the list of books registered in the database for comparison

- adding books means there are two folders of the same book...removable via utilities easily, but I understand it is not good

I do not understand the retoration of the database...when there are no database,Calibre mooks for books and associated metadat...so why take some and ignore others?
asw22 is offline   Reply With Quote
Old 08-03-2024, 01:48 PM   #19
Sirtel
Grand Sorcerer
Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.
 
Sirtel's Avatar
 
Posts: 11,543
Karma: 230505502
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
Quote:
Originally Posted by asw22 View Post
The problem is:

-I have no idea how many books are missing...unles there is a way to get the list of books registered in the database for comparison
Yes, there is. Create a new empty library and copy all the books in the old library to it via the GUI (NOT via the File Explorer or directly from the folder!): select all -> right-click -> copy to library (delete after copy). The book list in the old library should now be empty. Everything that remains in the library folder was not in the database and must be re-added via the Add Books button.
Quote:
I do not understand the retoration of the database...when there are no database,Calibre mooks for books and associated metadat...so why take some and ignore others?
Because obviously there is something wrong with those books and metadata.

Last edited by Sirtel; 08-03-2024 at 01:50 PM.
Sirtel is offline   Reply With Quote
Old 08-03-2024, 05:38 PM   #20
asw22
Member
asw22 began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Aug 2024
Device: PocketBook InkPad 3
I have compared the opf of two books, one shown, the other not, the only apparent difference is the Calibre identifier (same as the number in folder title) and the uuid.

This is bizarre . But your suggestion is excellent, ongoing now...
asw22 is offline   Reply With Quote
Old 08-04-2024, 05:22 PM   #21
asw22
Member
asw22 began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Aug 2024
Device: PocketBook InkPad 3
Hello everyone!

I did transfer the 41 000 books or so from the library to a new one, and I did look what was left....still 11000 books to go!

I still do not understand what could have happened?

Not very enthusisastic at the idea of integrating directly the .epub in the new library, losing all metadata, I tried something:
- I restored the database of the library with the leftover books...and I got myself a library with 11000 books, and their correct metadata...11000 books calibre refused obstinately to show me before!!!

I transferred the books via the "copy to library + delete", and now I have all my books correctly shown in the new library...I had two books not transferred I did manually, and that was it!

I am happy and still baffled...

But thanks everyone, and if you have ideas about this mess let me know!

asw22
asw22 is offline   Reply With Quote
Old 08-04-2024, 05:40 PM   #22
Sirtel
Grand Sorcerer
Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.
 
Sirtel's Avatar
 
Posts: 11,543
Karma: 230505502
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
Glad you got your library restored.

But yes, it would be good to know how this mess happened in the first place. Otherwise you might find yourself in the same pickle one day. The common culprits for messing up the database are syncing programs running in the background, moving files directly to/from the library folder without going through the calibre GUI, and faulty drives.
Sirtel is offline   Reply With Quote
Old 08-05-2024, 06:41 AM   #23
asw22
Member
asw22 began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Aug 2024
Device: PocketBook InkPad 3
"moving files directly to/from the library folder without going through the calibre GUI"

I did that a lot in the last ten years...I will be more prudent now: the library is near 80 GB, so all manipulations are harassing!

Thanks again,

asw22
asw22 is offline   Reply With Quote
Reply

Tags
calibre, restore database


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to restore backup from Google drive in Moonreader pro due to blocked access archz2 Android Devices 0 05-12-2024 12:32 PM
iPhone 7 unable to restore Error 4013 Dean11 Apple Devices 1 10-23-2018 02:09 PM
version 3.15.0: unable to 'restore' database BuPunkt Library Management 4 01-18-2018 09:45 AM


All times are GMT -4. The time now is 10:38 PM.


MobileRead.com is a privately owned, operated and funded community.