Welcome to LG webOS - Smart TV, Phone, Signage, Appliance User to User Support Forum

Register now to gain access to our webOS user support forum. Once registered and logged in, you will be able to post a user to user support request topic to this site or reply to existing topics posted by other users. You can also take part in our other webOS user forums. You'll be able to customize your profile, receive reputation points, while also communicating with other members via your own private inbox, plus much more!

This message will be removed once you have signed in.

Sign in to follow this  
Followers 0
NewsDummy

PreCentral: ZIP your Save/Restore backup (homebrew)

1 post in this topic

Save Restore ZIP CreationThe 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. 

  1. Open Internalz Pro
  2. Navigate to /media/cryptofs/apps/usr/palm/applications/org.webosinternals.saverestore/contrib 
  3. 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.
  4. 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

mf.gif
emailthis2.gif bookmark.gif


a2.imga2t.img8a6PKr6e69M

View the full article

Share this post


Link to post
Share on other sites
  •  Like what you are reading? Please help us by sharing this content.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

  •  Like what you are reading? Please help us by sharing this content.