Lets say that I decide to jailbreak my phone and then take regular backups (to save messages etc.) Sometime down the line I the decide that I don't want the phone to be jailbroken anymore so I restore the phone. I want my messages etc back so I will obviously want to restore from a backup I took. Will the jailbreak still be completely gone or will restoring from backup bring bits of it back?

If it is the case that jailbroken backups keep parts of the jailbreak then surely you can never go back to a vanilla ios, unless you forsake all backups and start over.

Upon restoring you will need to 'setup as new phone' to "completely" (as far as we know) remove the Jailbreak 'bits'. When you do this, you will lose all your settings and texts but the rest can be easily, and quickly, setup again - as described above, everything should be ready and waiting your PC/Mac now.

Please correct me with Windows, I have little idea what's going on with that OS anymore.

MacRumors attracts a broad audience
of both consumers and professionals interested in
the latest technologies and products. We also boast an active community focused on
purchasing decisions and technical aspects of the iPhone, iPod, iPad, and Mac platforms.