What's new
Apple iPad Forum 🍎

Welcome to the Apple iPad Forum, your one stop source for all things iPad. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

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

f4780y

Super Moderator
Staff member
Joined
Sep 11, 2010
Messages
7,113
Reaction score
652
Location
Troon, Scotland
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!

Cydia Description: This is a K.I.S.S. (Keep It Simple, Stupid) iOS application that backup/restore all cydia packages, in addition to preferences & springboard files. It also supports Categories & hidden files. Furthermore, you can now autobackup & schedule a backup.
PKGBackup is now cloud-aware, thanks to Dropbox. You now have the choose of storing you backup on the device and/or on Dropbox (which is recommend for large backup and or backup versioning).
There is no need to know FTP, SSH or other geeky stuff like other tools! If you can tap, you can use this app: "It's so simple a caveman can do it"!
Furthermore, you can also share/exchange/send your packages lists to others using Bonjour, Bump, Dropbox, Facebook & Twitter.I'm counting on your support & comments to make this app more KISSable ;)

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.

icon-pkgbackup2x.png


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:

7c76bc4b.jpg
3db9308d.jpg


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…

cf09856b.jpg


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:

adc75ec6.jpg


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:

8b8574a7.jpg


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:

d82c3737.jpg


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

e33f8966.jpg


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)
adc75ec6.jpg


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...

d7ee83f0.jpg


Note:The current size of the data which will be backed up by these options is shown on screen. Ensure you have enough space on your backup destination AND sufficient time + bandwidth to transfer the data every time you backup! In this example, backing up my camera roll will add another 313MB to the backup. That is quite a lot of data!

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...

adc75ec6.jpg


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...

f348cfa3.jpg


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

4ad45d25.jpg


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...

1e4633f6.jpg


Remember: If you intend to use PKGBackup to restore all of your jailbreak apps and tweaks onto a freshly restored device you will first have to complete the jailbreak, then install PKGBackup from Cydia, and configure the settings and application setup just like you did when you first installed PKGBackup to perform you backups! In other words perform steps 1,2, and 4 again after you jailbreak.

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:

00d98d8f.jpg


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:
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
 
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
 
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 ?
 
Wolfseye said:
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 ?

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.
 
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
 
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!
 
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?
 
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
 
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
 
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
 

Most reactions

Latest posts

Back
Top