ICE, ICE baby (and CBP stuff too)

So how easy is it to completely backup your phone then factory reset/wipe it then fully restore it?

Asking for a friend.