View Single Post
Old 10-03-2014, 10:03 PM   #655
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
Quote:
Originally Posted by jbennion View Post
mbovenka, thanks for being the guinea pig for this! I am contemplating this exact same scenario, and don't have any DRMed books. In addition to the reading status (finished, reading position), I am even more concerned with my annotations. Do you know if those transfer over? Or, taking davidfor's suggestion, do some combination of backing up/restoring reading position along with a database backup/restore, maybe?
I can think of three ways to transfer the annotations from one device to another. All assume the location and name of the book is in exactly the same place on both devices.

- Copy the directory "Digital Editions/Annotations". This contains the annotations files produced by the RMSDK. There is one for every epub and PDF in the main memory that you have opened. If you copy these files to another device, the annotations in them will be read into the database when the book is opened.

- Extract the bookmarks table from the database on one device and load it into the database on the other device. So long as you don't copy the data for the downloadable books, this is pretty safe and should work for all formats.

- Copy everything like mbovenka has done. That seems to be safe. The only issues I can think of is the ADE authorisation and maybe the contents of the user table.

The best way to handle this is an extract of the database that removes the file location. This would handle the ids in the data in a way similar to how the plugin handles the reading positions. Technically, it wouldn't be that hard to do, I just haven't had a real desire to do it. Plus, I have never decided on the best place or method to store the data. Adding them as yet another custom column has never felt right. And calibre doesn't really support adding extra files in the library directories. Putting them elsewhere means keeping track of the books the they are for.
davidfor is offline