Use Save/Restore to backup additional system files and images (homebrew) | webOS Nation
 
 

Use Save/Restore to backup additional system files and images (homebrew) 7

by Adam Marks Thu, 27 Dec 2012 8:55 pm EST

Save Restore Misc OS Backup filesThe WebOS Internals' homebrew app Save/Restore is great to backup your important application data in case you ever need to webOS Doctor you device, swap it out with a new device, or even transfer data between a phone and TouchPad. Typically, Save/Restore will save files that are tied to specific applications, such as progress in your games, specific stock quotes set up in a finance app, or settings/preferences for apps. However, there are a lot of other miscellanous files that you may find throughout webOS that are not tied to specific apps, but you would still like to save. These can include changes that you have made to the lockscreen or boot logos, the background for the phone dialer, or even the database files that contain some system data (e.g. cookies.db, database.db). While you would never want to restore those database files after a device swap or webOS doctor, it would be nice to restore those personalized image files.

Since this is not your typical Save/Restore function and does involve some additional homebrew knowedge, it's not automatically added to the list of supported applications within the app. But, there a little easter egg within Save/Restore that will allow you to backup or restore these files as needed. The easiest way to accomplish this is to use Internalz Pro, by Jason Robatille, which is available in both Preware or webOS Quick Install.

  1. Open Internalz Pro
  2. Navigate to /media/cryptofs/apps/usr/palm/applications/org.webosinternals.saverestore/contrib
  3. Tap on the "com.palm.app.deviceinfo" script and select "Copy". Find "/var/svc/org.webosinternals.saverestore", highlight it and then choose "Select" to copy it.
  4. Now, you can open up the Save/Restore app, wait for the data to load and choose "Save Application Data". Scroll down until you find "Misc OS Backup files" and ensure that it is toggled to "ON"
  5. Once you run that script, you will have all these files backed up to the USB drive on your webOS device. 
  • Be aware that when it comes time to restore these files after a device swap or webOS doctor, you will need to follow the directions above on the new device before you run the restore with Save/Restore in order to add that script to the app on the new device.

If you would like to see what files this script backs up (and have some knowledge of how to read save/restore scripts), you can edit the file on your device using Internalz Pro or you can view it on the WebOS Internals git repository.

4.25
Your rating: None Average: 4.3 (4 votes)

7 Comments

more of those costum save&restore scripts.
It would be so great to have an "own webOS-backup cloud" using simple .php script on serverside (home-server, NAS...) to recieve the files.

These profile can only be include changes that you have made to the lock screen or boot logos

On my device (Pre3) the file is called 'com.palm.app.deviceinfo'. But with this it works. Thanks!

oops...  wrong file. fixed!

There are others files I'd like to backup (text messages, address book, ...) but they don't seem to be covered by save/restore.

Those can't be backed up with save/restore, but here are some tips for you to save those:

 

Contacts: http://www.webosnation.com/export-all-your-contacts & http://www.webosnation.com/enhanced-contacts-vcard-export-patch-fixes-webos-contact-export & 

Text Messages: http://www.webosnation.com/export-your-text-and-instant-messages-webos-20

anything else?

Many thanks.