Hello folks I am facing one strange problem . In June 2017 i have erased all my posts from WP admin panel,but before that i have made backup off my public_html. Now i have extract all public_html folder in Cpanel and everything is finished and i see images in "Upload" folder and everything else. That backup is 3 gb But now main problem is i can't see posts in my WP admin panel. In that backup i was have about 30,000 posts. Why after backup posts are not showing up? Thanks
Did you backup your DATABASE file while you backedup your public_html folder? If yes, upload (import) your DB file now.
You got the backup of the main public_html. It's ok, but you didn't take backup of the main database from phpmyadmin.
You had to backup the database because it is the responsible for saving your posts, not the public_html. And I hope you did.
Yes, You have to restore the database and make sure that your database details have insert correctly in wp-config.php file.
A WordPress needs two components: - Site files - A database The site files are stored on your web hosting server (in your case in a directory called public_html), while the site data (post content, categories, tags, settings, etc.) is stored in a database. If you've only made a backup of the files inside the public_html folder, you have only made a backup of your site's files, without the database files. If you've made a full site backup using cPanel or other hosting management software, then the archive you have downloaded should also include the database backup file (usually a .sql or a .tar.gz file). Without restoring the data of your old database, you can't recover all your posts and content.