Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader

Notices

Reply
 
Thread Tools Search this Thread
Old Yesterday, 04:01 PM   #1
Xylon
Junior Member
Xylon began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Sep 2024
Device: Kobo Libra 2
Restored backup is reset again after next "Importing content" Calibre sync, any idea?

Hi all,

I'm trying to restore a backup created by KoboUtilities, but I'm running into an issue where the next "Importing content" after a Calibre sync resets all progress. Basically I've done the following:

1. Factory reset the device
2. Copied the books back with Calibre. See unread status on all books.
3. Copy database from backup to device. Disconnect it from explorer. It now shows the old progress on all books and all the highlights. Restarting also keeps the progress. Exactly what I want.
4. Copy books from Calibre (only the ones that weren't in the backupped database, so not the ones that are showing progress).
5. After I disconnect it and the ereader does the "Importing content", I see the books, one by one, resetting to 0% progress and unread.

Any idea how I can keep the progress on the books after the backup, and after adding new books using Calibre? Did I do something in the wrong order?

Thank you.
Xylon is online now   Reply With Quote
Old Yesterday, 05:52 PM   #2
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 39,201
Karma: 153098470
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
The only way I can duplicate your results to to send the books that were already on the Kobo to the Kobo after the database restore.

After a factory reset, I will use the Kobo Utlities store/restore current bookmark to reset the reading status, etc. I also use the Update metadata in Device Library to set the Data Added to the Date the book was added to calibre.
DNSB is online now   Reply With Quote
Advert
Old Today, 04:23 AM   #3
Xylon
Junior Member
Xylon began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Sep 2024
Device: Kobo Libra 2
Interesting, thank you.

So to make the initial example a bit clearer:
  1. my case for example I've copied books A, B, C, D and E to the ereader. All stats were set to unread automatically.
  2. I then copied the sqlite file, which had information about A, B and C (D and E were added later and were not in this backup).
  3. After copying the database, A, B and C now had the actual restored read status, D and E were no longer being shown.
  4. I copied D and E back from Calibre to the ereader so that they would show up again, but then it'd optimize and also reset the status for A, B and C.

I've also just tried your other suggestion. I copied the sqlite database back to the device, it now shows the read progress on the ereader, and all the annotations.
However when I now try to store the bookmarks it says:

calibre, version 7.17.0
Kobo Utilities - Library updated: Update summary:
Reading locations updated=0
Books with no reading location=1
Total books checked=1

As if it just doesn't really fully recognize the database that was copied to it. At the same time, Calibre does show a checkmark before the books it finds.
Xylon is online now   Reply With Quote
Old Today, 04:26 AM   #4
Xylon
Junior Member
Xylon began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Sep 2024
Device: Kobo Libra 2
And one more thing I just noticed: I copied the backup to the device, rebooted it, it shows the read status and annotations on all books. But when I then connect it to the pc, open calibre, tell calibre to eject the device, it'll optimize the books again and drop all the info it has like the read status and resets everything to Unread.

So I don't even need to actually copy books for it to reset everything after it's been connected to Calibre.
Xylon is online now   Reply With Quote
Old Today, 05:25 AM   #5
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 75,790
Karma: 134321338
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by Xylon View Post
Interesting, thank you.

So to make the initial example a bit clearer:
  1. my case for example I've copied books A, B, C, D and E to the ereader. All stats were set to unread automatically.
  2. I then copied the sqlite file, which had information about A, B and C (D and E were added later and were not in this backup).
  3. After copying the database, A, B and C now had the actual restored read status, D and E were no longer being shown.
  4. I copied D and E back from Calibre to the ereader so that they would show up again, but then it'd optimize and also reset the status for A, B and C.

I've also just tried your other suggestion. I copied the sqlite database back to the device, it now shows the read progress on the ereader, and all the annotations.
However when I now try to store the bookmarks it says:

calibre, version 7.17.0
Kobo Utilities - Library updated: Update summary:
Reading locations updated=0
Books with no reading location=1
Total books checked=1

As if it just doesn't really fully recognize the database that was copied to it. At the same time, Calibre does show a checkmark before the books it finds.
Did you reboot after ejecting the Kobo from the compter?
JSWolf is online now   Reply With Quote
Advert
Old Today, 05:37 AM   #6
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 39,201
Karma: 153098470
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
  1. connected and copied over the databases, safely ejected and restarted your Kobo. This needs to be the first step so you have a good database for calibre to work with.
  2. copied books A, B, C, D & E to your Kobo
  3. safely ejected and let the books be imported
  4. Reconnect your Kobo to calibre
  5. Select all the books shown as being on your device in calibre
  6. In the Kobo Utilities menu, select update metadata and click on OK.
  7. In the Kobo Utilities menu, select Store/restore current bookmark. Make sure the Restore radio button is selected and click on OK.
  8. Safely eject your ereader

As for the bookmark restore, did you configure the needed custom columns and Kobo Utilities is configured to use them so you have some data to restore? See 1st attached image. the 4th image is what the columns look like in my calibre library view.
Attached Thumbnails
Click image for larger version

Name:	Screenshot 2024-09-12 022524.png
Views:	13
Size:	45.8 KB
ID:	210787   Click image for larger version

Name:	Screenshot 2024-09-12 023448.png
Views:	14
Size:	34.6 KB
ID:	210788   Click image for larger version

Name:	Screenshot 2024-09-12 023517.png
Views:	11
Size:	19.5 KB
ID:	210789   Click image for larger version

Name:	Screenshot 2024-09-12 024207.png
Views:	13
Size:	34.4 KB
ID:	210790  

Last edited by DNSB; Today at 05:43 AM. Reason: Edit: added 4th image
DNSB is online now   Reply With Quote
Old Today, 07:32 AM   #7
Xylon
Junior Member
Xylon began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Sep 2024
Device: Kobo Libra 2
Quote:
Originally Posted by JSWolf View Post
Did you reboot after ejecting the Kobo from the compter?
I did. What I did so far was use explorer to eject it, wait a bit, and then turn it on/off while it's still connected. So at that point it was still showing the black "charging" screen.

This time I did it a bit differently. I connected it, copied the sqlite files, ejected it through explorer, and then pulled out the cable from the ereader. For the first few seconds I could see the status of the books and the progress. However then it started importing content progress bar and I could see the books resetting to unread one by one.

Quote:
Originally Posted by DNSB View Post
  1. connected and copied over the databases, safely ejected and restarted your Kobo. This needs to be the first step so you have a good database for calibre to work with.
  2. copied books A, B, C, D & E to your Kobo
  3. safely ejected and let the books be imported
  4. Reconnect your Kobo to calibre
  5. Select all the books shown as being on your device in calibre
  6. In the Kobo Utilities menu, select update metadata and click on OK.
  7. In the Kobo Utilities menu, select Store/restore current bookmark. Make sure the Restore radio button is selected and click on OK.
  8. Safely eject your ereader

As for the bookmark restore, did you configure the needed custom columns and Kobo Utilities is configured to use them so you have some data to restore? See 1st attached image. the 4th image is what the columns look like in my calibre library view.
I didn't have the columns yet, just created those. I'll give it a go and get back in a bit. But all of this takes a LONG time, because somehow I have to keep rebooting the pc or the ereader every time after disconnecting it, because otherwise it doesn't recognize it and the ereader just reboots.
Xylon is online now   Reply With Quote
Old Today, 12:51 PM   #8
Xylon
Junior Member
Xylon began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Sep 2024
Device: Kobo Libra 2
Ok, what I've done now:
  1. Factory reset
  2. Set up the ereader (log in)
  3. Connect to PC with calibre and stuff closed
  4. Rename BookReader and KoboReader files on ereader and copy the two files from the backup
  5. Pressed Eject in the toolbar in windows
  6. Screen kept showing "connected and charging" after eject, but Windows was no longer showing it as connected, so I pulled out the cable
  7. It briefly showed a list of books with reader percentage and the name as cover art cause the files didn't exist, but after a second they started disappearing one by one
  8. Turned it off and back on again, no books in list
  9. Connect it to PC again
  10. Open Calibre, this now shows no books as being present
  11. Send all by books to the device
  12. Eject it and the ereader imported everything. Everything shows up as unread
  13. Reconnect to PC and calibre
  14. Selected all the books with green checkmark
  15. Run update metadata with same checkboxes as in screenshot #2 (shows 14 books updated)
  16. Go to store/restore current bookmark and run restore with settings in #3
  17. Eject device
  18. Everything still shows as unread

I think the restore bookmarks didn't do a lot as I just created the columns earlier today and they weren't filled. That's at least what I was hoping to use the backed up sqlite files for.

I feel like the ereader simply isn't accepting the changed database, and as soon as it sees is it tries to "update" it which boils down to resetting it.
Xylon is online now   Reply With Quote
Old Today, 12:54 PM   #9
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 75,790
Karma: 134321338
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by Xylon View Post
I did. What I did so far was use explorer to eject it, wait a bit, and then turn it on/off while it's still connected. So at that point it was still showing the black "charging" screen.
You have to wait until you are back at the home screen before you reboot.

Also, you should delete any eBooks on your Kobo that are not in the backup database. You want to make sure that none of the corrupted database is in memory when the eBooks are imported.
JSWolf is online now   Reply With Quote
Old Today, 01:37 PM   #10
Xylon
Junior Member
Xylon began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Sep 2024
Device: Kobo Libra 2
Quote:
Originally Posted by JSWolf View Post
You have to wait until you are back at the home screen before you reboot..
How long does that usually take for you when ejecting from explorer? Ejecting with Calibre or Kobo has it go back to the home screen almost immediately. When I eject with explorer I have no idea if/when that happens. I've waited a few minutes already once, but no luck, unfortunately.

Quote:
Originally Posted by JSWolf View Post
Also, you should delete any eBooks on your Kobo that are not in the backup database. You want to make sure that none of the corrupted database is in memory when the eBooks are imported
Ooh good point. That seems to have been solved by the factory resets at least. Both times it was completely empty.
Xylon is online now   Reply With Quote
Old Today, 02:02 PM   #11
Xylon
Junior Member
Xylon began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Sep 2024
Device: Kobo Libra 2
Quote:
Originally Posted by JSWolf View Post
You have to wait until you are back at the home screen before you reboot.

Also, you should delete any eBooks on your Kobo that are not in the backup database. You want to make sure that none of the corrupted database is in memory when the eBooks are imported.
Ok, new try:
  1. Factory reset
  2. Device is empty except for default files
  3. Remove the old sqlite files (let's try removing them instead of just renaming them)
  4. Copy the backed up sqlite files to the device
  5. Open kobo app
  6. Eject through kobo
  7. It shows the message "You've ejected your ereader. You can now unplug it".
  8. Five minutes later it's still showing the message
Unfortunately even ejecting through Kobo doesn't appear to remove the black screen on the ereader. And removing the cable briefly shows the books again, before they disappear one by one. I'll give it one more try and see if ejecting it through Calibre next time works.
Xylon is online now   Reply With Quote
Old Today, 02:24 PM   #12
Xylon
Junior Member
Xylon began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Sep 2024
Device: Kobo Libra 2
Gave it two more tries.

First try was the same as above, only ejecting through Calibre. It briefly showed the books, before they disappeared one by one.

Second try as the one above up and including step 4, only then:

5. Open Calibre
6. Send books to device
7. Eject
8. Importing books

So far it seems to keep the books and status. I don't have any more time, but I'll add some more books later and see if it resets everything again.
Xylon is online now   Reply With Quote
Old Today, 03:59 PM   #13
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 39,201
Karma: 153098470
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by Xylon View Post
How long does that usually take for you when ejecting from explorer? Ejecting with Calibre or Kobo has it go back to the home screen almost immediately. When I eject with explorer I have no idea if/when that happens. I've waited a few minutes already once, but no luck, unfortunately.
Are you ejecting by right clicking on the Kobo drive in File Explorer and then clicking on eject or by using the USB widget in the systray. I find that ejecting from File Explorer works (power is removed from the USB port for a short while) while ejecting from the USB widget does not work (either power is not dropped or it is dropped for a shorter time than my cheap USB gadget can catch).
DNSB is online now   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
OneDrive iOS sync to subfolder called "Calibre" imposibile stbcoding Calibre Companion 2 11-23-2021 03:11 PM
Aura Aura keeps re "Importing Content" Gordo29 Kobo Reader 7 08-18-2017 11:56 AM
Is a "Calibre Companian App" for Windows 10 Phones a good idea? MichaelStgt Development 6 02-22-2017 08:26 AM
My "read" tag idea enhancement for Calibre idea rcuadro Calibre 10 01-20-2011 04:23 PM
Suggestion : backup the "original" content dpierron Calibre 9 04-28-2009 08:31 AM


All times are GMT -4. The time now is 04:26 PM.


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