Saturday, August 16, 2008

iPhone backups and accesing .mdbackup files

Apple - Support - Discussions - Where does iTunes saves iPhone Back-ups ... ... "The backups are in ~Library/Application Support/MobileSync".

On my system MobileSync/Backup has 3 folders. I think this reflects the tumultuous history of my iPhone and the flopped restore procedure. The name of the folder is the unique identifier of your iPod or iPhone:
To back up an attached device, you must specify its target ID. This is the name used for the folder in the MobileSync/Backup directory...
and the name of the files is ...
... the name of each backup file is actually the SHA1 hash of its path...
When I synched my iPhone 1 of the 3 folders was updated, so the others are either inactive backups or correspond to my iPod. (I think they're inactive backup files.)

My backup folder is 70MB but holds almost 1,400 items. It contains a small portion of my 8GB of iPhone data and apps.

The files end in .mdbackup. That leads to some interesting posts:
The last series is the winner. It includes a post referencing a relatively friendly command line app for extracting data from an .mdbackup file (I've downloaded a copy, you should too - but note that using a command line utility is a non-trivial task. I think you need at least admin privileges and you may need to do more to enable the app to run/):

... You can examine the contents of these files and extract the backed up data from them using my mdhelper utility. It's a command-line Mac-based application that scans through these folders and allows you to extract files. For example, to recover all the png images from your backups, you could issue mdhelper -C png. Run the utility without arguments to see the built-in options...

What mdhelper does is this. It locates all backup folders. It reads in the Info.plist and Manifest.plist files and it lets you extract manifests and files based on a variety of search options. It stores extracted data on your desktop in a recovered iPhone files folder.

Pop back on Monday to learn more about backup files and how to force your iPhone to backup and restore from the Mac command line.

and, when things are really bad, you will appreciate these tips on how to restore from an archive you've made of a "good" backup (I'm sure there will be a GUI tool to do this very soon.):
.. In order to restore a device, you run the AppleMobileBackup program using the restore switch, like this:

./ambackup --restore --target targetid

This throws your iPhone into restore mode and returns any uncorrupted files from the backup folder to your device. This takes quite a bit longer than the backup, so prepare to wait a few minutes for it to complete.

If you want to restore your phone from a folder that is different from the target ID normally used, supply a source folder name as follows:

./ambackup --restore --target targetid --source sourcefoldername

If the source folder is not found in the backups folder, one is created. If it is found, that manifest and those files are used to restore your iPhone...

I've zipped a copy of my latest "good" backup, and retrospect backs up these files too. It's good to know I can, if things are desperate, scrape lost data from these files.

Update 8/20/08: The iTunes Preferences "Syncing" panel lists the backups by name and date. You can delete unwanted backups there. It only lists my iPhone backups.

Update 12/21/10: If you are looking for a particular device backup in a set of backup folders, you need to look for the manifest.plist file in each directory. Open it in a text editor and scroll down. You'll see the name of the device.

Google Page Creator to end

I noted last year that Google Page Creator was being sunset.

Now it's official. Google will transfer some Pages content to corresponding Sites and provide a download option for users who don't want to use Sites.

This is a nuisance of course, but I'm not complaining too much - yet. Sites is improving and I'm glad Google is putting some resources into this service. My Google irritation will all depend on how careful they are about the migration.

How files will be managed is still a mystery. You can attach a file to a Sites page, but it's awkward. Google Page Creator had more file upload options, but even those were weak. I'd be reasonably happy over the transition if Sites were to allow JavaScript and if Sites gets true file management.

My biggest effort will be translating my Minnesota Special Hockey web site from Page Creator to Sites. That could be ugly. My other Page Creator uses are more modest, but they include kateva.org.

Google Operating System has a good set of tips for people looking to get ahead of the rush ...

Export Files from Google Page Creator:

... Google Sites will add some of the missing features by the time Google closes Page Creator, but those who want to move to a different service or maybe to buy a domain can already export the files.

Requirement #1. There are three kinds of files that are trapped inside Page Creator: uploaded files and web pages created using the editor which can be public or unpublished. The following exporting tool can only work for uploaded files and the public web pages. ..

Requirement #2. Another prerequisite for the exporting tool is a software that downloads all the files linked from a page. For Internet Explorer, try the excellent download manager FlashGet (I use the classic version). For Firefox, there's an extension called DownThemAll that has some of the features from FlashGet...

iPhone ToDo app and why my reviews are better than the rest

I bought Appigo's ToDo.app ($10) for my iPhone (currently I think of my phone as iTease). (BTW, Appigo has a Google Group for this app.)

I've been using it with Toodledo. I'd considered a switch switch to Remember the Milk but Toodledo tech support helped me with my major concern -- the ability to apply operations to sets of items. The combined cost of ToDo.app ($10) and Toodledo ($17) together is $27 - a good fraction of MobileMe. Too bad Apple hates us.

Here's what conventional, good, reviewers will tell you about ToDo.app
Macworld | iPhone Central | Review: Todo 1.1.1 for iPhone and iPod touch

... it’s in creating and organizing tasks that Todo really shines, offering many more features than Zenbe Lists or any of the basic to-do apps I covered a few weeks ago.

As with other apps, you can create multiple lists of tasks; you add new lists and tasks using the plus (+) button at the top of the main lists screen or any individual list screen, respectively. When viewing a list, tapping on a task’s circle marks the task as complete; depending on your settings, completed tasks disappear completely or are moved to a Completed section at the bottom of the current list..

... Creating a new task demonstrates Todo’s best attribute: offering many options and features while keeping the interface simple and easy to use. In addition to naming a new task, you can specify a due date, a repeating schedule, and a priority (1, 2, 3, or none); you can also include a text note...
This is what you only get from me:
  1. If you try to switch services, say from ToodleDo to RTM, every item on your list is deleted. So you can't decide to use one service, then switch. [Update: Appigo consciously decided to do this for the initial release, they will probably make this configurable in a future release.]
  2. Tasks can belong to only one list/category/tag. (Very much like Palm -- in fact ToDo.app is pretty much a functional clone of the original Palm To Do app).
  3. There are no alerts or alarms on tasks.
  4. There's no search. I really need search. Of course this is a problem across the entire iPhone. [Update: Appigo expects to deliver search in a near term release]
  5. It's crashed once in light use.
Update 9/22/08: I'm a regular Appigo ToDo.app customer. It's a great product, but there's a scary specter looming.

ScribeFire: so many updates, so little progress

Ive been intermittently using the ScribeFire: a Firefox extension blog editor for about a year.

The "release fast and often" strategy is fashionable now, but ScribeFire is a good counter-example.

It still only shows recently used "labels"/"categories" from blogger. It still doesn't handle blogger's line wrapping correctly.

These aren't subtle things, and they aren't new. They've been present from day one.

Windows Live Writer is proof that, given sufficient genius, these problems are solvable [1]. Release often is not a panacea.

[1] WLW is also proof that there's life at Microsoft. Nobody has released anything comparable for OS X.

The hidden curse of spam blogs - collateral damage

I've noticed an unhappy correlation.

Periodically spam blogs (splogs) will start harvesting my posts.

When they do that, email from kateva.org begins to be filtered into Gmail's spam folders, my Google PageRank falls, and the site is indexed less often.

When the splogs move on to another victim, things reverse.

I'm just collateral damage.

Ouch.

What hurts the most, really, is the decreased indexing. I like being able to search my memory collection.

Friday, August 15, 2008

Palm tasks moved to iPhone ToDo - sort of

The battle was every bit as nasty as I expected.

I knew the ailing Palm E2 would not go softly into the night. It did not disappoint.

I was trying to move about 300 tasks into Toodledo. I first tried using Toodledo Sync (I don't care for the "toodle" name), but after an hour or two of meaningless error messages I gave up [1]. Toodledo Sync is very raw.

The tasks are in Outlook and the Palm, so I figured I'd use the Outlook CSV option. I knew that would mess up the notes however - CSV can't handle embedded paragraph returns.

Then I read this option:
Toodledo :: Import To-Do List: "Synchronize Toodledo with your Palm OS based PDA. Be sure to read the step by step instructions before you begin."
You have to export as a "To Do" archive, not the more modern Task archive. So I figured I'd switch sync from Outlook to the Palm Desktop and then export from Palm.

That was a nasty mess. The Palm world is pretty decrepit. Turns out I read the wrong help file, Palm Desktop 4.1.4E allows switching between Outlook and Palm -- though it's poorly documented. Anyway, I downloaded, tried to do a repair, ran into problems, etc, etc. Two hours, eight reboots and removing several old bits of software trash I completely uninstalled Palm Desktop and reinstalled.

That worked. So now I synched the Palm to a completely fresh Palm Desktop data file.

I exported as a "To Do" (not Task) archive and loaded into Toodledo.

Miraculously it seemed to work. The notes seem to be intact. The Palm categories become ToodleDo folders. ToodleDo's priorities are reversed from Outlook/Palm, so 1 becomes low and 3 becomes high (weird).

Unfortunately To Dos without a date were assigned a 2031 date. I don't know if this is a Palm bug or a ToodleDo bug, but it's very annoying. The ToodleDo interface is very Web 1.0, I don't see a quick way to fix the date attributes. I'm also disappointed by what appears to be an inability to filter by folder, but I really haven't worked with it enough yet. (This looks like an intractable problem, so it might be a killer. It's hard to give up on Outlook's task management power.)

The priority settings on ToDo.app are yet different -- more like Outlook I think. I'm not sure I've got this quite right; I'm getting a headache!

Ok, this is really hard ...

[1] See this Apple discussion thread:

Error initializing connections...Could not initialize Outlook proxy
Log:
SynchLib:synchronizeTasks() method called
SyncApp.exe Error: 0 : Error during synchronization SyncTool not initialized at SynchLib.SyncTool.synchronizeTasks()
at SyncApp.frmOptions.backgroundWorker1_DoWork(Object sender, DoWorkEventArgs e)

Chapura KeyTasks: Sync Outlook Tasks with iPhone

I'm trying to move my Outlook tasks into Toodledo, and finding a meaningless "proxy error" (my XP firewall is off) when I try to use the Toodledo Sync Application to get my tasks to Toodledo, and thence to the iPhone ToDo.app.

This is way too cutting edge for my sleep needs.

IN the midst of the fray I find a link to an old friend/nemesis - Chapura. They're threatening to release a web service iPhone app combo "any time now" ...

Synchronize Outlook Tasks with iPhone.

Using 11 years of Microsoft Outlook synchronization experience, KeyTasks provides the most reliable wireless Outlook Tasks synchronization available for the iPhone and iPod touch.

The KeyTasks synchronization is provided through your MyChapura Account. A MyChapura account is included with your yearly subscription of KeyTasks. MyChapura is an online service that provides "cloud" synchronization of Microsoft Outlook Tasks and KeyTasks on the iPhone or iPod touch.

MyChapura stores your information on our Web servers. This is commonly referred to as the "cloud." When you make a change in Outlook or on your device and synchronize, that change is sent up to the cloud. Your iPhone or iPod touch will receive this change when you synchronize and your PC can be configured to manually or automatically synchronize. This allows you to keep your information current in multiple places no matter where you are.

We keep your information protected with a secure transfer process and encryption in your MyChapura Account. Your information is encrypted using your MyChapura Account password. Because of this, only your password can decrypt your information...

I'm getting a dawning sense of horror.

I've spent about 10 years fighting with Palm/Outlook synchronization.. It's been a greater battle than hacking WordPerfect hex files to make my printer work, or futzing with obscure Hayes commands to get my 2400 bps error-correction enabled.

I've learned a lot about synchronization from Chapura, and it's all been painful.

I must admit though, that while their Palm KeySuite is dumb and ugly, the current version does work. I regularly sync my decrepit Palm to Outlook 2003 and it hardly ever blows up.

So I can believe that Chapura might get the Outlook to iPhone connection working better than Apple, Google or anyone else. Unfortunately I'm also confident that their corresponding iPhone task app will be very ugly.

Which brings me to the sense of horror. If Chapura follows past practices, they'll create a suite of apps for the iPhone that will mirror those on Outlook. They'll be ugly but reliable. I might end up replicating what I do now on my Palm. Sync from home to native iPhone apps, and from work to Chapura's future suite.

Kafkaesque.