I’ve personally had limited success with the backup/restore plug-ins that are commonly available. Many times, the best backup plug-ins don’t allow for a direct restoration from a backup file. So I do things manually. It’s a bit more difficult, but far more reliable, too.
Backing up with phpMyAdmin
- Log in to your host’s control panel (it might be cPanel, it might be something else).
- Find phpMyAdmin and go to your WordPress database
- Click “Export”
- Make sure all tables are selected
- Click the option to save as a text file
- Export the database and save the exported file in a safe place.
Restoring with phpMyAdmin
- Log in as before, go to phpMyAdmin, select your database
- If you want a full restore (i.e. delete everything and roll back in your backup file):
- Empty all of your database tables
- Click “Import”
- Load your backup text file to restore all of your previous data
I’ve done this with 10 different sites. The only times it has problems is when the backup file is huge (>2MB). In those situations, you’ll need to open your backup file in a text editor (Notepad or Wordpad) and copy-paste each set of SQL queries (I break it up by table) into the phpMyAdmin statement window. Even then, it’s a fairly quick process and will work every time.