WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Aargh! Data recovery - I deleted my blog! (12 posts)

  1. blahblah007
    Member
    Posted 5 years ago #

    Hi,

    I've done a stupid thing. I accidentally deleted my WP blog via my ftp client.

    My blog is hosted on my site's hosting account.

    I managed to stop the delete once I realised what I was doing. My problem is that I can't locate the folder or database containing my blog posts. I can find images I uploaded but have no idea where to find my blog entries.

    If the blog entries still exist, where and how would I find them?

    I'm scouring through my ftp client hoping to find a .txt file or .doc file containing an entry... I assume I'm hunting down the wrong file. What should I be looking for?

    If I have already deleted my blog entries, is there any way I can recover the deleted files/database with my hosting provider/via my ftp client?

    Many thanks
    blahblah007

  2. whooami
    Member
    Posted 5 years ago #

    youre not going to find files containing your blog entries -- theyre stored in a mysql databse.

    Reupload the files you deleted. if you deleted the wp-config.php you will need to edit it appropriately so that it connects to the mysql server.

  3. blahblah007
    Member
    Posted 5 years ago #

    Thanks whooami,

    I've attempted to reupload/reinstall WP into the same directory. I'll need to delete the remainder of the files in order to do this.

    I'm concerned that if I do this I'll completely lose the entries/database.

    Is there anyway of accessing the database without reinstalling all the deleted files?

    Thanks,
    blahblah007

  4. blahblah007
    Member
    Posted 5 years ago #

    Oh, the wp-config.php file is still there.

    I'm not sure what files have been lost.

  5. blahblah007
    Member
    Posted 5 years ago #

    I am able to access my MySQL databases. I'm currently making my way through them in my cPanel... again not sure what I'm looking for.

    Any help would be greatly appreciated.

  6. buddha trance
    Member
    Posted 5 years ago #

    It's important that you make a backup of your database, so you can import it back, in case anything goes wrong when you reinstall WP.

    Just create a backup file and don't touch anything in the database.

    Save whatever remains of the old files to your desktop, just in case.

    Then reinstall WP.

  7. blahblah007
    Member
    Posted 5 years ago #

    Phew! Alright, so I've been able to track down the database which contains the blog entries.

    I have exported this via my cPanel (phpmyadmin).

    I'm about to delete all the WP files and do a complete reinstall.

  8. buddha trance
    Member
    Posted 5 years ago #

    Save whatever remains of your files, especially if you still have wp-content, with the theme you are using and plugins.

  9. blahblah007
    Member
    Posted 5 years ago #

    buddha trance and whooami,

    Thank you both! Tears of joy & relief are whelling up.

    If only I'd realised how simple it was from the moment I read whooami's original post!

    I made all the necessary backups. Deleted and then reinstalled all the WP files, changed the wp-config.php file to reflect the original database and password and voila - my blog is back in action!

    Thanks to you both!

    Major relief on my part!

  10. Asuka_Aki
    Member
    Posted 5 years ago #

    Ok I have done the exact same thing as blahblah007! I looked and one folder but deleted the other! So if I understand well, I back up my database just in case, I copy what's left of my wordpress folders to my desktop...I should be able to reinstall wordpress with my database info, replace my old plugins and themes folder then I should have my blog back! I will try this but my fingers are crossed.

  11. Asuka_Aki
    Member
    Posted 5 years ago #

    Eeeww it's bad. I get "Fatal error: Call to undefined function force_ssl_admin() in /home/.baffled/asuka_aki/lepixelshoppe.com/scrap4dollars/wp-settings.php on line 394" what should I do?

  12. kevinmsr
    Member
    Posted 4 years ago #

    I too have accidentally deleted my blog, including because i thought i was cleaning house, my sql data files of 4000 post. have i come to the point of no return? my hosting company thinks they can get it back using backup and support, but i just want to make sure. please advise but gently please

Topic Closed

This topic has been closed to new replies.

About this Topic