Set up question

Fully charged the phone, went thru initial setup of Google account, WiFi, etc, used smart switch for all apps and text messages (about 20,000). I think it was around 5gb total transfer. I was up and running after 2 hours or so.
Mine is restoring now does it have to be on wifI? Or can it be regular data?