Backups

What is the best way for backing up WHM and Cpanel. I am new to IT work so you have to explain what you say. I need something that will back up everything. Also, What is the best way to restore something if the server went bad.