Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Backup restore never tested: how to test and fix it

OPS-311Medium impactOther toolBy FunnelGuardPublished Updated
On this page

What this issue is

The issue is simple: backups run, but nobody has ever used one to rebuild the site. So you do not know whether the files are complete, whether the database is readable, whether you have the passwords and keys to restore it, or how long it takes.

A green "backup completed" message only says a file was written. It does not say the file can be restored. Common hidden problems are partial archives, missing uploads or media, a database dump that stops halfway, encrypted backups with a lost key, and backups that need a plugin or version you no longer have.

Why it costs you leads or sales

When a site is hacked, a bad update breaks it, or a host loses data, every hour offline means no form leads, no orders and wasted ad spend. If the restore then fails, or takes a day longer than you expected, the outage grows from hours to days.

Two numbers matter. Recovery time is how long it takes to get back online. Recovery point is how much recent data you lose, such as orders or leads since the last backup. An untested backup means you are guessing both.

Example: how an untested backup turns a small outage into a long one
  1. 09:00

    A plugin update breaks the checkout page.

  2. 09:30

    You decide to restore last night's backup.

  3. 10:15

    The restore fails: the database file is incomplete.

  4. 13:00

    You try an older backup. Uploads are missing, so product images are gone.

  5. Next day

    Site rebuilt by hand. Orders from the gap are lost.

Hours offline after a failureExample numbers
Hours offline after a failure (example)Restore tested and documented: 2 hours; Restore never tested: 24 hours0918224Restore tested and do…Restore never testedhours

Example: illustrative numbers only. A tested restore is usually a known, short task; an untested one has an unknown length.

How to check if your site has it

You have this issue if you cannot answer yes to all of these questions.

Signs your restore is untested
  • You can name the date you last restored a backup to a working site.
  • You know how long that restore took.
  • You know where the backup lives and who can log in to it.
  • You have the encryption key or password, if backups are encrypted.
  • You have restored both files and the database, not just one.
  • Someone other than the person who set up backups has done a restore.

How to fix it

The fix is a restore drill. Never test by restoring over your live site. Use a separate staging copy, so a failed test cannot hurt real customers.

Run a restore test
  1. Pick the backup

    Choose the most recent full backup, and download a copy from the storage location, not just from the dashboard. This also proves you can get to it.

  2. Create an empty staging site

    Use a staging environment from your host, a subdomain such as staging.example.com, or a local copy. Block search engines from it and turn off any live email or payment connections.

  3. Restore files and database

    Restore both. Time it from start to finish and note every step and password you needed.

  4. Fix environment settings

    Update the site URL, database credentials and any hard-coded domains so the copy loads from the staging address.

  5. Test what earns money

    Load key pages, log in to the admin, submit a test form, add a product to the cart and go through checkout in test mode. Check images, fonts and media load.

  6. Write it down

    Record the date, backup used, time taken, problems found and who did it. Fix anything that failed, such as a missing folder in the backup set.

How to restore to a safe copy, by platform
  1. Use a staging site

    Many hosts offer one-click staging in their control panel. Otherwise install WordPress on a subdomain or locally.

  2. Restore with your backup plugin

    Use your backup plugin's restore or migrate option on the staging site, or import the database with phpMyAdmin or WP-CLI and copy the wp-content folder.

  3. Check the site URL

    Under Settings > General, confirm the WordPress and Site Address URLs point to staging.

Example: restore a database dump and a files archive on a staging serverbash
# Create a staging database and import the dump
mysql -u root -p -e "CREATE DATABASE staging_db"
gunzip < backup-db.sql.gz | mysql -u root -p staging_db

# Unpack the files archive
tar -xzf backup-files.tar.gz -C /var/www/staging

# Sanity check: row count of a key table
mysql -u root -p -e "SELECT COUNT(*) FROM staging_db.wp_posts"
Backup status before and after a restore drill

Untested

  • Backups exist but nobody has restored one
  • Restore time unknown
  • Passwords and keys may be lost
  • Missing files found during an emergency

Tested

  • Last successful restore dated and logged
  • Restore time known
  • Access and keys stored safely
  • Gaps found and fixed in advance

How to confirm it's fixed

The test passes only when the restored copy works like the real site, not when the restore command finishes.

Restore test pass criteria
  • Home page, key landing pages and blog load without errors.
  • Images, fonts, downloads and uploaded media appear.
  • You can log in to the admin area.
  • A test form submission is stored on the site.
  • A test checkout works in the store's test mode.
  • Recent content, orders or leads from the backup date are present.
  • The time taken and the steps are written down.

How to prevent it happening again

A simple restore test schedule (adjust to how often your site changes)
Site typeSuggested testWho
Brochure or lead siteFull restore to staging every quarterDeveloper or agency
Online storeFull restore monthly, plus after major changesDeveloper plus store owner
Any site after a host, plugin or platform changeRestore test within a weekWhoever made the change
Habits that keep restores working
  • Put the restore test in the calendar with a named owner.
  • Keep a short written restore runbook with steps, logins and who to call.
  • Store backup keys and passwords in a shared password manager.
  • Keep a copy of backups away from the web server.
  • Repeat the test after changing host, backup plugin or platform.

How FunnelGuard handles this

This is outside what FunnelGuard checks. FunnelGuard is a synthetic monitoring service: a robot visitor runs your customer journeys, such as lead forms and checkouts, and checks tracking hits and test leads. It does not read, verify or restore your backups.

The kind of tool that fits is your backup or hosting tool, such as a backup plugin, your host's backup and staging feature, or a backup service with restore verification, combined with a written runbook and a calendar reminder. FunnelGuard can help after a restore: running your real journeys against the restored site shows whether forms, checkout and tracking still work.

Questions people ask

How do I know if my website backup actually works?

The only reliable way is to restore it to a separate staging copy and check that the site works. Look at pages, media, admin login, a test form and checkout. A backup that has not been restored is unproven, even if the dashboard says it succeeded.

How often should I test restoring a website backup?

Test at least quarterly for a lead site and monthly for a store. Also test after you change host, backup tool or platform. Sites that change often, or take orders all day, should test more often.

Why did my backup restore fail?

Common causes are an incomplete or corrupted archive, a missing database or uploads folder, a lost encryption key, a version mismatch with PHP or the platform, or hard-coded URLs that point at the old domain. Check file sizes and logs, then try an earlier backup.

Can I test a restore on my live website?

No. Restoring over the live site can overwrite recent orders and leads, and a failed restore can take it offline. Use a staging site, a subdomain or a local copy instead, and keep live payment and email connections turned off.

What should I check after restoring a backup?

Check that key pages load, images and media appear, you can log in, a test form is stored and a test checkout works. Also confirm the most recent content or orders from the backup date are there, and note how long it took.

What is the difference between a backup and a restore test?

A backup is a saved copy of your site. A restore test proves that copy can bring a working site back, and tells you how long it takes. You need both.

Does FunnelGuard test my backups?

No. FunnelGuard monitors customer journeys, tracking and test leads, not backups. Use your backup tool or host for restore testing. You can run FunnelGuard journeys on a restored site to check that forms and checkout work.

Does FunnelGuard catch this?

Other tool

Needs a different kind of tool.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.