WordPress Lost Post Recovery Options Are Not Less in Number on Cloud, Even Without Backup Failure. If Your FTP Server is Running, Data Can Be Recovered. Database Server – that is the MySQL Server, always should be different one. That is one of the reason why we ask to create a separate database server. If you use HostGator Like Third Class Reseller Web Host, chance of recovery becomes lesser. On DigitalOcean, a full server can get destroyed. It is better to rely on OpenStack Based IaaS Providers like Rackspace, Amazon or HP Cloud. IBM is not a bad option. There is no meaning of giving you knowledge on backup – you are seeking WordPress Lost Post Recovery Options. In this hypothetical situation, you have no Database Backup but your FTP Server is running. All Posts, Pages are lost. You have one backup, which is few hundred years old! That working Backup has value – your work will get decreased,
WordPress Lost Post Recovery Options : Things Never Get Deleted So Easily
On Rackspace, Amazon or HP Cloud, even on Disaster; we can spin up servers – it is better to create a new set of setup with at least two servers and keep the servers on disaster undisturbed. These are sources where you can find your data –
- Social Sharing websites including Pinterest can keep the Full Sized image of your Posts, if you use Pinterest.
- Way Back Machine periodically crawls and updates your website’s pages
- Google Cache keeps the data.
- Your Browser can keep data of visited pages.
- Most important which is less known – if your database server is affected, FTP server is fine – the Cache Plugins keep the whole website as Plain HTML website.
- If you use CDN and Sync the whole website, those Cache can go to the CDN too.
- Keeping your head cool is better – you might recall more than us.
Software Engineers always will say – there is no options. They are ready to say no. A good blogger like Darren Rowse, can give you more practical hints than them.
On Rackspace or HP Cloud, we take OpenStack based snapshots of the whole servers. It take few minutes to make the things up and running. We will discuss only about WordPress Lost Post Recovery via the Cache Plugins elaborately.
WordPress Lost Post Recovery Options : SSH is the Best Method
Basic idea is to take the Post’s HTML from the Cache manually, create and Post new posts – else you’ll loss control over the Posts. As the Permalinks / URLS might not match, you have to find the old URLs and do 301 redirection via some WordPress Plugin. Sitemap, Twitter etc. can give you the Post Title, Excerpt, URLs of the Old Posts.
You are recreating the Database in the way we post fresh posts.
SSH to you server, you can SSH on Shared Hosting too. In our example, we are using 3 Total Cache Plugin on Nginx Webserver. Our Cache is located at
./wp-content/Cache/Page_Enhanced/www.thecustomizewindows.com. It is just an example path. Real will be closer. You should check the path manually. Never Ever Add a New Database Server or Do Any Action via WordPress Before Doing This Step. If W3TC flushes the cache, all data will be lost.
Make a Tarball of the whole directory, being on that directory :
tar -cvzf www.tcw.backup.tar.gz www.thecustomizewindows.com
# tar <backup-name>.tar.gz <source-directory>
Move it to FTP’s root :
mv www.tcw.backup.tar.gz /usr/share/nginx/html
# normal Nginx path
wget it to your Mac or Linux PC :
cd ~ && mkdir backup-recov
tar -xzvf www.tcw.backup.tar.gz
If you do an
ls or use Finder, you’ll see all the posts as Directories. In our case, it can be represented as :
Drag the whole directory on Finder to TextWrangler – we talked about lot of Text Editors for OS X. TextWrangler does the work nicely. Open the
gzip.old files one by one.
From the menu of TextWrangler, go to
View > Text Display > Soft Wrap Text. You will find the starting of the articles. Copy and Paste in your WordPress Post Editing Area. Publish them and do 301 redirection from old names if needed.
It is 100% fail proof method, but demands huge manual work. You had no proper SQL backup, you got back the stuffs, is not it enough?
The method to recover from Way Back Machine, Google Cache is Also Kind of Same – You’ll use the HTML source code in that case. People keeps backup for you!
Yes, if you have CDN fully synced – there can be copy of the Cache directory.
Cache thing might not work on Physical Real Dedicated Server. We are talking about Rackspace Dedicated like dedicated server. As the things are real – we mean the processors, RAM, HDD etc. – WordPress Plugin might flush faster in real time assuming it is a change done by the owner! Backup of Dedicated Server needs not to be discussed. All are fully managed up to software level. We can not say about Fake Dedicated Servers. Indian Mass Popular websites usually use them.
Follow the Author of this article :