belfashop

Just another WordPress.com site

Backup Database WordPress

Posted by belfashop on February 17, 2010

It is strongly recommended that you backup your database at regular intervals and before an upgrade.

Restoring your database from backup is then possible if something goes wrong.

Using phpMyAdmin

phpMyAdmin is the name of the program used to manipulate your database.

Information below has been tried and tested using phpMyAdmin versions 2.5.3, 2.5.7-pl1, and 2.6.1-pl3 running on Unix.

Backup Process with phpMyAdmin

1. Log into phpMyAdmin on your server

2. From the main login screen, select ‘Databases’

podz_backup_1.jpg


3. Now click the name of your database – or your WordPress database if you have several databases.

podz_backup_2.jpg

4. The next screen will show you all the tables inside your WordPress database.
Ignore those, and click the ‘Export’ tab on the top set of tabs.

podz_backup_3.jpg

5. Look at the left box at the top of the Export section. All the tables in the database you selected are in that box.

phpMyAdmin_backup_export.png
* If you have other programs that use the database, then choose only those tables that correspond to your wordpress install. They will be the ones with that start with “wp_” or whatever ‘table_prefix’ you specified in your ‘wp-config.php’ file.
* If you only have your WordPress blog installed, leave it as is (or click ‘Select All’ if you changed the selection)
* Ensure that SQL is checked!

6. The SQL section
Tick the following boxes:
* ‘Structure’
* ‘Add DROP TABLE’
* ‘Add AUTO_INCREMENT’ and
* ‘Enclose table and field names with backquotes’

7. The DATA section
Leave the boxes inside this section unticked, but make sure to keep the checkbox next to the “DATA” heading checked.

phpMyAdmin_backup_data.png

8. Tick the ‘Save as file’ option, and leave the template name as is.

podz_backup_5.jpg
9. Now click ‘Go’ and you should be prompted for a file to download. Save the file to your computer.
Depending on the database size, this may take a few moments.

10. You have now backed up your database.

If you wanted, you could download a backup in each of the compression formats. Your choice. For example: None and “zipped”:

podz_backup_6.gif

Remember – you have NOT backed up the files and folders – such as images – but all your posts and comments are now safe.

Belfa Shop | Sprei | Balmut | Gulmut | Mukena | Mukena Bordir | Minyak Zaitun | Mutiarahati

Leave a comment