Does adb backup/restore work between 2 different devices?

Does anyone know if adb backup/restore works (sample guide here) between 2 different devices. or do the devices need to be the same type? I'm planning on upgrading from my Galaxy Nexus to the Nexus 4, and this process would obviously be much easier if I could take all of my app data with me. I've haven't messed with this feature yet myself, but I'm sure someone here has.