Website owner testing a restore workflow from a verified backup on a staging laptop

Editorial illustration; it does not show a real website or backup system.

Published on October 25, 2026.

A backup can create a comforting feeling. There is a scheduled job, a folder full of files and perhaps an email saying “completed successfully”. Then a plugin breaks the homepage, a deployment overwrites content or an attacker changes the database. The moment you need the backup, you discover that nobody knows which copy is usable, where the database password is, or whether the restore process works at all.

That is the difference between having backups and having a recovery capability. A backup is an ingredient. Recovery is the tested recipe.

Quick Answer

To test a website backup, restore a recent copy into a separate staging environment, verify the files and database together, exercise the important user journeys, record how long the process takes, and write down every missing step. Do not test by overwriting the live website. The objective is to prove that the copy is complete and that a person other than its original author can use it.

What a website backup must contain

A website is rarely just a collection of public files. A typical installation has at least four parts:

  1. Application code — the CMS, theme, plugins, custom scripts and configuration files.
  2. User-generated files — images, documents, videos and uploads that may not exist in the source repository.
  3. The database — posts, pages, users, settings, orders, comments and other structured content.
  4. The recovery context — domain and DNS details, hosting information, version requirements, credentials and the steps needed to assemble everything again.

Copying only the public folder may leave you with attractive but empty pages. Exporting only the database may preserve content while losing images and custom code. A useful test starts by describing what “the website is back” means: can a visitor read an article, can an administrator sign in, can a customer submit a form, and can the owner update content?

Why a successful backup job is not enough

Backup software usually knows whether it managed to copy data. It does not necessarily know whether the result can be used by the application. A job can succeed while a database export is incomplete, a storage bucket is excluded, a required environment variable is missing or the destination has silently run out of usable space.

The restore test answers a different question: can the data be assembled into a working service? CISA’s ransomware guidance recommends maintaining protected backups and regularly testing their availability and integrity. The useful lesson for a small website is simple: recovery should be demonstrated, not assumed.

A safe restore test, step by step

1. Write down the recovery target

Before touching a backup, define the minimum acceptable result. For a small brochure site, that might be the homepage, contact form, service pages and administrator access. For an online shop, it also includes product data, order history, payment settings and transactional email.

Set two practical targets:

  • Recovery time objective: how long the site can be unavailable before the impact becomes unacceptable.
  • Recovery point objective: how much recent content or transaction data the owner can afford to lose.

These do not need to be impressive numbers. They need to be honest enough to guide the backup frequency and the effort spent on testing.

2. Choose an isolated destination

Restore into staging, a local environment or a separate temporary server. Use a different hostname and prevent search engines from indexing it. If the site sends email, disable or redirect outbound mail so a test form cannot message real customers.

Never experiment by deleting the live database or replacing the production files. A backup test should reduce uncertainty, not create a second incident.

3. Select a real recovery copy

Use a recent backup, but do not always choose the newest one. Once in a while, test an older copy too. The newest job may have completed after a problem had already entered the site.

Record the backup timestamp, its storage location, the application version and the encryption or access method. If the backup needs a key held by one person, include the safe handover process in the test. A file that nobody can decrypt is not a practical recovery copy.

4. Recreate the prerequisites

Follow the process a new maintainer would need to follow. Install the supported runtime, create an empty database, configure the web server and provide the required environment variables. If the documentation says “restore the database”, explain which command, user and character set are required.

This step often exposes hidden dependencies. Perhaps the old server used a PHP extension that is no longer enabled. Perhaps the theme expects a directory outside the normal web root. Perhaps DNS, object storage or a third-party form service must be configured separately.

5. Restore files and database together

Restore the code and uploads, then import the database using the documented procedure. Keep a note of the order. Some systems require the database first; others need configuration files in place before a migration command can run.

Check that the restored site points to the staging URL and not the production domain. Search the database and configuration for old URLs, hard-coded paths and secrets that should not be exposed in a test environment.

6. Verify the important journeys

Do not stop when the homepage loads. Walk through a short acceptance checklist:

  • Open the homepage, an old article and a page with an image.
  • Sign in with a test administrator account.
  • Create or edit a draft without publishing it publicly.
  • Submit a form and confirm that the notification is safely captured in staging.
  • Check search, navigation, redirects and downloadable files.
  • Review the browser console and server logs for obvious errors.
  • Check that dates, language versions and structured content are intact.

For an online shop or membership site, use test data and a sandbox payment provider. Do not run real charges as part of a restore test.

7. Measure the result

Record the start and finish time, the size of the backup, the steps that required manual work and the problems found. Note whether a person unfamiliar with the original setup could repeat the process from the documentation.

The first test may take half a day. That is not failure; it is information. The next goal is a clearer runbook, not a flattering time. Repeat the test after major hosting, CMS or database changes.

Common mistakes to avoid

Testing only that files exist. A directory listing proves very little about whether the site works.

Restoring only the database. You may recover text but lose images, documents, theme assets and custom code.

Keeping the only copy beside the live server. A compromised account, hardware failure or accidental deletion can affect both.

Forgetting credentials and keys. The backup may be healthy while the people responsible cannot access it.

Letting a staging restore send real email. Redirect notifications and payment callbacks before testing forms.

Never testing after a change. A backup plan can become obsolete when the platform, host or application architecture changes.

A small-site recovery routine

You do not need a large operations team to create a useful routine. Once a month, restore the latest backup into staging and run the acceptance checklist. Once every few months, ask another person to follow the runbook without verbal help. After a major plugin, hosting or database change, repeat the test sooner.

Keep the result in a short document with five sections: backup selected, prerequisites, restore steps, verification results and unresolved gaps. Store it somewhere that remains available if the website server is unavailable. Protect the document because it may contain sensitive infrastructure details.

My Take

The most valuable line in a backup policy is not “backup completed”. It is “restore verified on [date]”. Website owners often spend money on storage and automation but very little time rehearsing the moment those tools matter. A modest backup that a team can restore confidently is more useful than an elaborate system that has never been opened.

The best first test is deliberately boring: use a separate destination, restore one real copy, click through the journeys that matter and write down what was missing. That exercise turns vague confidence into a practical recovery plan.

Bottom Line

Treat a website backup as unproven until it has been restored and checked. Keep the files, database and recovery instructions together; use an isolated staging environment; test realistic journeys; measure the work; and repeat the exercise after meaningful changes. When a real incident happens, the value of the backup will depend on the steps you already practised.

Sources