WordPress.org

Ready to get started?Download WordPress

Forums

Need help with WP restore (8 posts)

  1. rgeczi
    Member
    Posted 4 years ago #

    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.

  2. rgeczi
    Member
    Posted 4 years ago #

    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.

  3. Shane G.
    Member
    Posted 4 years ago #

  4. rgeczi
    Member
    Posted 4 years ago #

    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.

  5. wphelpcenter
    Member
    Posted 4 years ago #

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

  6. rgeczi
    Member
    Posted 4 years ago #

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

    Thank you.

  7. rgeczi
    Member
    Posted 4 years ago #

    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.

  8. wphelpcenter
    Member
    Posted 4 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic