WordPress.org

Support

Support » How-To and Troubleshooting » Need help with WP restore

Need help with WP restore

  • I used Cpanel to backup my WP contents to my home computer, in SQL format. Then I copied all the contents from it into a folder I created in a seperate folder called “blog backup”. Then I reinstalled WP, and imported the old database that I had made from my home computer. Afterwards, I copied all the files from that newly created blog backup folder into the newly installed WP directory.

    I thought after doing this, it would be fully restored. Wrong.

    Can someone please tell me what I am doing wrong? Thank you.

Viewing 7 replies - 1 through 7 (of 7 total)
  • To add,

    After doing it the way I mentioned, currently, it says “Error establishing a database connection.

    After the reinstall, I first tried to restore backup databases from my home computer, then copy all the backed up files into it. No luck. I then reinstalled WP again, this time copying the backed up files into it, then restore the database from my home computer. Still no luck. So, I really don’t know what else to do.

    Thank you.

    Shane G.

    @shane-g-1

    As much as I appreciate the reply, it didn’t really answer anything clear cut. I already referred to the WP section for backup and restore, which is what “aided” me during my backup and ultimate restore failure, so, what I am looking for is some guidance in how to proceed next. Those links are not helpful for my situation, and because I am fairly new to WP, a clear answer, after looking at all the information I posted, would be greatly appreciated.

    Thank you.

    wphelpcenter

    @wphelpcenter

    After re-installing WordPress, did you edit your wp-config.php file to supply the database login information?

    I did not. Can you please tell me what information to put in the WP-config file after re-installing?

    Thank you.

    From what I saw in the config file, all that needed to be changed was my SQL password. After doing that, saving it, I tried loading the blog, nothing. So, I am really not sure what else to change or proceed.

    wphelpcenter

    @wphelpcenter

    You should need to supply a database name, username, password, and possibly a host name depending on the setup of your webhosts MySQL. This may not be the same as your hosting account information but your webhost can likely help you determine it or help you reset the information so that you can enter it. You’ll want to make sure all of this information is accurate.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Need help with WP restore’ is closed to new replies.
Skip to toolbar