Default full backup

I see that there is a post to be able to remove root. I was just curious, after that is done how could someone go about making a full backup in the event I need to restore back to stock for warranty purposes?