Join Jeff Starr for an in-depth discussion in this video Back up your site, part of WordPress: Developing Secure Sites .
- [Narrator] Keeping current backups is the most important thing you can to do protect your site. It's like your site's life insurance policy. In a worst-case situation, having current backup files means you can get everything back up and running. Of course, the easiest way to backup everything with WordPress, is to do it automatically with a plugin. There are several, good backup plugins available, but the most powerful, flexible, and popular is called UpdraftPlus. Let's check it out from the Add Plugins screen in the WordPress Admin area.
After a quick search, here is UpdraftPlus listed in the plugin directory. Feel free to read through the plugin description and other information. This is a solid plugin that's become very popular. Check out these stats. Over 800,000 active installs, and over 2,000 positive ratings, 4.9 out of five stars. It doesn't get much better than that. UpdraftPlus is already installed on this demo site, so let's go ahead and activate the plugin. Here on the plugin's page, we click Activate to activate the plugin.
Now, we can click on the Settings link to configure the plugin. Here on the UpdraftPlus page, we find several tabs. The first tab, Current Status, is where we can backup, restore, and clone our database and files. The second tab, Existing Backups, is where we can manage our backup files. Each set of backup files will be listed here, along with other options. The Settings tab provides all of the plugin's settings, including schedule, number of backups, remote storage options, included files and more.
These remaining tabs, Advanced Tools, and Premium/Extensions generally are not needed, so we won't worry about them in this tutorial. Now that we've had the tour, let's configure the plugin and see how it works. Here on the Settings page, most of the options should be prefilled and ready to go. Let's take a look. First, we choose our schedule, here under Files backup schedule. There are several options available. Let's select Daily. For the number of backup files, choose whatever makes sense for your site.
Anything between five and 20 or so should be fine for most cases. Next, we see the options for Database backup schedule. You can set this to be different than the previous setting, but it makes sense to keep them synchronized. After all, if something happens to your site, and you need to restore it, it's nice to have matching backups. This next section enables you to configure remote storage options for your backups. So, if you have Dropbox, Amazon S3, or any of these other services, you can set that up here. By default, the backup files will be stored in a secure directory on the server.
Next, under Include in files backup, we can choose exactly which files to include in our backups. Feel free to customize, but the default settings here are well-tuned, and work great for most WordPress sites. And the other settings are your to explore. You can enable email notifications and configure some advanced settings if you really want to fine-tune your backups. In most cases, the default settings are going to work just fine. Now that we've chosen our settings, let's click the Save Changes button to save our changes.
With UpdraftPlus now configured, we're all set for daily backups of our database and files. Here, under the Current Status tab, we can see the next scheduled backup, and even make an on-demand backup, like so. From this dialog box, we can choose exactly which items to backup. Let's just backup the database for this example. And then we click Backup Now, and you can watch as the plugin works its magic. Once the backup is complete, you can verify the time and latest log message as shown here. As the days go by, you can visit the Existing Backups tab to view and manage your backup files.
In the next video, we'll learn how to use our backup files to restore our site, should we ever need to do so. In this screencast, we've setup an automatic backup strategy using the versatile UpdraftPlus plugin. Your site's life insurance policy is now in full effect, with current site backups available at a moment's notice.
- Backing up and restoring your site
- Setting up strong passwords
- Understanding users and roles
- Choosing trusted plugins and themes
- Changing and recovering passwords
- Configuring authentication keys
- Securing the login page
- Fighting spam in the comments
- Blocking access and detecting hacks
- Building a firewall for WordPress
- Detecting and blocking bots
- Auditing your WordPress security