Backup settings.
Add a function to back everything up via either SD card or the web.
Backup and restore is now available as a beta feature in Locale 1.0.5. This feature is disabled by default, and must be enabled by following the instructions below.
After backups are enabled, a new Backup menu item will appear under the menu of the Locale home screen. From that menu item, you can create a backup to the phone's SD card. When Locale is re-installed, it will automatically detect any existing backups and ask whether you'd like to restore them.
A few notes:
- The enabler must be installed to enable restore functionality. If you wipe your phone, don't forget to reinstall the enabler.
- The SD card must be present and available to Android. Backup and restore will be unavailable if the SD card is mounted on your computer via USB.
- After performing a backup, you'll have to manually disable and then enable Locale from the menu to get Locale running again
Please let us know if you experience any issues with the backup/restore system, but please note that we can't provide any support for this feature because it is a beta
HOW TO ENABLE BACKUPS
1. Allow installing apps outside of the Android Market
a. Go to the Android Settings
b. Tap on Applications
c. Tap on Unknown sources
2. Install Backup Enabler
a. Open the web browser on your phone
b. Go to this address: www.twofortyfouram.com/backup.apk
c. Once the download completes, tap on the download
d. Follow the instructions to install
Fogcat
I'm getting a backup failed message on my HTC hero (now updated to 2.1)
masterjo
is this already built in in the current version?
andocromn
I'm on the motorola backflip, and there is option for Unknown sources in applications. how can i install? is this in the market yet?
Ryan B
thank you for the beta feature! i'm very glad to see this happening.
my only additional request would be scheduled/automatic backups. i'm not particular whether that comes built in or via integration with something like mybackup pro, i just know that automated backups are way, way more effective and valuable than manual.
farble1670
re: the data format being incompatible.
that fact that the format for beta and 1.0 data isn't 100% compatible doesn't stop you from writing import / export code. that's what import / export means. bridging one data format to another.
you obviously have the code to read beta settings and the code to write 1.0 settings. you should have added export to beta that wrote the data into an intermediary format. and had import in 1.0 that read the intermediary format and wrote it into the 1.0 format.
this... more
re: the data format being incompatible.
that fact that the format for beta and 1.0 data isn't 100% compatible doesn't stop you from writing import / export code. that's what import / export means. bridging one data format to another.
you obviously have the code to read beta settings and the code to write 1.0 settings. you should have added export to beta that wrote the data into an intermediary format. and had import in 1.0 that read the intermediary format and wrote it into the 1.0 format.
this is the sort of thing i expect in a paid, $10 app. as for adding back up and restore, i'd vote against it. if my phone crashes and i lose my locale data, that's the very, very least of my concerns.
the time for this feature was 1.0, it's of little use now.
Umberto
I already did the migration. It's ok for me if this is the last time. From now on I want backup-restore features!
gordon byers
I had to upgrade the firmware on my HTC Hero... Lost all of my locale situations.
When the Android 2.0 update is realeased for Hero i'll have the same problem again....
Export/Import of settings is a must!
Steven Rothkin
At least give the ability to copy the data files to the sdcard and then reimport them (within the same version of locale). This will be very helpful if I have to factory reset my phone (as Motorola is suggesting).
Steven Rothkin
I encourage you to provide backup support for your application by integrating with an application called MyBackup Pro, developed by RerWare, LLC. They have instructions on how you can integrate with their application for backup and restore functionality at the following link: http://www.rerware.com/MyBackup/integration.html
You can also contact their support team by email with any questions at the following email address: Support@RerWare.com
Thank you for a wonderful application, and I look forward ... more
I encourage you to provide backup support for your application by integrating with an application called MyBackup Pro, developed by RerWare, LLC. They have instructions on how you can integrate with their application for backup and restore functionality at the following link: http://www.rerware.com/MyBackup/integration.html
You can also contact their support team by email with any questions at the following email address: Support@RerWare.com
Thank you for a wonderful application, and I look forward to having the ability to backup and restore your application's data using MyBackup Pro.
ttabbal
backup: tar cvf /sdcard/locale.tar /data/data/edu.mit.locale
restore: tar xvf /sdcard/locale.tar -C /
I put those into GScript and it seems to work for me. It's crude, and might cause other problems, but it does in fact work. I can backup, remove locale, reinstall locale, and restore the backup. When I load locale, I can see the situation I configured before the backup. I'd rather have something like the auto-snapshot system mentioned before, but this gets the job done for me.
ttabbal
I don't mind if it's a manual command line thing. Where are the settings stored so I can backup/restore them myself as needed? I'm fine with it possibly not working, I'd just like to be able to do something to possibly save myself some time. I totally understand it not working between versions, and if I make it crash, I promise I won't ask for help with it.
raynerape
I agree with Carter that Backups should be implemented only when they can be implemented properly. Therefore I suggest the following features for backup functionality:
* Backup files should carry version used to create them.
* Backup Data convert plugins can be developed and maintained by first- or third-party. Locale should simply allow that when a backup is imported, a backup data convert plugin can be called to chew the data. The backup data convert plugin can read the version of the Backup, knows... more
I agree with Carter that Backups should be implemented only when they can be implemented properly. Therefore I suggest the following features for backup functionality:
* Backup files should carry version used to create them.
* Backup Data convert plugins can be developed and maintained by first- or third-party. Locale should simply allow that when a backup is imported, a backup data convert plugin can be called to chew the data. The backup data convert plugin can read the version of the Backup, knows the current version and should be able to convert or strip uncompatible and deprecated conditions.
Carter
The remaining duplicate functionality is basically covered by: http://feedback.twofortyfouram.com/pages/5655-locale-feedback/suggestions/223013-i-think-it-would-be-neat-if-an-external-application-like-astrid-could-create-a-temporary-situation?ref=title
raynerape
Allow third party applications to add new Locale rules using intents. This will allow third party apps to automatically add default rules useful for novice and casual users (i.e. an app that can be launched via Locale can automatically set Locale to launch it at certain times, i.e. apk backuper, etc.). Precaution should be taken against dangerous rules implemented by third party apps - all rules added by third party apps should be manually approved within Locale before activated (i.e. they are added as d... more
Allow third party applications to add new Locale rules using intents. This will allow third party apps to automatically add default rules useful for novice and casual users (i.e. an app that can be launched via Locale can automatically set Locale to launch it at certain times, i.e. apk backuper, etc.). Precaution should be taken against dangerous rules implemented by third party apps - all rules added by third party apps should be manually approved within Locale before activated (i.e. they are added as deactivated rules, and must be manually activated to work).
raynerape
Is it completely duplicate? Is the ability of third party apps able to import rules in Locale also a duplicate at the other request?
Carter
This is a duplicate of: http://feedback.twofortyfouram.com/pages/5655-locale-feedback/suggestions/74784-backup-settings-?ref=title
Royalness
Why doesn't Locale just collaborate with MyBackup Pro? Seems easy enough...
janiskfp
I guess I'm not sure why this would be so hard, if it can be cleanly uninstalled, it can be copied. If the top of the code used a version check and a pop up to collect file/directory name, and backups are version specific, and a pop up says you have to have all the plugins installed that you had (spiffy it it listed them), it would be just a copy to an accessible part of the sd card. For me it's just a matter of a copy in a backup place that's moveable to appdata. If you wanted to get extra accomodati... more
I guess I'm not sure why this would be so hard, if it can be cleanly uninstalled, it can be copied. If the top of the code used a version check and a pop up to collect file/directory name, and backups are version specific, and a pop up says you have to have all the plugins installed that you had (spiffy it it listed them), it would be just a copy to an accessible part of the sd card. For me it's just a matter of a copy in a backup place that's moveable to appdata. If you wanted to get extra accomodating, the backup could include the apk of the version of the backup and revert to import the data, and then advise an update.
Don't forget, though, if the flashers are impressed and use an app, devs make cool ROMs and apps that work with a package because the perceived need is there. Given that this is an open source platform, that's where the cutting edge is. It's not as much with The originator as it would be with a closed source platform.
Carter
No, XML is even more complicated: it requires creating an entirely new storage format in addition to the format used internally.
djkatz33
This can't be exported to say an XML file that can then be re-imported?