These two scripts are certain to become your total backup/restore procedure if you flash ROMS as frequently as I do! They are still a work in progress, so I welcome comments and suggestions. In addition, there is some new functionality in 4.1 only; it's option is simply '-c':
bkapps -c and
This option is to be used alone, no others apply. This represents a COMPLETE backup/restore. What do I mean by complete? EVERYTHING, with the exception of on-screen widgets. If you know how they are programmed that would be obvious as to why. So, this even includes all of your accounts, Google/Facebook/Corporate/Twitter, and background wallpaper. It even includes your MMS messages!
How quick are they?
How about 46 seconds to backup 51 market apps, including all data, mms, etc?
How about 2 minutes, 26 seconds, to restore all of that back?
Note that only '-c' saves everything. '-a' will back up apps + data, but no accounts, no mms, desktop, etc.
I will also note this, since I've stated this is a 'progress in works': Either use just '-c' or just '-a' along with app lists; the two right now are not playing well together. I recommend '-c' since it does everything, and I presume that's what 99% of you are looking for. In addition - this currently only stores ONE backup. Which means if you have a full backup taken, and you accidentally run bkapps again say on a fresh ROM with no apps ... you just blew away your backup. So only run this when you are doing a FULL backup. Future version will allow for multiple.
Usage: bkapps -a [app1 app2 app3]
-a -> Backup ALL apps and their data
-c -> COMPLETE backup, including accounts, mms msgs, desktop, etc
App lists are separated by spaces
If you specify -a, everything will be backed up.
If you want only certain apps, specify them without
the -a option. In addition, only partial names of
apps need to be specified, ie faceb will match on
Use rstapps to restore.
Usage: rstapps [app1 app2 app3] -a -f -np -nd -p -x [app1 app2 app3]
-a -> Restore ALL apps and their data
-c -> COMPLETE restore, including accounts, mms msgs, desktop, etc
-f -> force reinstallation, even if local is more recent
-np -> Don't set permissions
-nd -> Don't restore data files
-x -> Exclude following apps from restoration
-p -> Fix permissions only
App lists are separated by spaces; the list ends when the next
parameter (ie. -f) is specified.
In addition, only partial names of apps need to be specified,
ie faceb will match on com.facebook.katana.
NOTE: If apps are running when you try to restore them, they WILL be killed