Locale Feedback Forum

191 votes

Backup settings.

Add a function to back everything up via either SD card or the web.

Status: started

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

Carter Admin
  1. Comments
  1. I'm getting a backup failed message on my HTC hero (now updated to 2.1)

  2. 2

    is this already built in in the current version?

  3. 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?

  4. 3

    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.

  5. 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

  6. I already did the migration. It's ok for me if this is the last time. From now on I want backup-restore features!

  7. 2

    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!

  8. 3

    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).

  9. 3

    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

  10. 3

    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.

  11. 3

    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.

  12. 1

    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

  13. Admin
  14. 1

    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

  15. 1

    Is it completely duplicate? Is the ability of third party apps able to import rules in Locale also a duplicate at the other request?

  16. Admin
  17. Why doesn't Locale just collaborate with MyBackup Pro? Seems easy enough...

  18. 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

  19. Admin

    No, XML is even more complicated: it requires creating an entirely new storage format in addition to the format used internally.

  20. 3

    This can't be exported to say an XML file that can then be re-imported?

powered by UserVoice