The Omni Group Forums

The Omni Group Forums (http://forums.omnigroup.com/index.php)
-   OmniFocus for iPhone (http://forums.omnigroup.com/forumdisplay.php?f=49)
-   -   OmniFocus for iPhone - standalone backups? (http://forums.omnigroup.com/showthread.php?t=9263)

naty 2008-08-06 05:13 PM

OmniFocus for iPhone - standalone backups?
 
I am looking for a GTD app for my iPhone, and I'm seriously considering OmniFocus for iPhone. I'm not looking for a desktop app (and I don't have a Mac so I couldn't use desktop OmniFocus if I was).

Since I don't plan to use a desktop app, I don't need "syncing" per se, but I do want to be able to back up my database so that I can make offsite copies, burn them to disk, etc. The database backup should be in a human-readable (or at least documented) format so that if I ever want to migrate my database to a different app in future, I can.

I understand that iTunes syncing will back up my database, but in an opaque file hidden on my PC. The WebDAV syncing sounds interesting (I have a BlueHost account and I think they support WebDAV). Will setting up a WebDAV server to sync to OmniFocus for iPhone result in my database appearing in some decipherable format on my server, without needing a copy of desktop OmniFocus?

Thanks,

Naty

Lizard 2008-08-06 05:29 PM

Setting up a WebDAV server to sync to OmniFocus on your iPhone will put a copy of your OmniFocus database on the WebDAV server.
The file format is a series of XML files compressed into .zip files. There is no public documentation of the format. So it's somewhat human-readable, but not as convenient as plain text or something.

For example, I just added a task to my OmniFocus database, and the XML for it looks like this:

[CODE]
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<omnifocus xmlns="http://www.omnigroup.com/namespace/OmniFocus/v1" app-id="com.omnigroup.OmniFocus" app-version="77.9.0.103820" os-name="NSMACHOperatingSystem" os-version="10.5.4" machine-model="MacPro3,1">
<context id="pH_AComJRtO" op="reference">
<added order="4">2008-07-06T00:37:48.553Z</added>
<modified>2008-08-05T06:05:16.837Z</modified>
<name>Computer</name>
<rank>-2</rank>
</context>
<folder id="pfTns_620w9" op="reference">
<added>2008-07-06T04:20:05.864Z</added>
<modified>2008-08-04T23:17:35.923Z</modified>
<name>Work</name>
<rank>-1610612736</rank>
</folder>
<task id="mqK_FgC6HiH" op="update">
<project>
<folder idref="pfTns_620w9"/>
<last-review>2008-07-25T07:00:00.000Z</last-review>
<review-interval>@1w</review-interval>
</project>
<added>2008-07-26T01:01:08.009Z</added>
<modified>2008-08-07T01:27:29.740Z</modified>
<name>Testing</name>
<rank>2147475456</rank>
<order>parallel</order>
</task>
<task id="flXIcU_LX47" op="update">
<task idref="mqK_FgC6HiH"/>
<added>2008-08-07T01:27:19.534Z</added>
<modified>2008-08-07T01:27:29.740Z</modified>
<name>demo file format</name>
<rank>1610612736</rank>
<context idref="pH_AComJRtO"/>
<order>parallel</order>
</task>
</omnifocus>
[/CODE]

naty 2008-08-06 05:46 PM

Thanks Lizard! That's somewhat human-readable. I guess migrating to a different app would be tricky (I'd need to reverse-engineer the format and write a perl script - not a simple undertaking).

If something horrible happens to my iPhone database, I assume I can sync back from the WebDAV database? If I was using this as my backup mechanism, would I want to disable iTunes syncing of my OmniFocus database (since I understand this slows down syncing quite a bit)?

Lizard 2008-08-06 09:04 PM

Syncing OmniFocus with iTunes and WebDAV both is technically redundant. (But that's kind of what backups are all about, isn't it?)

It probably comes down to a personal choice. Is it worth waiting a little longer* every time you sync in order to have your data backed up in two different places?

iTunes only seems to keep one backup at a time (so if it dies mid-back-up, you have none). It also doesn't let you selectively restore some stuff without restoring everything. And as far as I know, those backups aren't human-readable. It might be more worth your while to create a backup of the data on your WebDAV server occasionally instead. Copy those files to wherever you keep your computer backups or something.

*I don't have firm data on how much longer it is, so I recommend you test it for yourself once you've been using OmniFocus for a while and have a bunch of data.

naty 2008-08-07 06:35 PM

Is there no way to separate out just the OmniFocus part of the iTunes backup? If there was just a subdirectory I could copy somewhere to have redundant copies in case iTunes got confused and nuked my OF database (which I gather can happen when upgrading iPhone apps) or something happened to my PC, I would probably live without the semi-human-readable WebDAV backup and just do that instead.

Andrew 2008-08-07 08:13 PM

We don't know of any way to do that, sorry. Obviously, it would be nice if Apple provided some more granular backup facilities in iTunes, especially for those of us who aren't developing software for Windows (and our customers).


All times are GMT -8. The time now is 08:39 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.