12/07/2009, 01:17 AM
|
#21 (permalink) | |
|
Member
![]() Join Date: Jun 2009
Posts: 469
Likes Received: 0
Thanks: 27
Thanked 60 Times in 32 Posts
|
Quote:
|
|
12/07/2009, 02:17 AM
|
#22 (permalink) |
|
Member
![]() Join Date: May 2003
Posts: 809
Likes Received: 10
Thanks: 16
Thanked 119 Times in 77 Posts
|
There's nothing in the Mojo SDK that can directly access the database
files that he's backing up (and there never will be), so yes whatever solution he comes up will always require some level of "hacking" to install and use, be it QI, or Preware or whatever. ian |
12/07/2009, 05:17 AM
|
#23 (permalink) | |
|
Member
![]() Join Date: Jun 2009
Posts: 1,368
Likes Received: 57
Thanks: 585
Thanked 112 Times in 97 Posts
|
Quote:
I've been through 4 Pres (3rd for wife and 2nd for me) and have had to rebuild everything, update, and start over again. Would love to test something like this out before 1.3.5 arrives soon and have a better fallback before I continue Patching and otherwise. Moving from 1.2 to 1.3.1 was not very clean, though much of our problems related to Sprint/Verizon issues and had nothing to do with the phones themselves. Keep up the great work and I'll look forward to your post. And if you need help, testing or otherwise, please let me know? Sorli...
|
|
12/07/2009, 04:31 PM
|
#24 (permalink) | ||
|
Member
![]() Join Date: Sep 2009
Posts: 245
Likes Received: 0
Thanks: 24
Thanked 39 Times in 24 Posts
|
Quote:
Quote:
When it is out I'll donate (again) for sure. Hmmm - I suppose that with winter coming you will be stuck indoors avoid the cold and doing even more development. Good for us.
|
||
12/07/2009, 04:52 PM
|
#25 (permalink) | |
|
Member
![]() Join Date: May 2003
Posts: 8,357
Likes Received: 316
Thanks: 2,130
Thanked 1,765 Times in 1,131 Posts
|
Quote:
If it's simply an encrypted file, can it be duplicated to the same phone after a wipe? Can it be duplicated to a different phone? |
|
12/08/2009, 01:08 PM
|
#26 (permalink) | |
|
Member
![]() Join Date: Nov 2004
Posts: 56
Likes Received: 0
Thanks: 7
Thanked 5 Times in 4 Posts
|
Quote:
Hi. Thanks for the link. Here's a summary of what I get from the messages and our own experience with webOS that I hope you'll find useful. Feel free to share this with others: BACKGROUND Under webOS, almost all third party applications are enhanced javascript web apps that only have limited access to the device and no access to the file system itself. This architecture keeps the device stable, user data secure, and prevents apps from interfering with each other. This architecture is similar to the "sandboxing" on the iPhone, but is a little more restrictive due to the programming language used. The only exceptions are a few specific native apps like "Classic" that have been developed with special permission from Palm and native development tools not generally available. FILE ACCESS According to Palm rules, any apps submitted to the app catalog must work solely within the Javascript framework. This means that in most cases they cannot read or write files. In their own installation folder, they can read static files, but not create or modify them. Outside of their installation folder, they can do neither. As we understand it, apps can only ask the user to select a file from the USB drive (the special partition viewable when in USB drive mode) and then pass the name of the selected file to the built-in system media, document, and image viewers. DATABASES Since apps can't write to files, to locally store their data, they create and access databases through a webOS system API. The databases are give a name by the application, but there seems to be no good documentation in the SDK about whether the database name corresponds to a matching file name, or where that file (if it's an individual file) might be located. This obfuscation is assumably intentional by Palm, as they might even swap out the underlying technology in a future release of webOS. Knowing this, it's easy to see how third party apps are limited in how they can manage and backup their data. WebOS runs linux under the hood, however, so it's possible to make a third party backup app compiled for linux to do a backup. Indeed, some of the developing tar-based solutions are probably exactly this. It's important to note that these apps break Palm's guidelines, however, so they can only currently be made available through Homebrew, and this functionality cannot be included in an app sold through the app catalog. It also doesn't answer the question of where the data is located. We third party developers don't know either, since the data managed by webOS. It's probably Palm's intention that apps should instead store all their data "in the cloud" and to have each app sync its data with a server-based sync solution. That might be fine for calendars and apps with a web-based counterpart. But for other apps, is it really reasonable to expect each third party developer to create their own incompatible web-based backup system, and then force users to log in separately into a separate account for every third party app? All this to say, backup the state of your sudoku game? We think not. Instead, when the system "Backup" app says "Your data is backed up automatically every day", IMHO it should be *all* your data, just as the text implies. Just like everybody else, we were surprised that this is not what it actually meant. Since webOS manages the creation and storage of third party databases, it seems reasonable that it should be responsible for backing them all up as well. If indeed all data belongs in the cloud, then Palm should put it there with one unified consistent interface. Like other developers, we're now exploring interim solutions, but hopefully Palm will fix this problem soon. Best regards, --tex Customer Support |
|
12/08/2009, 01:18 PM
|
#27 (permalink) |
|
Member
![]() Join Date: Jul 2005
Location: San Diego
Posts: 958
Likes Received: 0
Thanks: 121
Thanked 44 Times in 39 Posts
|
Wow, a very clear answer! I don't think I've seen this explained so thoroughly anywhere else. I hope Palm re-examines this issue. Their sandboxing also makes it impossible, for example, for companies like Mark/Space to sync existing calendars or contacts it does not create, e.g. those originating from Google or the Palm Profile. Synergy makes things unnecessarily complicated for users, rather than simplifying them, IMO.
However, one thing to consider regarding the idea that Palm should backup all data is that the Palm Profile simply cannot be trusted to do this reliably. There's no way for users even to find out what is actually stored there! If we acknowledge that the Palm backup is untrustworthy, then as things stand, every app developer has to buy into the cloud storage philosophy and provide for server space somewhere. As Tex wrote, this is also impractical. Thus, I'd rather see a solution for comprehensive backup to a computer. Last edited by Dr.Grace; 12/08/2009 at 01:25 PM. |
12/08/2009, 02:33 PM
|
#28 (permalink) |
|
Member
![]() ![]() Join Date: May 2009
Posts: 1,487
Likes Received: 13
Thanks: 252
Thanked 405 Times in 238 Posts
|
While I absolutely hate the fact that there is no way to back up all my data, I want to go on record with one quick statement: There has NEVER been a native Palm-based solution to backup 3rd Party Data! I have had Treos since 2003 with the Treo 600, and I know that we had Palm Desktop to sync PIMS data (and I sorely miss that solution), but even the old Hotsync functionality never synced 3rd party data. However, there were 3rd party applications (e.g. BackupBuddy) that would perform a complete snapshot of the device and allow you to restore that to a new device, which I did many times!
So, for everyone complaining that Palm should have come out with a better native solution for 3rd party data/apps (I would have hoped they would have done this), I am not surprised they didn't. What does surprise me is that there is no way to make the complete backup that the old PalmOS apps let you do... |
12/08/2009, 03:03 PM
|
#29 (permalink) | |
|
Legend
![]() Join Date: May 2005
Location: Winnipeg, MB, Canada
Posts: 3,883
Likes Received: 496
Thanks: 801
Thanked 12,955 Times in 1,495 Posts
|
Quote:
I'll post back once I'm able to
__________________
If you've liked my software, please consider to towards future development.Developer of many apps such as: WebOS Quick Install, WebOS Theme Builder, Ipk Packager, Unified Diff Creator, Internalz Pro, ComicShelf HD, LED Torch, over 70 patches and more. @JayCanuck @CanuckCoding Facebook |
|
12/08/2009, 03:41 PM
|
#30 (permalink) | |
|
Member
![]() Join Date: Jun 2007
Location: Kitchener, Ontario
Posts: 274
Likes Received: 0
Thanks: 116
Thanked 35 Times in 33 Posts
|
Quote:
In my opinion if the Mojo SDK forces catalog apps to use sandboxed APIs that store data in proprietary ways behind the scenes, then the Palm backup app should take care of transparently saving and restoring that data as part of its overall job function. This is what they've bred legacy Palm users and developers to expect...
__________________
Yeah, uhh... it's Kevin. (KevinT was already taken.) PalmPilot Professional, Palm V, Kyocera 7135, Treo 600, Treo 650, Treo 700p, Palm Prē, Palm Prē 2 |
|
12/08/2009, 03:56 PM
|
#32 (permalink) |
|
Member
![]() Join Date: Oct 2003
Posts: 1,650
Likes Received: 1
Thanks: 186
Thanked 203 Times in 133 Posts
|
PIM data is one matter but 3rd party application data is a whole different story. There is an API for backing up and restoring 3rd party application data using Google Documents and it is very slick indeed. Unfortunately most developers are too lazy to use it or they dont know about it.
Just take a look at some of the well written apps like Checkbook and Fuel. You will see how easy it is to import and export data using Google Documents. The nice thing is that these backup files do not get over written so you can have as many different versions as you want. Its a shame more developers dont use this.
__________________
Pilot 1000 -> Pilot 5000 ->Palm Pilot Professional -> HP 620LX -> TRG Pro -> Palm V -> Palm Vx -> Palm M505 -> Palm i705 -> Palm Tungsten|T -> Samsung i500 -> Treo 600->Treo 650 -> Treo 600-> Treo 700p ->Centro ->Treo 800w + Redfly C8n -> Palm Pre -> HP Touchpad R.I.P Palm 1996-2011 |
12/08/2009, 04:14 PM
|
#33 (permalink) | |
|
Member
![]() ![]() Join Date: May 2009
Posts: 1,487
Likes Received: 13
Thanks: 252
Thanked 405 Times in 238 Posts
|
Quote:
|
|
12/08/2009, 04:38 PM
|
#34 (permalink) | |
|
Member
![]() Join Date: Aug 2006
Location: Austin, TX
Posts: 204
Likes Received: 0
Thanks: 23
Thanked 21 Times in 14 Posts
|
Quote:
And if one ended up with a new phone, for some odd reason I can't see a tar xvf -C / working happily. Do you have an idea of how to do a restore, then? I've also had thoughts along the lines of using rsync, but that'd be a slightly more complex script...
|
|
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|



