View Single Post
Old 04-27-2011, 02:01 AM   #2
ken_jennings
eDGe User
ken_jennings has learned how to buy an e-book online
 
ken_jennings's Avatar
 
Posts: 51
Karma: 88
Join Date: Mar 2011
Location: FL, USA
Device: Entourage eDGe
eDGe Library files and backup structure

This is an attempt to document the structure of the eDGe library and the files that are backed up by the Local Backup application. Since this is undocumented by entourage, most of what is written here is based on supposition from looking at the file contents and analyzing data made visible with tools. In some places the purpose is just guess work, because the actual content can't be precisely identified.

Local backup of the library creates a file ending in .esi which is actually just a plain zip file. Rename the file extension to .zip and the zip/unzip utilities on Linux and Windows should be able to examine and manipulate the file. There is no password and no apparent encryption of the file itself.

My edge has the library moved to the external SD card. The .esi/.zip file produced contains two *absolute* paths, /fridge/ and /sdcard/. (This absolute path part may be an issue later when restoring a backup that has had the contents manipulated with zip/unzip on a PC.)

Here is a list of all the directories containing one or more files in the .esi/.zip file:
Code:
/fridge/.edge/.esi-data/.databases/
/fridge/.edge/.esi-data/.edb/
/fridge/.edge/.esi-system/
/fridge/.edge/.esi-system/.fontconfig/
/sdcard/.edge/.esi-content/
/sdcard/.edge/.esi-content/.esa/
On initial perusal it appears /fridge/ contains a series of sqllite databases. Some contain configuration information, but most are related to library files and used to link separate files together -- books to annotations, etc.

All the real content -- PDFs, annotations, Journals -- are stored under the /sdcard/ path.

Both /fridge/ and /sdcard/ contain only the directory named /.edge/

Several directories contain a file called ".nomedia":
Code:
/sdcard/.edge/.esi-content/.nomedia
/fridge/.edge/.esi-system/.nomedia
/fridge/.edge/.esi-data/.databases/.nomedia
/fridge/.edge/.esi-data/.edb/.nomedia
The file contains the text "prevent media scan". A guess: It seems to be a flag, possibly to stop a tool from scanning the filesystem any farther to locate content that could be added to the Library.
ken_jennings is offline   Reply With Quote