11-02-2020, 11:57 PM | #1 |
Junior Member
Posts: 3
Karma: 10
Join Date: Jan 2014
Device: PaperWhite 2
|
Is there really no local backup of Notes?
First please excuse me if this subject has been dealt with earlier, but I can't find it.
I am an owner of a new Boox Note Air. While I think it is a really neat device, I don't particularly want to make all of my notes and scribbles available to the Onyx people. I would however like to have a way to back them up. I know that I can save them as PDF's, but I would like to save in a format that I could load back into the Note editor. However, so far, I can't even find where the native (non-PDF) versions of the notes are stored. Does anyone have any ideas on this? Thanks. |
11-03-2020, 04:54 AM | #2 |
Zealot
Posts: 105
Karma: 226
Join Date: May 2017
Device: PocketBook 912, Onyx Boox Max, Max 3
|
Note app -> Settings -> Backup and Restore -> Local backup.
|
11-03-2020, 09:14 PM | #3 |
Enthusiast
Posts: 28
Karma: 20698
Join Date: Oct 2020
Device: Nova Pro
|
Cool I didnt know local backups were a thing. Thanks! So I noticed it creates a zip file. I'm not finding a way to restore from local though. Any help? Tia
|
11-04-2020, 12:49 AM | #4 |
Zealot
Posts: 105
Karma: 226
Join Date: May 2017
Device: PocketBook 912, Onyx Boox Max, Max 3
|
|
11-04-2020, 03:45 AM | #5 |
Guru
Posts: 620
Karma: 8592298
Join Date: Nov 2019
Location: Wuppertal, Germany
Device: Paperwhite (2021), Boox Note Air 2+, Kobo Clara 2E, Tolino Vision 6
|
The local notes are all PDFs. Is the note app only working with PDF files, not with vector graphics as the remarkable?
|
11-04-2020, 04:31 AM | #6 |
Wizard
Posts: 2,868
Karma: 3933245
Join Date: Sep 2012
Location: Salzburg AT
Device: Boox 6/14, Like-/Meebook 2/8, Tolino 1/10, Kobo 0/5, Kindle 0/3
|
|
11-04-2020, 04:42 AM | #7 |
Zealot
Posts: 105
Karma: 226
Join Date: May 2017
Device: PocketBook 912, Onyx Boox Max, Max 3
|
|
11-04-2020, 09:04 AM | #8 |
Enthusiast
Posts: 28
Karma: 20698
Join Date: Oct 2020
Device: Nova Pro
|
|
11-04-2020, 09:25 AM | #9 |
Zealot
Posts: 105
Karma: 226
Join Date: May 2017
Device: PocketBook 912, Onyx Boox Max, Max 3
|
|
11-08-2020, 11:09 PM | #10 |
Junior Member
Posts: 3
Karma: 10
Join Date: Nov 2020
Device: Onyx Note Air
|
The zip file that you get from local backups is a dump of SQLite databases that are used to store notebook data. I spent some time poking around, and it seems that it would be pretty doable to reverse-engineer the file format and write converters to and from Xournal or SVG. In particular, I succeeded in grabbing raw stroke data from binary blobs as a proof of concept.
Also, note that while the device does not export SVG directly, the PDFs that are synced to Dropbox can trivially be converted to SVGs using e.g. Inkscape or pdf2svg command. Note that PDFs that you get by going to "export" in the menu are rasterized, but the PDFs in Dropbox are still in vector format. It's unclear why this is the case, but as long as this keeps working, you do have access to the vector data. |
11-09-2020, 07:59 AM | #11 | |
Enthusiast
Posts: 28
Karma: 20698
Join Date: Oct 2020
Device: Nova Pro
|
Quote:
Very good information thank you. I didn't know Dropbox linked pdfs still contained the vector data. As a graphic designer, I'm aware that pdfs are capable of containing the vector data, which is why it was so perplexing to me to find rasterized pixels on export. But this little loophole is definitely interesting and I will be checking it out. Thank you much! |
|
11-09-2020, 11:48 PM | #12 | |
Enthusiast
Posts: 36
Karma: 130
Join Date: Dec 2014
Device: Kobo Glo
|
Quote:
|
|
11-10-2020, 06:56 AM | #13 |
Junior Member
Posts: 3
Karma: 10
Join Date: Nov 2020
Device: Onyx Note Air
|
I just grabbed the db files and poked around If you are curious, I suggest getting the backup zip file from local storage (it will be in `/sdcard/note/backup/local/`), and opening it with SQLite browser. Most of the fields are fairly self-explanatory with the exception of binary stroke blobs, but these are arrays of 24-byte structs, (4 floats and a long, big-endian, corresponding to x, y, pressure, size, timestamp). Size is always 0. It seems that for strokes, if the SVG I get from PDF has N points, there will be 2N points in the binary blob. The scaling/units in the float values isn't clear, so it's difficult to do side-by-side comparison with SVG output. But if you just do a scatterplot of the points, you get the strokes you expect.
That's about all I found out, if you are able to reverse-engineer more of the file format that would be pretty cool. It seems quite doable, but I don't really have the bandwidth for it now. Last edited by dnquark; 11-10-2020 at 06:59 AM. |
11-10-2020, 12:25 PM | #14 |
Connoisseur
Posts: 87
Karma: 527
Join Date: Sep 2019
Device: Max3
|
following
|
11-10-2020, 10:17 PM | #15 |
Enthusiast
Posts: 36
Karma: 130
Join Date: Dec 2014
Device: Kobo Glo
|
Thanks, dnquark. Don't have much bandwidth myself these days, but I'll try and take a closer look. The original, i.e. non-backup, folder is non-accessible to apps other than notes, I guess, no? It would be nice to be able to periodically sync to OneNote.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Backup Notes / Highlights / Bookmarks | djs71a | Android Devices | 6 | 08-02-2011 08:57 PM |
Development Local backup | Jerry | enTourage Archive | 1 | 04-16-2011 09:11 AM |
Local backup folder is located where? | pewterbot9 | enTourage Archive | 1 | 12-30-2010 02:16 PM |
PRS-600 Backup and Restore of Notes | raymondchen625 | Sony Reader | 1 | 12-20-2009 11:49 PM |
Backup notes & restore | thibaulthalpern | Sony Reader | 10 | 04-01-2009 10:31 PM |