How to back up your website and restore it

Estimated reading: 5 minutes

A website backup is a complete copy of your site: all of its files plus its database, which holds your pages, posts, settings, and customer information. Backing up means making that copy regularly and storing it somewhere safe, so that if the site breaks, gets hacked, or is accidentally deleted, you can restore it. A backup you have never tested is a hope, not a plan, so a good backup routine always includes an occasional test restore.

Most small business owners only think about backups after something goes wrong. By then it is too late. Setting up backups takes less than an hour, and it is the single most valuable habit in running a website.

What to back up

A complete WordPress backup has two parts, and you need both:

  • Files. WordPress itself, your theme, your plugins, and your uploads, such as images and documents. These live in the site’s folders on the server.
  • Database. Your pages, posts, comments, settings, and user accounts. This is a separate file your hosting provider can export, or your backup tool can include automatically.

Backing up only the files, or only the database, is not enough. A restore needs both, from the same point in time.

How often to back up

How often depends on how often the site changes:

  • A site that rarely changes: weekly backups are enough.
  • A site with regular new content or orders: daily backups.
  • A busy shop or booking site: daily, or more often if your backup tool supports it.

Always take an extra backup before any big change: a WordPress update, a new plugin, a redesign, or a hosting move. That backup is the one you will be glad you have if the change goes wrong.

Where to store backups

Store backups somewhere other than the same server as your website. If the server fails, backups stored on it fail with it. Good options include cloud storage, such as Google Drive or Dropbox, or a separate drive. Many backup tools can send backups to cloud storage automatically. Keep at least a few recent backups, not just the latest one, so you can go back further if a problem went unnoticed for a while.

How to restore a website

Restoring means replacing the current files and database with the backup copy. The exact steps depend on your backup tool, but the pattern is the same:

  1. Put the site in maintenance mode so visitors do not see a half-restored site.
  2. Restore the files, then the database, from the same backup.
  3. Check the site thoroughly: home page, key pages, forms, and login.
  4. Take the site out of maintenance mode.

Some hosting providers offer one-click restores from their own backups, which is the easiest option when it is available. Ask your host what they keep and how long they keep it. Do not assume your host backs up your site: many hosts keep backups for their own purposes, with no promise they will restore your site, and retention can be as short as a few days.

Testing your backups

Test a restore at least once or twice a year. The simplest test is to restore the backup to a staging copy of the site, which many hosts provide, and check that it loads and the content is correct. If a backup is corrupt or incomplete, you want to find out on a quiet afternoon, not during an emergency. If testing feels beyond you, ask for help: Brainiac Business can help through General Small-Business IT Support, quoted by scope before work starts. See what IT Support covers, or open a ticket at the support portal.

Frequently asked questions

Does my hosting provider back up my site?

Maybe, but do not rely on it. Many hosts keep short-term backups for their own disaster recovery, and they may charge to restore yours or keep it for only a few days. Keep your own backups as well.

What is the difference between a backup and an export?

An export usually saves only part of the site, such as posts and pages, without the theme, plugins, or settings. A full backup saves everything needed to restore the site exactly as it was.

How much storage do backups need?

It depends on the size of your site, mostly your images. A small business site’s backup is usually tens or hundreds of megabytes. Cloud storage for that size is inexpensive, and many providers include generous free space.

What if I have no backup and my site is gone?

Ask your hosting provider immediately whether they have a copy, and check whether any other copy exists, such as a developer’s copy or an old export. If nothing exists, the site will need to be rebuilt. That is the situation backups exist to prevent.

Related reading: how to fix common WordPress errors and how to keep your WordPress website secure.

Share this Doc

How to back up your website and restore it

Or copy link

CONTENTS
Chat with us on WhatsApp