Hello,
You can restore the database from within phpmyadmin using the import facility and you can also take a backup of your database from within cPanel backup facilit which will allow you to download a .sql backup of your choosen database, if I remember correctly you can also restore a database from the backup of section of your control panel also but doing it via phpmyadmin is better (in my aopinion anyway).