Open phpMyAdmin and select the database you want to back up. In this example we have selected the database called “awcdevWP.”
Click on the Export tab and then click on the radio button for “Custom – display all possible options.”
In the Output section select “Save output to a file.”
In the “Object creation options” section check the box for “Add DROP TABLE / VIEW / PROCEDURE / FUNCTION
/ EVENT
/ TRIGGER
statement” and uncheck the box for “Add CREATE PROCEDURE / FUNCTION / EVENT
statement.”
At the bottom of the page click on the “Go” button. This will save a .SQL file to your computer which contains all the data in your WordPress database, and can be used later to restore it.