ios restore from backup
I have a full encrypted backup of an iPhone5 via iTunes made when the device was on iOS 9.3.2.
Will I be able to install this backup on an iPhone 6s (or 7) running 9.3.3 or even 10 (when that comes out) ? So, is the backup just a backup of the data and settings or is it constrained by the OS version in that my "old" backup will not install onto a device running a newer OS?
iPhone 5, iOS 9.3.2