Whether by accident or otherwise, the loss of blog posts can be alarming. There's no need to panic, however. There are several options available for recovering your posts, depending on the blogging software you use and how long ago the posts were deleted. Unless your blog is new and your posts have never been indexed by Google, the chances are good that you can recover them.
Check your blogging software. If you are using WordPress, log in to the main Dashboard as if you are going to create a new post. Go to "Edit Posts" and look for the "Trash" link at the top of the page. If there is no "Trash" link, go straight to the next step. If the "Trash" link is there, click on it and you will see a list of all the posts in the Trash folder. Find the post you want to recover, point your cursor just under the post title, and click on the "Restore" link.
Search on Google by typing in "site:" followed by your domain name. For example, if your domain is mydomain.com, you would type site:mydomain.com (with no space after the colon) into Google's Search bar and click "Search." Find your deleted post and click on the "Cached" link beneath it. If your post does not appear in the search results, it means Google did not index it before it was deleted, so go straight to Step 5.
View the source code of your cached page by clicking on "View" in the top menu of your browser and selecting "Source" or "Page Source." To include formatting and any image links, copy the HTML code of your post, starting with the first paragraph tag at the beginning and up to and including the final paragraph tag of the post. If you prefer, you can copy the text directly from the cached page without viewing the source code; however, if you do so, you will need to add formatting and image links manually. Paste the code or text into a plain text editor such as Notepad or Wordpad, which can be found in Windows Start Menu in the Accessories folder.
Log in to your blog Dashboard and create a new post. Click the tab on the top right of the posting window to choose the "HTML" or "Code" option, if it isn't already selected, and paste the code from your text editor into the main window. If you are pasting plain text, select the tab for the "Visual" or "Preview" option, paste your text into the main window and add formatting and links to any images you used. Type your title into the Title bar, and then preview and publish your post as usual.
Go to archive.org in your browser, enter your site name in the Wayback Machine and click "Take Me Back." The Wayback Machine keeps a regularly updated record of most websites, and your posts might be archived there. Click on the link to the most recent version of your blog and continue as in Steps 3 and 4.
If your blogging software allows you to make backups, make sure you back up the database itself and, if possible, have it e-mailed to you. Subscribe to your own feed in a news reader, which will give you a local copy of all or part of every post, depending on your feed settings.
Items in the WordPress Trash folder are permanently deleted automatically after 30 days. Google's Blogger software has extremely limited backup and restore facilities and does not save drafts that have not been published. Use a simple text editor rather than word-processing software for your recovered HTML code. Word-processing software adds extra, unwanted coding.