How to back up a WordPress site

Products mentioned
Have a game plan

While a savvy small business owner learns many skills, how to back up a WordPress site usually isn’t one of them. However, without this skill, you’ll get much more than a headache if something goes wrong with your site — it could ruin your bottom line. Without that backup in place, you risk losing all of the hard work you’ve done to build your company’s online presence and increase visibility of your brand.

Learning how to make a backup of your WordPress website is imperative if your income relies in any way on its content.

The process itself takes time, but it’s much easier than you think. There are a lot of quick, simple tools and solutions available to help you out, including The Hub by GoDaddy Pro. The Hub allows you to automate the routine task of backing up your website by providing scheduled, on-demand, downloadable backups daily with 1-click restore so that you don’t have to worry.

In this post, we’ll talk about why WordPress backups are important and look at the site elements you should prioritize each time you back data up. We’ll also explain how to create a WordPress database backup, discuss the tools at your disposal and walk you through how to back up a WordPress site using the UpdraftPlus plugin.

Why backing up your WordPress site is important

Backing up important information is now a familiar concept for many. It’s an automated transfer of your files to a location of your choosing, with easy access in case something happens to the original files. This could be something as simple as a theme update not working properly or as complex as a cybercriminal holding your data hostage.

It’s vital to have recent backups in place, especially for small businesses. Here are just two of the many benefits:

  • You have a “get out of jail free” card if you’re hacked and need to restore your website.
  • You can use the backup to set up a local or staging site to work on its development without affecting your live site.
  • You won’t have to pay someone to redo your website from scratch, saving you money.
  • Customers will always be able to access your site with minimal downtime, making your company seem reliable, professional and trustworthy.

The first of these benefits will likely be the most attractive for business owners, given the pressing need for round-the-clock site security. But your site is only as secure as you make it and the more detailed your backups are, the better off you’ll be. Let’s look at the specific elements you should keep safe when you back up a WordPress site.

Which site elements you should backup (and when)

Creating a backup is important, but choosing the components and features of your WordPress website to back up in the first place is just as essential. Larger sites often have complex backup strategies that allow them to prioritize certain components at different times to better manage the amount of data they’re backing up each time. In most cases, smaller sites and those new to WordPress should back everything up. This way, the reinstallation process will be both fast and easy.

How often you backup, on the other hand, will ultimately depend on your site’s size and content.

For sites without much interactive content — i.e., sites with no comments or blog — you can probably get away with backing up once a week. However, larger or more complex sites should be backed up at least once a day. Fortunately, GoDaddy offers free daily backups on all WordPress hosting plans.

Finally, bear in mind an oft-repeated rule for WordPress backups: If your data doesn’t exist in three different places, it doesn’t exist at all. The tools we’ll look at later can all help with achieving this goal.

How to manually download critical files

You can download important files through your web hosting control panel. Another option is using a File Transfer Protocol (FTP) client

Think of an FTP client as a dashboard that provides and follows a set of rules which allows your computer to transfer data from one place (your website) to another (your storage space for your WordPress backups). The FTP allows you to transfer multiple files quickly and ensures that they arrive at the storage location in perfect condition so you can rely on them if you have to restore your website in the future. 

The FTP doesn’t automatically transfer your entire website to the storage space. Instead, it allows you to manually download critical files that keep your site running the way you need it to. These files can form the backbone of your website. Without them, you won’t be able to recreate the site or add content on new pages without having to do a lot of legwork. 

What should you download?

1. Download the entire “wp-content” folder off your server. This folder is the heart of your WordPress site, containing all of the themes, plugins, and media uploads on your site.

2. From your root directory (which is usually public_html), download a copy of your .htaccess, robots.txt and wp-config.php files. These contain important configuration settings for your website.

3. Go to your backup folder and download a copy of that database file. This may be saved as a .sql or .gzip file, depending on your backup settings. The database backup contains all of your site’s content and settings that are stored in the database.

4. Last but not least, go back into your WordPress dashboard and go to Tools > Export and download your WordPress XML file. This is similar to the database backup in that it contains your content, posts, and pages.

How to back up your WordPress database

Though most people prefer to back up their entire website at once, you don’t have to. Instead, you can just back up the WordPress database. The database contains absolutely everything related to your WordPress installation, so it arguably warrants special attention. This includes:

  • Posts
  • Comments
  • Plugins
  • Tags
  • Categories
  • Pages
  • Other key WordPress settings

