HOW TO - Use PKGBackup to safeguard your Jailbreak Apps & Settings

Discussion in 'Jailbreaking & Hacking Tutorials & How-To Guides' started by f4780y, Jan 8, 2012.

  1. f4780y

    f4780y Super Moderator Staff Member

    Joined:
    Sep 11, 2010
    Messages:
    7,106
    Thanks Received:
    636
    Trophy Points:
    113
    Location:
    Troon, Scotland
    Ratings:
    +636 / 0
    Welcome to our guide to using PKGBackup to safeguard your Jailbreak Apps & Settings.

    PKGBackup is a paid jailbreak application by Jibril Gueye available from the Cydia Store for $7.99. For sure this is one of the most expensive jailbreak apps most folks will invest in, but for my money, PKGBackup is worth its weight in gold!

    Whilst I am fully on board with making apps as KISSable as possible PKGBackup can sometimes be a little confusing so this guide aims to help by showing you a standard setup to safely backup and restore your jailbreak apps and settings.

    1. Purchase & Install.
    Before we start, I'm assuming you have purchased the package from Cydia have installed it! The PKGBackup icon should be visible on your springboard.

    [​IMG]

    You should also note that PKGBackup is an iPhone app which runs on the iPad in compatibility mode. This means it will not utilise the full iPad screen. Whilst the screenshots in this tutorial were taken on my iPhone (to avoid having to trim all the graphics) the screens will look almost identical on your iPad.

    2. Cloud Backup Preparation.
    PKGBackup's original (and still default) method for storing your backup data is to create a new Contact record in the Addressbook on your device and then rely on you backing that up with iTunes. Whilst this worked effectively enough in days of yore, with the invention of the cloud and ubiquitous cloud storage services such as DropBox, it was only natural that PKGBackup would be updated to utilise such services.
    I highly recommend you create a free DropBox account if you do not already have one, even if you do not intend to use it for any other purpose than storing your PKGBackup files! Visit dropbox.com a sign up for your free account before you go any further…
    Alternatively, PKGBackup also supports the SugarSync service, so if you prefer that or already have an account with them, feel free to use that service instead.

    3. Settings.
    All the PKGBackup settings used to appear in the main application itself, however the developer recently took the opportunity to split out the basic configuration settings into the main Settings app on your device.

    So, the first thing we need to do is open "Settings" and scroll down to PKGBackup, which will appear amongst your list of other jailbreak tweak preference settings below the stock settings but above the App Store application settings.

    The two most important settings to turn on in my opinion are "Scan Applications" and "Scan Packages".
    Setting these both to "ON" will make the PKGBackup App automatically scan your device for apps and tweaks whenever the app is launched. This is, in general, a good thing :)

    The other settings are all optional and down to personal preference, but the screenshots below show my own personal setup:

    [​IMG][​IMG]

    The iCal Integration option, if turned ON, will put an entry into your iCal calendar whenever you perform a backup or restore. Personally, I don't need this, but it's a nice touch if you are regular iCal user and want to see your backup and restore history in your diary! There is no harm in turning it on to see if you like it and turn it off again later… It does not affect your actual backups or restores in any way at all :)

    If you are the type of person that likes to describe their setup when it is backed up (perhaps you change configs often and need a reminder), then feel free to turn on the "Enter backup memo" option. This will prompt you to enter a description every time a backup is made...

    4. Setup.
    Within the PKGBackup application itself there is still some setup that we need to complete before we are good to go. Start the application and you will be presented with an dialogue box whilst the app scans your device…

    [​IMG]

    Allow this to complete normally, which should take no more than 15 seconds or so, and then you will be presented with the main application interface as follows:

    [​IMG]

    To complete the setup of the device, you need to press the "cog" icon in the top left hand corner of the screen which will take you to the setup screen:

    [​IMG]

    The main thing we want to do here is provide the details relating to the cloud storage account (Dropbox in my case) which you created in Step 2. As you can see, by default the backup is stored in the Addressbook.

    Press the "Connect to DropBox" or "Connect to SugarSync" area (depending on your preference) and you will be presented with the appropriate internet page with which to link your account as follows:

    [​IMG]

    Once done, your setup screen should look like this (assuming you picked DropBox like me!):

    [​IMG]

    The other options on this page allow you to setup device notifications so that PKGBackup will remind you to perform a backup at a regular interval. You can also specify a number of previous backups to maintain if you are so inclined.

    Once you are happy with the setup, press the "Accept Changes" button and you will be returned to the main application interface.

    5. Backup Preparation.
    PKGBackup offers you very granular control over the packages, apps, settings, and other files which it can backup and restore.
    By default, PKGBackup will backup:
    • All your installed Cydia Packages
    • SHSH Blobs saved on the device with iSHSH1T
    • All Webclips (bookmarks you have saved from Safari onto your springboard)
    • All non-standard Cydia Sources you have entered
    • All the settings for your installed Cydia Packages
    • The icon layout details for your springboard (compatible with any tweaks you may have installed)
    [​IMG]

    For most users, this is exactly what they want. However, you can optionally backup the following items:
    • All or selected data relating to stock apps on the device.
    • All or selected AppStore apps.
    Personally, I really don't really see the need to do either of these as the standard device backup, performed on iCloud (or iTunes) contains this data and I would rather entrust those details to apps which are designed to backup and restore them as standard. Backing up your AppStore apps using PKGBackup can also be VERY time consuming and take up a lot of space!

    However, say for example you want to also back up some additional data such as the contents of your camera roll, you can specify additional items to backup by pressing the blue arrow next to the relevant item.

    Pressing the blue arrow on the "Apple Stock apps" line takes you to this screen, where you can see that I have turned on the option to back up the photos in my camera roll...

    [​IMG]

    6. Performing a Backup.
    Performing a backup is as simple as pressing the "Do Backup" button in the bottom right hand corner of the screen...

    [​IMG]

    Once the data has been collected it will be transferred to your chosen destination. Depending on the speed of your internet connection and the size of your backup, this could take some time...

    [​IMG]

    Once the backup is complete, you should see a dialogue like this...

    [​IMG]

    Congratulations! You just completed your PKGBackup backup! :)

    7. Restoring from Backup.
    You can restore a PKGBackup backup to your device at any time. Simply open the application and press the "View Restore" button at the bottom of the screen. The two buttons should change colour to red to show you are now in restore mode...

    [​IMG]

    If you have multiple backups stored on your backup destination, you can press the icon on the right hand side of the packages list at the top of the screen. This takes you to a backup selection screen as follows:

    [​IMG]

    From here you can select which backup from your device you wish to restore. This can be especially useful if you have set PKGBackup to automatically backup your device when you start the application therefore necessitating you select an older backup to restore as the current one may be minimal on a freshly restored device!

    You are able to select or delete backup files from this screen. Use the spinner control to select a backup file and press "Select" when you are ready…

    Finally, when ready, press the "Do Restore" button on the main screen. Depending on the Settings you configured earlier the application will either ask for a confirmation that you want to restore, or it will simply restore the backup file if you did not specify that you want a confirmation!

    Congratulations! You now understand how to restore a backup using PKGBackup! :)

    PKGBackup contains other options, however these are not being covered in this guide at this time :) Hopefully you have enough information to effectively backup and restore all your jailbreak applications and tweaks from your device.

    7. Problems? Errors?
    The number one reason for things going wrong with a PKGBackup restore is related to the availability of repos and their stability. Anyone who has been around the scene when a new jailbreak is released knows that it can take several days before Cydia starts to behave properly because the repos are hammered with a huge number of concurrent requests. The restore process for PKGBackup relies on the various repos which host your applications being properly sable. If the repos cannot refresh then your restore will likely fail. Just wait until you know the traffic has calmed a little and try again.

    Other things which may go wrong are normally related to compatibility. If you have performed an IOS upgrade, particularly between major versions, you may be trying to restore packages which are not marked as compatible with your new version of IOS. Their installation will therefore fail, and this can sometimes have a knock on effect on other packages which are also dependant on the failing ones.

    You can also get the situation where the developer of a tweak did not mark any compatibility settings on their app but it will not work on the version of IOS you now have. In this situation the app or tweak could put your device into a bad state and necessitate a restore. PKGBackup is a great tool, but it cannot work magic and relies on the developers of packages using the various compatibility and dependency features that they have at their disposal.

    I hope you found this guide useful. If you have any questions or spot any errors please post a reply. Thanks for reading fellow hackers! :D
     
    Last edited: Jan 8, 2012
    • Like Like x 5
  2. TheRambler

    TheRambler Super Moderator Staff Member

    Joined:
    Jun 19, 2011
    Messages:
    3,068
    Thanks Received:
    124
    Trophy Points:
    63
    Location:
    Lancashire, England.
    Ratings:
    +125 / 0
    Excellent stuff, another very helpful stickie for me to guide people too!

    Suddenly things make sense
     
  3. mata7

    mata7 iPF Novice

    Joined:
    Apr 27, 2011
    Messages:
    17
    Thanks Received:
    0
    Trophy Points:
    1
    Location:
    Cuba
    Ratings:
    +0 / 0
    thank you i finally learn how to use pkgbackup, i fallow you guide and did i backup and restore and everything went well, again thank you
     
  4. Fid

    Fid iPad Junkie

    Joined:
    Oct 25, 2011
    Messages:
    505
    Thanks Received:
    36
    Trophy Points:
    28
    Location:
    Hinterlands of Northern California
    Ratings:
    +36 / 0
    I am looking for a backup utility that I can use to back up locally. This one seems to be the best of the ones that I read about in Cydia. The rub is that I am on dialup. Uploading to the cloud will take a long time while at home. Do you think this would be feasible of rme to use if I were to use the iTunes backup at home and then the pkgbackup while at the library using their wifi? It doesn't seem too fun if I were to have to restore at home from iTunes, then jailbreak, then drive six miles to restore the Cydia stuff. Perhaps the local backup is the best thing for me at this time.
    I searched the forums for information about backing up a jailbroken iPad and didn't find very much, so far.

    Sent from my iPad using iPF - Peace
     
  5. Wolfseye

    Wolfseye iPF Novice

    Joined:
    Jan 3, 2012
    Messages:
    34
    Thanks Received:
    0
    Trophy Points:
    0
    Location:
    Germany
    Ratings:
    +0 / 0
    Thanks for the Tutorial about PKGBackup. I bought it just a short time ago. Unfortunately, when I do the Dropbox Backup, all I got on Dropbox is a file with 101 KB (and I sure had a lot more stuff to backup than that). Why doesn't it really upload all the stuff I have on my Dropbox account but just a small file like this. Tried it 3x in a role, always the same result. What am I doing wrong ?
     
  6. f4780y

    f4780y Super Moderator Staff Member

    Joined:
    Sep 11, 2010
    Messages:
    7,106
    Thanks Received:
    636
    Trophy Points:
    113
    Location:
    Troon, Scotland
    Ratings:
    +636 / 0
    Nothing is wrong. That is your backup. Just like the iCloud or iTunes backup, it contains references to the packages on Cydia rather than the full packages themselves. This is highly efficient and offers many advantages. When the backup is restored the packages are installed again from their original sources.
     
  7. Wolfseye

    Wolfseye iPF Novice

    Joined:
    Jan 3, 2012
    Messages:
    34
    Thanks Received:
    0
    Trophy Points:
    0
    Location:
    Germany
    Ratings:
    +0 / 0
    Ah, thanks. ;) Good to know. ;)
    Thanks.
     
  8. TheRambler

    TheRambler Super Moderator Staff Member

    Joined:
    Jun 19, 2011
    Messages:
    3,068
    Thanks Received:
    124
    Trophy Points:
    63
    Location:
    Lancashire, England.
    Ratings:
    +125 / 0
    Fantastic Leigh, Ive just updated to 5.1.1, this time when the jailbreak was complete, I followed your "Restoring From Backup" section and walked away with an ipad, Jailbroken and fully complete with Cydia apps as I had in my previous jailbreak!! No searching involved for all the apps I had purchased, instead, click a few buttons and wham bam, automatically located and downloaded.....Job Done!!

    Yet another fantastic walkthrough that is worth its weight in gold, Many Many thanks mate.

    Anyone considering this package, think no more, buy it, possibly one of the more expensive apps in Cydia, but truly worth twice as much......dont tell the author I said that!!

    Chris
     
  9. Mickey330

    Mickey330 Administrator Staff Member

    Joined:
    Aug 30, 2010
    Messages:
    11,625
    Thanks Received:
    1,866
    Trophy Points:
    113
    Location:
    Western NY state (USA)
    Ratings:
    +2,061 / 0
    Oh, thanks for this post, Chris!

    I am going to upgrade my iPhone to iOS 5.1.1 and re-jailbreak it tomorrow. Since Cydia got hammered so badly this weekend, I was trying to decide to use PKGBackup this time or do the onsie twosie process to get my tweaks from Cydia.

    You saying that it worked fine for you just convinced me ... I'll use PKGBackup in the process tomorrow. The servers must have cooled off... :)

    Marilyn

    And I'll join with you in extolling the virtues of this tweak! I've been using it for almost a year now and it is such a timesaver. Well, well worth the price!
     
  10. TheRambler

    TheRambler Super Moderator Staff Member

    Joined:
    Jun 19, 2011
    Messages:
    3,068
    Thanks Received:
    124
    Trophy Points:
    63
    Location:
    Lancashire, England.
    Ratings:
    +125 / 0
    it was a real timesaver Marilyn, click on the right date and away it went, I walked off to make a coffee and when I came back, I was all finished and ready to go.

    I can't sing it's praises enough
     
  11. hotstuff

    hotstuff iPF Novice

    Joined:
    May 17, 2011
    Messages:
    59
    Thanks Received:
    0
    Trophy Points:
    0
    Ratings:
    +0 / 0
    hi; old post but i wanted to ask what could be causing my problems, every time i start PKGBackup it says package reset, then i go into the Gen Settings of my ipad to allow the scanning which after trying to launch PKGBackup again fails with the reset error, any ideas?
     
  12. Mickey330

    Mickey330 Administrator Staff Member

    Joined:
    Aug 30, 2010
    Messages:
    11,625
    Thanks Received:
    1,866
    Trophy Points:
    113
    Location:
    Western NY state (USA)
    Ratings:
    +2,061 / 0
    What is the version number of the tweak and from which repo did you get it? I ask because I cannot duplicate yur problem - PKGBackup works flawlessly for me.

    Marilyn
     
  13. hotstuff

    hotstuff iPF Novice

    Joined:
    May 17, 2011
    Messages:
    59
    Thanks Received:
    0
    Trophy Points:
    0
    Ratings:
    +0 / 0
    thanks for the reply

    v5.1.1 from cydia 10 bucks, i dont know hy you ask me what repo, i cant see any info like that unless i am doing something wrong
     
  14. Mickey330

    Mickey330 Administrator Staff Member

    Joined:
    Aug 30, 2010
    Messages:
    11,625
    Thanks Received:
    1,866
    Trophy Points:
    113
    Location:
    Western NY state (USA)
    Ratings:
    +2,061 / 0
    All I can suggest, then, is to contact the developer. Because you have the most current version and, again, I can't duplicate your error. Sorry to not be of better help.

    Marilyn
     
  15. hotstuff

    hotstuff iPF Novice

    Joined:
    May 17, 2011
    Messages:
    59
    Thanks Received:
    0
    Trophy Points:
    0
    Ratings:
    +0 / 0
    thanks for any advise, will do :)
     

Share This Page

Search tags for this page
backup jailbroken ipad
,
how to set up pkgbackup
,

how to use pkgbackup

,
how to use pkgbackup ios 7
,
how+to+use+pkgbackup 5
,
pkgbackup
,
pkgbackup apple stock apps
,

pkgbackup backup failed

,
pkgbackup ical integration
,
pkgbackup your backup failed to be stored on your device