Backup of Mysql database using PhpMyAdmin

Discussion in 'MySQL' started by ndshgyta, Jul 22, 2009.

  1. #1
    Backup of Mysql database
    It is assumed that you have phpMyAdmin installed since a lot of web service providers use it.

    0. Open phpMyAdmin.
    1. Click Export in the Menu to get to where you can backup you MySql database. Image showing the export menu.
    2. Make sure that you have selected to export your entire database, and not just one table. There should be as many tables in the export list as showing under the database name.
    3. Select"SQL"-> for output format, Check "Structure" and "Add AUTO_INCREMENT" value. Check "Enclose table and field name with backquotes". Check "DATA", check use "hexadecimal for binary field". Export type set to "INSERT".
    4. Check "Save as file", do not change the file name, use compression if you want. Then click "GO" to download the backup file.

    Restoring a backup of a MySql database
    1. To restore a database, you click the SQL tab.
    2. On the "SQL"-page , unclick the show query here again.
    3. Browse to your backup of the database.
    4. Click Go.
     
    ndshgyta, Jul 22, 2009 IP
  2. morehawes

    morehawes Peon

    Messages:
    11
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    PhpMyAdmin is such an amazing tool. I would advise compression for large databases. I was amazed at how much the filesize was reduced!
     
    morehawes, Sep 11, 2009 IP
  3. imanpatrick

    imanpatrick Peon

    Messages:
    138
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    yeah you're right buddy:)
     
    imanpatrick, Sep 11, 2009 IP