Since this type of backup only applies to your core files and database, it’s ideal for those who install a lot of themes and plugins or have many images that aren’t crucial to their site. Remember, those images take up tons of storage space, making it harder to back up your website and potentially forcing you to delete files to make room for subsequent backups.

However, a WordPress database back up can be quite complex if you’re not technically minded. Unless you have a specific reason to only back up the database and core files, full backups will offer more flexibility and a quicker route to getting your site back online.

How to restore a backup in WordPress

Now that you have your backups in place, you need to know how to restore a WordPress backup. The easiest way to start is by uploading the backup root folder to your hosting provider’s server. Just make sure to save it under a unique name so the server won’t flag it as a duplicate folder. Once you’ve uploaded the file to your server, you can delete your current root folder.

Then, head to the phpMyAdmin tab. Once you’re there, find your most recent site database backup. Choose the “import” option and click “go.” It can take a few minutes to restore a page in WordPress, but once the import is finished, your site should be back up and running. 

Tools to help you back up a WordPress site

When it comes to creating a WordPress backup, there are two main methods you can use: plugins or your host’s native solution. The latter offers a low-effort approach. For example, GoDaddy’s Managed WordPress accounts provide 30-days’ worth of backups that can be restored within minutes. What’s more, this feature is automatically enabled, so your site will be safe from the moment you purchase hosting. Plugins allow you to back up sites not using the GoDaddy Pro Hub.

WordPress Backup Plugins

There are also a number of dedicated plugins that let you avoid wondering how to back up a WordPress site.

WPBackItUp

For starters, WPBackItUp provides one-click customized backups that can be regularly scheduled. It offers a variety of cloud storage options, too, so you can back up your WordPress site to multiple locations. While there’s a free community version of the plugin, the premium version is available for a reasonable fee and includes additional functionality.

UpdraftPlus

Next up is UpdraftPlus. This is arguably the most popular WordPress backup plugin available. And the free version should be enough for practically all your needs. Using this plugin is a breeze, especially since it also offers one-click back up and restore features (with a number of options for cloud storage). There’s also a premium option available, and several add-ons to enhance UpdraftPlus’s functionality.

How to back up a WordPress site using UpdraftPlus

Now let’s talk about using UpdraftPlus to carry out a full WordPress site back up. It’s one of the best-loved and user-friendly solutions available, and the free version is likely all you’ll need to get going.

First, you’ll need to install and activate the plugin within WordPress. Then, from your dashboard, go to Settings, and then select UpdraftPlus Backups.

UpdraftPlus Menu

There is a wealth of options on the Settings tab to tailor your backups which are worth a look. But to carry out a basic backup, you can simply click Backup Now on the Current Status tab: [image]

Backup Screenshot in UpdraftPlusYou’ll see a screen with two checkboxes relating to your backup content. For now, keep them both checked. When you’re ready, click Backup Now again. UpdraftPlus will carry out a backup, and you can access it by either clicking Restore or navigating to the Existing Backups tab.

Included UpdraftPlus GoDaddy Pro
Version Free Free
Automatic Restoration Yes Yes
Back up to Google Cloud No Yes
Automatic Backups Before Site Updates No Yes
Daily Scheduled Backups Yes
Store Backups for 90 Days  Yes
One-Click Restore Yes
Automatic Notifications of Client Site Issues Yes

Protect your site with GoDaddy Pro

Now that you know how to back up a WordPress site, you’ll want to get into the habit of backing up your sites often. Remember, just because you think you’ll never need a backup doesn’t mean you won’t run into problems in the future. It takes just a few minutes and those few minutes can save you major trouble if anything ever happens to your site’s files. 

But depending on the backup method you use, the process might be more difficult than you expect. Save yourself the stress of using a complicated backup plugin and let >GoDaddy Pro handle all of your WordPress backup needs. 

Though you can manage each aspect of your website’s maintenance manually, you don’t have to. >GoDaddy Pro takes the stress out of keeping up with all things WordPress. Through the Hub, you’ll be able to schedule backups, automatically restore sites, identify problems and update pages with the push of a button. Even better, it’s affordable! WordPress hosting plans start as low as $6.99 per month and give you access to the full suite of GoDaddy’s tools to make managing your site easy, fast and fun.

Image by: Pexels