View Single Post
Old 10-29-2014, 02:50 AM   #2
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Yes, the annotations for books are stored in the database .kobo/KoboReader.sqlite. But, only the annotations for books the device knows about are there. That means all books on the internal memory and all books on the SD card that is currently inserted, or if no card is inserted, the last card that was inserted.

So, removing and reinserting the card, adding a book or two, should have no affect on the bookmarks. And removing the card, removing a book from the card and reinserting the card will mean that the device removes all information about the removed book when it reprocesses the card. If you remove the card, put a new copy of the book on the card and reinsert it, in most cases during processing the book will be removed from the database and the details added back in as new book. The only time this doesn't happen is if the size of the book didn't change.

For swapping cards, the device identifies them somehow. The database has the id for the card against all books on the card. This id is also in the config file. It is a six or eight character hex number and will have a value of "True". So, it look something like "123A56H8=True".

When you swap cards, the device removes all books that were on the old card from the database and processes the new card into the database. It doesn't care if the books are identical, just that the card was changed.

So, sorry, unless you have backup of the database, you have lost the annotations.
davidfor is offline   Reply With Quote