Reply To: Restore wordpress site from backup

#196
WorP’Dev
Keymaster

That makes things easier.

Step #1 – Restore Files

The first thing you need to do is to extract the tar.gz backup into the new website root folder. When you do that and access you website, you should see the error message “Error establishing a database connection”, don’t worry about that message, it will go away after Step 3.

Step #2 – Restore Database

Create a database if you don’t already have one, then import the SQL file into it. The easiest way to do the import is to use phpMyAdmin, it’s most probably already available if you have cPanel.

Step #3 – Tell the WordPress Site about the Database

Open the wp-config.php file and update the database connection information.

This should do the trick. Let me know if you need more help.