#!/bin/bash 

echo shellbackup by ally && echo Backup the on device data of the following apps. && echo && echo Photos && echo Messages or SMS && echo Contacts && echo && echo Shellbackup doesn’t backup jailbreak data like iTunes and iCloud backups do. You can backup all of the above apps at once by type backupall as the root user to create a backup at /var/mobile/shellbackup.zip of the on device data of the above apps. Every time you make a backup, it will overwrite the last one unless you move the old backup to somewhere else before running backupall again. Type restoreall as the root user to restore the backup at /var/mobile/shellbackup.zip. The Contacts, Messages or SMS, and Photos apps cannot be running in the background when typing backupall or restoreall. && echo && echo How to backup all the above apps and restore them to a different device or firmware && echo && echo Backups are cross firmware and cross device compatible. You can backup on any firmware or device and restore them to any other firmware or other device as long as both are supported by shellbackup and have it installed. Simply copy the file shellbackup.zip from /var/mobile and paste it to the other device or other firmware of the same device at /var/mobile. Then type restoreall as the root user to restore this data. Some older firmwares may not support all things backed up by newer firmwares or devices. && echo && echo Type the following commands for more info about backing up apps separately && echo && echo && echo shellmessages && echo shellphotos && echo shellcontacts