How to backup my site and restore my wordpress site

My site, http://www.forerunnerintl.org is down hard. It looks like a problem with Wordpress. I want to back up my posts, etc. and then wipe everything and restore it to a fresh wordpress instance.

Googling for backup and restore wordpress instance generated a zillion pages, but most are for backing up using a plugin or backing up all of the themes and everything else, which I wish to dump.

Some docs say my posts are stored in MySQL databases, but where? I haven't found them.

Also, I want to have a normal website for my root and move wordpress to a subdirectory when I pave and nuke the site.

So how do I backup just my posts and restore them in the new wordpress instance?

Topic backup database Wordpress

Category Web



Following the link you provided, I found the error message: Fatal error: Cannot redeclare class WP_Post in /home/forerunn/public_html/wp-includes/class-wp-post.php on line 22

First, I would not assume it's a corrupted database. (If it is, you can usually access the database through PHPmyadmin; that's how you would backup the database, all of it or select tables.)

Recall what you did right before you discovered the error. Did you add new plugins? Update Wordpress? Try to undo any changes to see if things work again. Then google that error message and see if any of the results match your situation.


you can use this SELECT * FROM databasename.wp_posts in mysql to view all your post; Then export it and then on the new database you can import the post.

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.