The Most Active and Friendliest
Affiliate Marketing Community Online!

“Adavice”/  “1Win

Backing up database from phpMyAdmin

Status
Not open for further replies.
S

SkinnerW

Guest
Backing up database or creating a "database dump" is pretty much straight forward process and can be easily done from phpMyAdmin.

Depending on your host settings you may have separate phpMyAdmin panel for every database or single interface to manage all of them.

First step - you need to login into phpMyAdmin interface. In the left column you will see list of databases you can manage - click on one you need to back up.

On the next page you will see list of tables that were created in this database.
phpMyAdmin-lft.png


On top of the page click "Export" tab.
phpMyAdmin-tabs.png


Next page will show options how you can save back up file.

- In the "Export" section "select" field you want to highlight all options (if they are not highlighted already) and check "SQL" radio.
phpMyAdmin-export.png


- In the "Options" section you can leave default settings. Following boxes should be checked:
- Structure - checked
- Add AUTO_INCREMENT value - checked
- enclose table and field names with backquotes - checked

- Data - checked
- Maximal length of created query - leave 50000
- Use hexadecimal for BLOB - checked
- Export type - select "INSERT"
phpMyAdmin-options.png


- check "Save as file" box
- File name template - leave default
- Compression - check "none" unless your database is huge than you can use "zip" or "gzip" compression
phpMyAdmin-save.png


Click "go"...

Program will create sql file and you should see pop-up window asking if you want to save or open file - check save and file should be saved to default location on your hard disk.

That's it. Now you can easy restore your database if there is a problem or you need to move it to different server.
 
Status
Not open for further replies.
MI
Back