• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here:Home » Restore Lost WordPress Posts During Export

By Abhishek Ghosh July 27, 2014 11:58 am Updated on July 27, 2014

Restore Lost WordPress Posts During Export

Advertisement

Lost WordPress Posts During Export to Rackspace Cloud Database or any new Database Server? Vanished Posts? All MySQL knowledge Failing? If you followed some standard way, like we described in guides like Setup Separate Database Server on Rackspace Cloud and Export WordPress MySQL Database on Rackspace Deployment; it can happen (actually happens to many users), you will find posts of certain date range has been vanished. We suddenly found that the post on XMPP Protocol has been vanished and other plugin is redirecting to Protocols related to Internet of Things. After mini investigation, it became obvious, posts from the 19th July 2014 to 25th July 2014 has been vanished.

 

Restore Lost WordPress Posts During Export : What to Do

 

WordPress, unfortunately is one of the worst web software written in PHP and makes MySQL to appear as a bad Database technology. You can try to follow the guide to run SQL Commands to Clean WordPress Database, but possibly your export size of database will be lesser than the total size – indicating a for sure loss of data. Frankly, it is impossible to restore the Posts from MySQL database. There many tables, rows are associated with one Post.

We did lot of workaround and found an easy way – exporting the Posts of the date range as XML file. It is quite abnormal that XML files are rightly generated. By the way, if you have some PUSH message Plugin installed on WordPress website, deactivate it. When we will export, the posts will ping the subscribers.

Advertisement

---

Restore Lost WordPress Posts During Export

 

Restore Lost WordPress Posts During Export : Steps

 

SSH to your main server, first cd to where the wp-config.php file is present. Open with nano (or vi – if you abnormally love vi over nano) and change the database to the older one. So, your WordPress will run with those old lost posts.

Now, go to your-domain.com/wp-admin/export.php – simply it is the default Export feature available under Tools inside WordPress Admin Panel. Select a Date range and export them as xml file. Again, open wp-config.php with nanoand change the database to the newer one. Now, you need to use the default Import feature available under Tools inside WordPress Admin Panel. Import the xml file and do what WordPress will ask to do on GUI. All posts will be restored.

As you already have the images and other media inside wp-content folder, you need not to do any other step. Next time, you should not depend on database export but that default Export. Also consider to create a new installation of WordPress as Sub Directory for the newer posts, it is a bit about planning. WordPress possibly can not handle Posts more than 5K+ rightly.

Facebook Twitter Pinterest

Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to Restore Lost WordPress Posts During Export

  • Nginx WordPress Installation Guide (All Steps)

    This is a Full Nginx WordPress Installation Guide With All the Steps, Including Some Optimization and Setup Which is Compatible With WordPress DOT ORG Example Settings For Nginx.

  • WordPress & PHP : Different AdSense Units on Mobile Devices

    Here is How To Serve Different AdSense Units on Mobile Devices on WordPress With PHP. WordPress Has Function Which Can Be Used In Free Way.

  • How to Install WordPress : Ubuntu 16.04, Nginx, PHP7-FPM

    Here is Step by Step Guide on How to Install WordPress on Ubuntu 16.04, Nginx, PHP7-FPM, memcached & Percona MySQL 5.7 on Cloud Server or VPS.

  • Create shortcut to system restore point in Windows 7

    Here is a tutorial on how to create shortcut to system restore point to enable quick access in Microsoft Windows 7

performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Subscribe To Our Free Newsletter

Get new posts by email:

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (24.3K Followers)
  • Twitter (5.8k Followers)
  • Facebook (5.7k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.3k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • Hybrid Multi-Cloud Environments Are Becoming UbiquitousJuly 12, 2023
  • Data Protection on the InternetJuly 12, 2023
  • Basics of BJT TransistorJuly 11, 2023
  • What is Confidential Computing?July 11, 2023
  • How a MOSFET WorksJuly 10, 2023
PC users can consult Corrine Chorney for Security.

Want to know more about us?

Read Notability and Mentions & Our Setup.

Copyright © 2023 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy