This backup method will first save your packages in a file. It is a text file. After that you have to move this file to your computer. After that you can easily update and jailbreak your device. Finally, you have to import this file into the iPhone.
How to Backup Cydia Apps
Step 1: First of all, you have to launch MobileTerminal on your iDevice like iPhone.
Step 2: Scondaly, you have to type the following command:
dpkg –get-selections> installed-apps.txt
Step 3: This command line will securely save a text file. You will get it in /var/mobile directory and its name is “installed-apps.txt”. Afterthat you have to save this file on the computer. You have to save via SSH.
How to Re-Install Packages
Update your iPhone. After updating the iPhone, you will get a newer version of iOS. Now you have to jailbreak it again. Install MobileTerminal. You have to use Cydia to install it. Then follow the following instructions.
Step 1: SSH into the iPhone. Copy installed-apps.txt file in the directory /var/mobile.
Step 2: After that you have to type the commands in your MobileTerminal
alpine (It is a default password. If you want, then you can change the password. You just have to type your password to change it. )
If you face any issue, you have to type this command
Now wait for a couple of minutes. Cydia will re-install your packages automatically. [ad1]
You can also watch this video to backup your Cydia apps