you need to go to phpmyadmin and click the export button. this will save a copy of the db to your hard drive.
From the command line, execute the following: mysqldump –-user yourusernamehere –-password=yourpasswordhere yourdatabasename > anynameforyourbackuphere