Exploring this a bit more I decided to take a look at an iTunes backup of the application data. On a Mac you can find it at ~/Library/Application Support/MobileSync/Backup/ and the directory looks something like the following:
Not a very transparent directory listing. There are 4 filenames that are in readable english and they are:
Info.plist
Manifest.mbdb
Manifest.plist
Status.plist
Info.plist and Status.plist contain no useful file or application information. Manifest.plist gives an entry for each application on the iPhone. In my case:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "
http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleVersion</key>
<string>1.0.0</string>
<key>Path</key>
<string>/private/var/mobile/Applications/44913BC2-3C81-4B65-A927-7DD556ADEE0C/LargeCalendar.app</string>
<key>CFBundleIdentifier</key>
<string>com.marksmith.largecalendar</string>
</dict>
</plist>
Is the entry for an application I wrote (actually Sarah Reichelt wrote and I am modifying) that generates an SQlite database file. Note the file is not mentioned here. Manifest.mbdb is a database (fairly unreadable but does contain a lot searchable text strings) that lists all of the files on the iPhone. Searching for my sqlite file was fairly trivial and resulted in this entry:
com.marksmith.largecalendarDocuments/perinatal.sqliteˇˇˇˇˇˇÅ§®‰ııNÎ∫QNÎ∫QNÎê1
Now, I am not sure what all of the unreadable text is at the end of that line, but I am assuming it relates back to a file in the backup directory ie. one of the many "numbered" files that are listed there. But I am not sure which one? So, in terms of finding my sqlite file and looking at its contents I have reached a dead end. This is not an encrypted backup, just a regular one. Does anyone know what the next step in tracking down my data is (short of opening all 750 files and looking inside each one)? a laborious task to say the least. I guess the real trick would be to decipher the garbage text for the perinatal.sqlite entry in Manifest.mbdb but I don't know how to do that.
At one point I had thought that I might use desktop access to the backup file as one way to get the data off of the iPad (I am assuming of course that iPhones and iPads are backed up the same way), but at the moment that scenario is looking pretty bleak if I can't determine which of the many numbered files is my perinatal.sqlite db. Any suggestions?
Thanks
-- Mark