WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] I think I destroyed my site and 1and1 is complicit (2 posts)

  1. mowz
    Member
    Posted 8 years ago #

    I noticed that my ISP 1and1.com has a neat new button called "1and1 Blog" and I clicked on it and went through the maybe 4-click creation process. It turns out that it was a default wordpress installation and it completely overwrote my own custom WP install.

    I have a backup of the site, but not a recent backup of the database. When I look through the database, all of my blog entries are still in there.

    Is there any way for me to revert back to my blog?

  2. Christopher J. Hradil
    Member
    Posted 8 years ago #

    first, if you have phpMyadmin or a similar tool do a backup of your db tables, do one backup or dump with structure and data, and one data only.

    then, to recover the old blog, try the following

    first try editing wp-config.php so that the db_name, user and password match the old blog information. this simple change could be all that's needed (unless of course you made customizations to your site's files, in which case you'll need to re-upload the edited files as well).

    if that doesn't do it, then using the backup of the db you made, and the phpMyadim tool, import the old table data into the new database (you may run into an error because of duplicate ID columns, if that happens, just dump all of the tables (empty the database, don't delete it), then restore using the structure+data backup).

Topic Closed

This topic has been closed to new replies.

About this Topic