• jpDiMaggio.com

    The site crashed some time ago. I think the server got migrated over to some other site.

    I finally have some free time to try to fix it. I was getting the “Can’t Connect to the Database” error. I edited the config.php to the new database name.

    First off: I don’t know why it has a new database name…

    But I found the name through MySQL. Put it in. It says, “No WordPress Intalled”. So I clicked the install.php.

    Now I have a blank WordPress.

    Is there any way to get all the old posts back somehow? I never deleted anything, so it may still be around somewhere. Or did I lose it all by allowing WordPress to install?

    Can I somehow restore it?

Viewing 7 replies - 1 through 7 (of 7 total)
  • I think you need to contact your hosting provider. If they moved the server and didn’t port your database correctly during the move, the original fault is theirs.

    Thread Starter mellojoe

    (@mellojoe)

    slight update:

    It saved my layout/template that I had created. I went through options and selected my custom layout, and it looks just like it did.

    But all the posts are still gone.

    Any way to recover those old posts?

    The posts should still be in your old database. Have you actually checked the db itself?

    All the content of your blog and other useful WP features and options are not stored in your domain directory, but rather inside the database that is associated with your WP installation.

    If your former hosting company moved and didn’t back up the DB, then there’s no way you can retrieve that information (unless you made copies).

    If you still have access to your old database (through MySQL, PHPMyAdmin or CPanel, depending on your hosting), you have two options:
    – Link your WP installation to that database (I think this is done through the wp-config.php file). If this is possible, try to make sure your DB won’t be moved again in the future, because you will have the same problem.
    OR
    – Export the contents of your database to your desktop (all three Database services mentioned above have this option) and then import them into your new DB the same way.

    If you do not have access to your old database, but made backups of it regularly, you should be able to retrieve those backups and import them into the new DB. If you did not create backups, you could ask your former hosting provider if they have any backups of your old database they could send you. Most hosting services have DB backup functionality running in the back-end (in case of hack attacks, hardware failure and the likes), and offer that service to their users.

    If your old DB is gone and there are no existing backups, you can always try to see if you saved any of your posts in your computer (as .txt or .doc files), and post them again in your fresh install.

    Hope this helps. Good luck!

    Thread Starter mellojoe

    (@mellojoe)

    Thanks everyone.

    I’ll try to find a backup of the database. I guess that’s my only option. ??

    Reminder to everyone – backup your database locally, frequently!

    Hello Mellojoe,

    If you were able to figure this one out, could you mark the thread as resolved? It helps to filter out which threads were solved and which were not.

    Thanks!

    Marventus

    (@marventus)

    Hello again, mellojoe.

    I hope you’re doing well, and that you were able to figure out your pb. If all your questions and doubts were answered, and if you do not have further questions, would you mind marking this thread as “resolved”? That would help the community a lot.
    Thanks!

    Marventus

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘crashed! Now how do I get it back?’ is closed to new replies.