It’s World Backup Day! Are YOU backed up?

I just found out (via a tweet from @Ipstenu) that it’s World Backup Day!

(That page has some coupon codes for backup services, plus apparently there are some Twitter contests to win free backup packages. Smart marketing!)

If your computer isn’t backed up, consider this a friendly public service announcement reminding you that you might want to take care of that soon-ish.

And don’t forget to back up your website(s) as well — in the case of WordPress, you need to back up both your database and your actual website files in order to have a complete copy. There are several plugins that will do the job (I use a combo of WB-DB Backup for my database and WordPress Backup for my files, and there are plugins that will do both parts, but I haven’t tested them yet).

I’ll also remind you that there are a limited number of slots still available in my WordPress Peace of Mind Program, which is open for new signups until April 4. If you join this program, I will do a complete backup of your site (and schedule regular ongoing backups) as well as upgrade WordPress, your plugins and themes.

And I had no idea World Backup Day was going to happen during the enrollment period!

Two more days to get 3 months of WordPress backups and upgrades

WordPress 3.1 is due to be released in the next month or so — are you ready to upgrade?

(Hint: Being ready to upgrade means making sure your site is fully backed up.)

On December 31, I’m closing enrollment in my WordPress Peace of Mind Program, and I wanted to make sure you got one more reminder in case you were putting off signing up.

The Peace of Mind Program is a service I created to take the burden of backups and upgrades off your shoulders for the next three months. I’ll make sure your WordPress site is fully upgraded (not just WordPress itself, but all your plugins and your theme too) and backed up (including your files and your database) until the end of March 2011, all for a single payment of $89.

Plus it makes me laugh that the initials spell POMP.

This program is a three-month experiment for me, and a three-month supply of safety and security for you. We both win!

Ready to get POMPous with me? Learn more and sign up on the Peace of Mind Program page.

Update: Minutes after I published this post, WordPress announced a critical security update (version 3.0.4). Please, even if you don’t join my Peace of Mind Program, do take a moment to update your site right now. And if you’d like me to handle it for you, there are still slots open.

Peace of Mind Program handles your WordPress backups and upgrades until March 2011

Right here on this very blog, I’ve given instructions for upgrading WordPress, backing up your database, backing up your files, installing plugins, and upgrading plugins. I’ve even collected those posts into a free ebook — you can get your copy by subscribing to my Weekly Web Tips (if you’re reading this in your email, you’re already subscribed, and there’s a link to download the ebook over on the right!).

I also totally get that keeping all this stuff backed up and upgraded might be enough to really freak you out, especially if you’re just starting out with WordPress. I get that seeing that little “Please update now” message just adds one more stressful task to your already bulging to-do list.

If you’re stressed about keeping your WordPress site backed up and keeping track of upgrades to your themes, plugins, and WordPress itself, I can take care of all of that for you.

I’m opening up 10 slots in a pilot program to address these very stresses.

You can join the Peace of Mind Program during December. I’ll close the program on December 31 or when the 10 spots fill up, whichever comes sooner.

If you have a site that’s built on WordPress (version 2.8 or higher; email me if you have an older version…) and you want to hand off the backing-up-and-upgrading chore for three months, sign up for the Peace of Mind program. Read on for some details.

Here’s how it works:

  1. You pay me $89 during December 2010.
  2. You give me access to your WordPress dashboard and your web hosting account.
  3. I install and configure two important plugins: WordPress Backup and WP-DB Backup. If there’s any troubleshooting involved in getting them working correctly, I’ll take care of it.
  4. I create full backups of your site’s database and files immediately, and email them to you.
  5. I schedule weekly database backups (to be emailed directly to you).
  6. I schedule regular file backups (depending on how frequently you update your site — no less frequent than once per month) to be emailed to you.
  7. I upgrade WordPress (as long as you have version 2.8 or higher), your theme if necessary, and all the plugins that have available upgrades, right away.
  8. I log into your site monthly (December, January, February, and March) and upgrade anything that needs upgrading (WordPress, your theme, and your plugins).
  9. I’ll set you up with a free uptime-monitoring service (either Pingdom or UptimeRobot, probably) so you’ll be notified if your site goes down.
  10. If something should happen to your site such that you require restoring from a backup (may it never happen!), I will attempt one database restore and one file restore. I also know some experts who can help you recover from a hack or crash.

A couple of important caveats:

You should understand that while having backups in place is very important, that alone does not increase the security of your website — it just allows you to recover more quickly, without loss of data.

Staying upgraded does have significant security benefits, but it is only one part of the security puzzle. I can’t guarantee that you’ll be completely safe from hackers, vulnerabilities in your web hosting setup or site code, or random unforeseen events.

Now that I’ve scared your socks off…

I strongly believe that the most basic backup and upgrade precautions (which is exactly what’s included in this program) are the most important.

If you are fully backed up and upgraded, your website is less vulnerable to malicious intruders than the majority of sites out there. And online criminals tend to go for the easy targets.

Take your website out of the running by backing up and upgrading regularly — I’m here to help you do it.

Ready to invest in peace of mind for your online empire?

Go to the Peace of Mind Program page to join.

WordPress Plugin: WordPress Backup

This post is part of my WordPress Essentials Toolkit — a collection of the most important basic steps to maintaining a WordPress site. Get a free copy of this helpful 28-page PDF by subscribing to my Weekly Web Tips!

I’ve previously written about the WP-DB Backup plugin, which automatically backs up your WordPress database. But even with your database backed up, if something were to go wrong with your site, you could still lose important files — such as your theme, plugins, and images (also audio files, PDFs, and other documents you may have uploaded).

