ZIP your Save/Restore backup (homebrew) 12
The 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. When Save/Restore runs, it created individual folders and files for each app it backs up and stores them in the /saverestore folder on the USB drive. However, there are two drawbacks to this type of backup. First, there is no easy way to quickly backup all those files in the cloud using a service like dropbox or box.net. And second it only saves the most recent backups so if you needed to go back more than just a day or two in backups, you can't. One way to combat this is to create a single archive of the entire /saverestore with all its subforlders.
While you can now use an app like Archive Manager to ZIP up those files, there is also a little easter egg within Save/Restore that will allow you to do just that, which will then make it easy to upload a single file to a cloud storage service. All you need to do is copy the "ZIP creation" script to the Save/Restore script repository and then run the script whenever you want to create the backup archive. The easiest way to accomplish this is to use Internalz Pro, by Jason Robatille, which is available in both Preware or webOS Quick Install.
- Open Internalz Pro
- Navigate to /media/cryptofs/apps/usr/palm/applications/org.webosinternals.saverestore/contrib
- Tap on the "org.webosinternals.saverestore" script and select "Copy". Find "/var/svc/org.webosinternals.saverestore", highlight it and then choose "Select" to copy it.
- Now, you can open up the Save/Restore app, wait for the data to load and choose "Save Application Data". Scroll all the way to the bottom and you will find "ZZZ Save Restore Zip Creation". It has the "ZZZ" in the name so this will be the very last script that is run if you "save all"
Once you run that script, a file called saverestore-99999999.zip will be created in your root USB directory (/media/internal/), with the 99999999 being replaced by the current date and timestamp. Depending on the size of your archive and what apps you have installed, this file can get rather large, so be aware of how many of these files are on our device and clean them up if you no longer need them
Unfortunately, this zip creations script will not run automatically if you have set up Save/Restore to auto-save every day. Luckily there is a work-around for this, but you will need to wait for our next Tip of the Day for those instructions