Quantcast
Jump to content

PreCentral: ZIP your Save/Restore backup (homebrew)


Recommended Posts

Save Restore ZIP CreationThe WebOS Internals' homebrew app 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 . 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


a2t.img8a6PKr6e69M

link hidden, please login to view
Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Similar Topics

    • By mradyali
      we are developing player for LG,  we want to get available subtitles  for the VOD, like this one

      link hidden, please login to view textTracks() didn't return any result , is their any custom API or internal call to get them?
      Note :  audioTracks() work like  charm.
    • By Justin Tan
      Found multiplex application that use letsencrypt stop working in 30 September 2021 on LG WebOS 3.5. This appear to be wide spread multiplex version of WEBOS. 
      See 
      AND 

      link hidden, please login to view As PLEX blaming to be LG fault. LG please provide solution to only 2 year old TV
      LG
      Our current app is available on 4K/UHD LG television models running the following system software:
      webOS 3.0 webOS 3.5 webOS 4.0 webOS 5.0 No 720p or 1080p (“full HD”) sets are supported for our current app at this time.
      Note: Due to root certificate limitations with the device OS itself, only webOS 5.0+ devices support secure connections with a personal Plex Media Server. To allow connections to a personal server, devices running earlier webOS versions must be set to Allow Insecure Connections in the TV app settings and the Plex Media Server must be set to Preferred for the Secure Connections preference.
    • By Jjufyu23
      Hi,
      I'd like to easily stream/cast some movie files (.mkv, .mp4 etc...) on my Ubuntu 21.04 PC to a LG Smart TV having WebOS 4.9.x.
      Both TV and PC are connected on the same LAN network via ethernet cable!
      My router does not provide any UPnP feature!
      I tried to use (with no success):
      - Kodi - enabled UPnP/DLNA and shared my library, then right clicked on a movie and ran "Play using", selected "TV" but I was not able to see anything on my LG TV (i went to Movies and Photos and did not see any remote device or other stuff) (does this method nroamlly work? Maybe there is something wrong with my Kodi / Router configuration? What screen do I have to access on the LG TV to see the DLNA devices?)
      - Integrated Ubuntu "Media Sharing" (see https://ubuntuhandbook.org/index.php/2020/04/home-media-server-ubuntu-2004/) - same as above, I could not see any device from the TV when this option is enabled
      - VLC UPnP feature - same as above
      What options do I have, without buying any additional device like Chromecast, Raspberry PI etc...?
    • By ROSSMAN
      I am creating a streaming application, where user can access a list of mkv files from my server, Mkv is not supported in web browsers and it is not loading properly within my webOS web app.
      I cannot modify my files to another video format.
      Is there a native player for LG WebOS that I can embed into my web application ?
      Is there any video player with web sdk to play mkv on a smart tv.
      Ps: my videos are working well on chrome, as for Firefox or Safari, it tells me that the format is not supported.
    • By Arthur Dent
      Just getting the runaround from LG, only want a baseline figure, they sent me this
       
      , our technicians have explained that we cannot calculate the unit's actual power consumption when not in standby because there are too many factors that could affect this calculation. These factors include how many pixel refreshers are run, whether the unit is connected to the internet, external devices connected, speakers connected, sound systems connected, HDD connected and recording set ups. I am afraid that we consequently cannot answer your question.

      we all know LG are not helpful to customers , but there’s no need to keep proving it.
      this TV has a good energy rating so figures must be available, they either dont care or understand what I am asking
       
      thanks
       

×
×
  • Create New...