Back up vB database

What is the best way to backup a vbulletin database so everything I have is saved and I can move it to my new server. I am asking this because last time I tried, I screwed something up and lost all my data :(. Can you explain the exact steps on how I would back it up and then reupload it.