Industry guru Dave Taylor offers free tech support on a wide variety of technical and business topics, including HTML, Apple iPhone, online advertising, Cascading Style Sheets, Web design, management, Unix, Linux, search engine optimization, online dating, Mac OS X, shell script programming and Microsoft Windows.

How do I export data from a WordPress blog?

A friend pointed out to me a few days ago that if I were to have a data hiccup or have my system crash that I could lose everything I've ever written - and what everyone else has added as comments - from my Wordpress blog. Definitely not good. Is there some easy way to back up my blog so that I can insulate myself from this danger?


Dave's Answer:

Your friend is right and it's a testament to the reliability of modern hard drives and servers that we don't see more problems with weblogs suddenly vanishing into the digital haze from random acts of God.

Fortunately, there is a pretty easy way to produce a backup, or, at least, export all of your data from WordPress into a file that you can then use to restore (import) that data into your blog or a new weblog down the road. This is, of course, also how you would transition from one WP server to another or from one hosting company to another, if that was in the cards. Design changes shouldn't require this, but it's a good idea anyway!

Okay, so log in to the admin backend of WordPress and you'll see something like this:

wordpress main menu

This is the default view and from here click on "Manage" because, well, that's where we're heading...

wordpress manage menu

You can see what we want on the right of this menu: "Export". Click on that and you'll get to learn a bit about the fine details of what you can pull out of an active WordPress blog:

wordpress export blog data

Okay, so it gets posts, pages, comments, custom fields, categories and tags. What's missing? The key thing missing here is any images, audio, movies, or other material you might have dropped into your Media Library.

Let's grab this export first, however. Click on "Download Export File" and...

wordpress export blog data downloading

That's all the key content. If you also want to get the Media Library, the best suggestion I have is to one-by-one view the images in the library and save them to a folder on your desktop. Clunky, but effective.



Help others find this article at Del.icio.us, Digg, Netscape, Reddit, and Stumble Upon    

Subscribe!

Never miss another useful Q&A article again! Subscribe to AskDaveTaylor with Google Reader.

Comments

The media used on the website is generally store inside WP-CONTENT folder on the website.

It should be a simple affair to login to the website using FTP and download the corresponding folder in it's entirety.

Posted by: Rajib Ghosh at August 24, 2009 10:03 AM

Hi Dave

Good hint - just wanted to say how I do mine - I use Wordpress as well on a blog, and simply - using Cyberduck - save a copy of the whole blog directory once a week.

This way if my blog was somehow deleted I can easily replace everything in one upload.

It may be overkill but it's simple and safe.

Posted by: Mr Fish at August 28, 2009 12:37 PM

I have something to say, now that you mention it, but ...
Starbucks coffee cup I do have a lot to say, and questions of my own for that matter, but first I'd like to say thank you for all your efforts on this Web site by buying you a cup of coffee!

I do have a comment, now that you mention it!











Remember personal info?


Please note that I will never send you any unsolicited commercial email. Ever.

While I'm at it, please note that by submitting a question or comment you're agreeing to my terms of service, which are: you relinquish any subsequent rights of ownership to your material by submitting it on this site.








Ask Dave Taylor: The iPhone App: Advertisement


Uniblue: Free Virus Scan

Follow me on Twitter @DaveTaylor

Search
Find just the answers you seek from among our 2300+ free tech support articles by using our Lijit search engine.


Help!





Subscribe to
Ask Dave Taylor!

Add to Google Reader
Add to My Yahoo!
Subscribe in NewsGator Online

RDF   XML

Free Updates!
Sign up and get free weekly updates and special offers on books, seminars, workshops and more.


Recent Entries
Book Links
© 2002 - 2009 by Dave Taylor. All Rights Reserved.

Note: This web site is for the purpose of disseminating information for educational purposes, free of charge, for the benefit of all visitors. We take great care to provide quality information. However, we do not guarantee, and accept no legal liability whatsoever arising from or connected to, the accuracy, reliability, currency or completeness of any material contained on this web site or on any linked site.

[whiteboard marker tray]
"Ask Dave Taylor®" is a registered trademark of Intuitive Systems, LLC.