Question: how long does it take to restore the iphone?
Answer: Then the firmware will have to be installed, which can take 1/2 hour or so depending on what model device you have, then the data must be restored and media re-synced to the device. In some cases, it can take quite a number of attempts to get that to work.