Fortunately, there’s another handy tool that can automatically create backups of these files: the WordPress Backup plugin. Like WP-DB Backup, once it’s set up, it runs automatically — but there are a few important and non-obvious tweaks you need to make to configure it correctly.

Step 1. Install and activate the plugin in the usual manner

If you need a refresher on how to do this, check out my post with step-by-step instructions for installing a WordPress plugin.

Once WordPress Backup is activated, you can get to the settings by clicking the link in the plugin description (shown in Figure 1), or by navigating to Settings –> WordPress Backup (shown in Figure 2).

Figure 1: The WordPress Backup entry on the Plugins page contains a handy link to the settings.

Figure 2: Navigating to Settings --> WordPress Backup

Step 2. Set the frequency and location of your backups

The first time you visit the settings page, you’ll see that the plugin has already created three backups, for your uploads (that’s everything in your Media Library), theme, and plugins (even though on this page it’s misspelled “pluigins”).

If you click any of the linked backup names, you’ll begin the process of downloading a .zip file. It’s a very good idea to keep copies of these .zip files on your home computer in case something happens to your web host’s server.

However, make sure you complete the next couple of steps to make sure your .zip files contain the right information!

Figure 3: Your first backups are created immediately, but there are still a couple of settings to change.

Here’s where you set your backup-creation frequency. Your choices are hourly, daily, or weekly.

You can also tell the plugin to email you copies of the .zip files each time a new backup is created. Be careful if you choose to do this, because even though .zip files are compressed, they are still typically very large — especially if you have a large Media Library or use many plugins. Huge attachments can clog up your inbox or prevent delivery of the email at all.

If you leave the Email field blank, the plugin will still work and backups will still be created regularly (according to the hourly, daily, or weekly setting), they just won’t be emailed to you. They’ll be stored on your server in the Backup Directory (shown below in Figure 5), and you can manually download them whenever you wish.

Step 3. Check for correct directory names

Now scroll down to the bottom half of the settings page, where you’ll see four fields that are pre-filled with directory names, as shown in Figure 4.

Figure 4: Look carefully at the directories being backed up!

WordPress Backup is supposed to automatically find your plugins directory, your current theme directory, and your uploads directory — but it doesn’t always do it right.

The correct settings should all start with yourdomain.com/wp-content/, followed by three specific directory names:

/plugins (for plugins)

/themes/themename (where themename is the directory for the theme you’re actually using)

/uploads (for the contents of your media library)

However, as you can see in Figure 4, the Uploads directory is not correctly identified! You may need to type “wp-content/uploads” after your domain name.

Then remember to click the “Update WordPress Backup Options” button to save your edits.

Step 4. Advanced option: Add an .htaccess file via FTP

This plugin automatically creates a backup directory called “bte-wb” (the “bte” part stands for Blog Traffic Exchange, the plugin’s author — but I never fail to think of Better Than Ezra when I see the initials…but I digress).

Figure 5: Backup Directory settings

Then it asks you, in red warning letters as shown in Figure 5, to “please add an .htaccess file to the backup folder.” There’s a link to some instructions on the official WordPress Backup plugin page, which I summarize below.

The plugin will still work even if you don’t add an .htaccess file. The purpose of adding this file is to prevent your backups from being publicly accessible. Feel free to tackle this step as a separate project, once you’re sure the plugin is working correctly and you have copies of the .zip files on your home computer.

Here’s what you need to do to add an .htaccess file:

  1. Create a text file: On a Mac, open TextEdit. On a Windows PC, open Notepad.
  2. Paste the following text into the blank text file:
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_URI} .*bte-wb/.*
    RewriteCond %{HTTP_COOKIE} !^.*wordpress_logged_in.*$ [NC]
    RewriteRule . - [R=403,L]
    Options All -Indexes
  3. Save the text file as dot.htaccess (if you saved it as .htaccess, it might become invisible to you since filenames beginning with a period are normally hidden)
  4. Upload this file to your bte-wb folder, inside wp-content, using FTP (I know, this point deserves a whole post of its own!)
  5. Rename the file .htaccess
  6. Back on the WordPress Backup settings page, test the download links to make sure they still work.
  7. Paste the full Backup URL into a new browser tab to make sure that it’s preventing outside access (if it works correctly, you’ll get a “403-Forbidden” error and you won’t be able to see any filenames).

Credits: I created this .htaccess file by combining this limit access to logged-in users code with another bit of code to prevent users from seeing the contents of the backup directory.

Step 5. Download regularly

After your settings have been updated and your .zip files are being correctly created, make sure you have copies of the .zip files on your home computer.

If you choose to have backups emailed to you, make sure the .zip file attachments arrive safely.

If you don’t want huge email attachments, remember to manually download the backups! I’d suggest a schedule like this:

  • Download your theme backup after you change, upgrade, or edit your theme (and check the WordPress Backup settings to make sure it’s backing up your new theme, if you switch themes)
  • Download your plugins backup after you add or upgrade plugins
  • Download your uploads backup every week or so (but take into account how often you are adding things to your media library — if you rarely use images or sound clips, this could be less frequent, but if you add new images every day, you might want to do it twice a week, for instance)

Got a backup question? Leave me a comment or call during my Thursday Office Happy Hour!

And if you’d like me to handle your backing-up and upgrading for you, get in on my Peace of Mind Program: For $89, I’ll set up backups and make sure you’re fully backed-up and upgraded through March 2011.