You are backing up your self-hosted WordPress blog, aren’t you?
Well, if not, you’re not alone. Most people I’ve surveyed are not backing up their WordPress site. That’s because up until recently, there haven’t been many good solutions for it.
But it is super important to have these backups. And you can’t rely on your hosting provider to do it for you. Even if they say they have complete backups, I’ve heard too many stories of this not turning out well.
The last person I talked to, his hosting provider had a server failure, and he lost EVERYTHING. What do you really expect from your $7/month budget hosting provider?
Or what if your site gets hacked? You’ll want to make sure you can recover quickly, and without backups that is nearly impossible.
WordPress Back Up – The Whole Picture
So what does a complete WordPress website backup include? Here are the elements you’ll want to make sure you back up:
WordPress Storage Diagram
- Your WordPress Database: Your content – blog posts, pages and comments are stored in the WordPress DB. This is absolutely essential to back up or you risk losing all of your hard work, and the contributions of the people who comment on your blog as well.
- Your Images: Any images or other files you upload are stored in the wp-content directory under your WordPress install directory. This includes the images in your blog posts and pages. Location:
/wordpress/wp-content/uploads - Theme customizations: If you have customized your WordPress Theme, you may have changed some of the .css or theme files. You’ll want to make sure you’ve got backup copies of these or you could lose many hours of work, or expensive web design customizations. Ideally you should back up your entire theme folder. Location:
/wordpress/wp-content/themes - Plugins: This one is debatable, but if you are using more than a few plugins, it can be easy to ‘forget’ which ones you had installed and activated. Some parts of your blog might depend on these plugins for proper functionality, and for the easiest and fastest restore you should have your plugins directory backed up as well. Location:
/wordpress/wp-content/plugins - System Files: There are several system files that you will need to back up as well, including your .htaccess file (which gets updates by WordPress if you change things like your URL structure) and your wp-config file. Location:
/wordpress/
Note: In all the examples above, I’m using /wordpress/ to indicate the directory on the server you installed WordPress in. This may be called something else, or it may be the root of your domain.
WordPress Back Up Options:
I’ve experimented with a lot of ways to back up WordPress for my sites and for my clients. Here are the tools that I’ve found the most value in.
Your hosting provider
Many hosting providers offer the ability to back up your website and download it to your computer. One of the reasons I recommend BlueHost as a WordPress hosting provider to my friends and clients, is that they have a nice backup capability that you can run. It is a manual process, but it backs up all of your WordPress sites and databases. Ideally though, we want an automated process.
WP-DB-Backup Plugin
One plugin that I’ve been using for a while and really like, is WP-DB-Backup. It’s a nice tool because you can schedule it to backup your WordPress database automatically, and email a copy to you. For example, if you update your blog every week, just schedule this plugin to do a backup for you.
WP-DB-Backup WordPress Plugin Settings
But this plugin does not back up everything you need. It only backs up your WordPress database files, and as I mentioned above, you’re going to want to back up your files as well.
VaultPress
VaultPress looks very promising. This is the only truly complete solution available that I know of. But it is only in a limited beta right now, and it will cost $$ if you can get in.
VaultPress will back up everything mentioned above: your database, your theme files, plugins and your uploaded content. And it performs the backups continuously. There is even a premium version that will perform security scans on your blog.
I’m testing it now on my primary site. The only problem is the pricing: they’ve set it to be $15 per month per blog that you want to back up. And the security scan is an upgrade to that, weighing in at $40 per month per site. This pricing is out of range for many people if you have multiple blogs that you want to back up.
Anyway, this is a good solution to watch. I’ll keep you posted on how it works out for me, and hopefully they will do something to make the pricing more attractive if you have multiple blogs you want to back up.
VaultPress WordPress Backup Results
wp Time Machine Plugin
I just discovered this plugin, and it looks very good. wp Time Machine will help you back up your WordPress database, your entire wp-content directory (including themes and plugins), and your .htaccess file.
You can specify off-site locations to store the backups, including DropBox, Amazon S3 or FTP.
The only challenge is that it can be a little technical to set up, especially if you want to schedule the backups to happen automatically. The plugin provides a script for this, but it is up to you to set up a CRON job to kick off the backups.
Still this is an impressive plugin, and I’m using it on one of my sites now. I look forward to seeing how this plugin develops over time. I’ll keep you posted on how it works out for me.
WP Time Machine WordPress Plugin
Conclusion – Start Your Backups!
So after reading this, I hope you will take action and start backing up your WordPress website or blog right away. The options are growing in number and sophistication, so I’m optimistic that it will get easier to keep your content safe and secure as time goes on.
If nothing else, just set up the WP-DB-Backup plugin on a schedule so you have a backup of your content at the very least.
If you have a good backup solution that I’ve missed here, please share it in the comments below!
If you enjoyed this article, get email updates (it's free).
See my disclosure about advertising and affiliate links







{ 33 comments… read them below or add one }
I’ve been using BackWPup – which works great. Backs up all files, sends to email, S3, FTP, etc.
http://wordpress.org/extend/plugins/backwpup/
@Jeff, thanks – that looks interesting. I haven’t heard about that one but I’ll check it out. How does it handle scheduling the backups?
Great work!
Question:
Which elements of the database are necessary to backup when migrating to another host provider and what are thing to keep in mind?
Keep on sharing knowledge!
-Thanks.
Thanks @Pit.
I’d say you should back up your entire WordPress database if you are migrating your blog to another host. Unless you wanted to drop your post revisions or entries from a plugin you no longer use, I’d just back up the whole thing.
Would not be any problems when I restore the entire backup in a new host provider ( I mean, I don’t have to worry with file paths, name conventions or other things)?
-Thanks.
Pit, not in the database. The only time you would need to worry about this is if you changed the directory that WordPress lives in, or changed the domain name. Then you’d need to worry about image file paths. A great tool for updating those is the update urls plugin by Velvet Blue.
Nice rundown. Thanks for sharing. I used the WP-backup plugin for a long time, and just started using Backup Buddy. It’s a premium plug in, but backs up everything. It’s got a migration feature too, which comes in handy for a developer.
Thanks Lisa, it’s good to know of other solutions out there. Which hosting provider are you using it with?
I’m using it mostly with hostgator.
I had done something to a site (basically messed something up) so I called the host (blue host) they were able to restore it back to where it was a few hours prior. That saved a lot of time. I may have just been lucky but they seem to have there back ups in place. I also use wp-db-back. Thank you for this great information!
I have been using
http://www.backup-technology.com/online-backup-for-wordpress/
By these guys:
http://www.backup-technology.com/free-wordpress-backup/
Backup Technology’s Online Backup plugin offers you 3 backup options as well as a smart scheduling feature to ensure your information is always kept safe. And you get 50MB free on their server if you don’t want it emailed to you. I know that may not be enough for really big WP blog sites but is for a lot of folks.
It only backs up the database, but the rest I back up by FTP myself downloading to an external drive. I just set a bookmark for each account in FileZilla, and download the other files.
I have only had to do a restore once but by just following their instructions it only took me about 10 minutes.
Looked like one you missed and thought I would throw it in the mix.
Mike C.
Thanks for the backup alternatives Don.
I back up my domain via FTP and the database using phpMyadmin on Cpanel.
I can see that if I was running more than one site, manual backups would become a problem.
Look forward to seeing how your various backup methods progress.
Hi Keith/Don, Do I just need to FTP the contents in mysite/wp-content to a location in my PC, is that what you mean ?
Zach,
You would also need your wp-config file, and the whole wp-content directory if you wanted to keep your themes and plugins. You also need to export the WordPress Database and back that up too.
It’s great if you know what you are doing, but it’s too much for me – I keep putting it off and that’s why I am automating my backups. Plus I have many sites to back up.
Thanks a lot Don..! Thanks for your help. Yeah it’s a lot difficult if you have lot of large databases to back up manually.
@Laura, Mike, Keith – thanks for sharing your solutions.
-Don
Don,
How about an article on restoring a wordpress site?
i see a lot of articles on restoring wp database but how do you restore wp files?
Will you please provide info about how to upload the backup data on server
Useful information for my wordpress website Plymouth Roofer.
I’d like a complete package that does everything automatically.
Thank you
Good advice to do an automatic and free backup of
wordpress. But it has some limitations like maximum allowed upload,
and no data encryption. SiteVault is out of budget for many
website, and limited to wordpress. There are another solutions like
Website 2 Backup to do automated and encrypted website files and
databases backup stored on Email, FTP, or locally.
Don,
Great article. Where can I find step-by-step procedures to back up my WP blogs and then transfer them intact to another hosting service?
My host of several years appears to be destroying its reputation as fast as possible by letting up time go to pot, and shrugging when I ask what they are doing to stop it.
You write such important posts on blogging and do so in plan English better than most.
Thanks,
Ted
Thank you Ted.
Here’s an article that Thomas Hasch (on my team) wrote about moving your WordPress site: Moving WordPress.
Wow. Thank you so much Don for this article. Just tested most of the plug-ins found here and they work nicely. I am more confident now because so far my wordpress installation cracked twice and lost everything (caught offside and had to reinstall). Thanks again. Hat off!
That’s great to hear Crawlcraft. Thanks for the testing and sharing your results!
Update: I recently ran across this plugin that looks promising. I’m testing it out on one of my blogs now: Automatic WordPress Backup.
I’ve been using this, with automated backup to my Amazon S3 account, and it works great!
This looks VERY promising Don.
Have you or Thomas tested it yet?
Inquiring Minds Want To Know
Thanks so much for this post, really useful for a beginner to WP like me.
Just a quick question, for the BlueHost manual backup option using the Backup Wizard, do you suggest a full or partial backup? How does this affect ease of restoration (assume person doing the restoration has little tech background in web stuff).
Hi Tayler,
I usually do the full backup. Then you download a ZIP file to your machine. So if you want to restore specific files then you can unpack the ZIP file and restore just the file(s) you want.
But recently BlueHost came out with a service called Site Backup Pro that automates the backups of both files and db for you, and it has a nice user interface to restore the files or DB. That is what I use now – it’s very well done.
This looks like a promising new WordPress Plugin: Backup WordPress
Have you tried it Don?
Backs up site and database!
Looks fantastic.
Thanks for the heads up.
Yes I’m using it on a couple of sites in addition to the BlueHost Backup and it works very well so far.
thanks for the great info which ill def use
{ 2 trackbacks }