2005since
year

Hosting & Security

A Backup Strategy for Your Company Website: The 3-2-1 Rule and Restore Testing

A backup is the last line of defence against hacks, human error and server failures. But a backup you can’t restore is worthless. We explain the 3-2-1 rule, what to back up and when, where to store backups and how long to keep them, and how to test restores — with a practical plan for WordPress sites and stores.

  • 16 Nov 2026published
  • 6min read
  • Nov 2026updated
Key takeaways
  • The 3-2-1 rule: three copies, on two different media, one of them off-site.
  • A copy on the same server is not a real backup.
  • Backup frequency is set by how much data you can afford to lose.
  • Test restores regularly; an untested backup is just a hope.
  • Keep enough old copies, because some hacks are discovered weeks later.

On an ordinary morning, the marketing manager opens the company website and finds a strange page instead of the home page. The site has been hacked. They call the developer: “Do we have a backup?”. The answer: “The hosting makes a copy every day.” They look, and discover that the copies are stored on the same hacked server, that the hack happened three weeks ago, and that the host keeps copies for only one week. Every available copy contains the hack.

This story isn’t rare. Backups are one of the topics everyone assumes are “under control” until they need them. In this article we explain how we build a real backup strategy in our hosting service.

What does a backup protect you from?

RiskExample
Hacks and malwareCode injection, defacement, ransomware
Human errorDeleting pages or products, a wrong update, an edit that broke the design
Failed updatesA plugin, theme or core update that breaks the site
Server failuresDisk damage, a problem at the provider
Provider problemsAccount suspension, a commercial dispute, a small provider going out of business
DisastersA fire or outage at the data centre

The 3-2-1 rule

A well-known rule in data protection, simple enough for anyone to remember:

  • 3 copies of your data: the original and two backups.
  • 2 different storage media: for example, the hosting server and a separate cloud storage service.
  • 1 copy off-site: in a different location and with a different provider from the original server.

Many specialists now add: one immutable or isolated copy, so an attacker who takes control of the server can’t delete or encrypt the backups themselves.

What should you back up?

ItemWhyNote
The databaseContent, products, orders, users, settingsChanges the most, and is the most important in stores
The media folderUploaded images and filesThe largest in size
The theme and custom pluginsAny code written specifically for your siteIdeally also kept in a code repository
Configuration filesServer and site settingsStore them encrypted, as they may contain passwords
Email and cloud filesCorrespondence and documentsA separate plan depending on the platform

How often? The question of “how much can you lose?”

The right frequency is decided by one question: if the site failed now and we restored the last copy, how much data would we lose, and is that acceptable?

Site typeSuggested frequency
A brochure site rarely updatedDaily or weekly, plus a copy before every major change
A site with an active blog and formsDaily
An online storeThe database several times a day or continuously, the files daily
A booking system or data platformVery frequent or continuous, depending on transaction volume

In every case: an immediate manual copy before any major update, design change or migration.

How long should you keep backups?

Keeping only the latest copy is a common mistake. Some hacks stay hidden for weeks before they’re discovered, and some errors (such as a deleted product or page) go unnoticed for a while. So use tiered retention: daily copies for two weeks, weekly for two months and monthly for several months. That way you can return to a clean point even if you discover the problem late.

Restore testing: the step everyone ignores

A backup whose restore has never been tested is just a hope. In a crisis you may find the copies are incomplete, the database is corrupted, or the restore takes a whole day because nobody knows the steps. So:

  1. Restore a full copy to a separate test environment at least every three months.
  2. Check that the site works completely: pages, images, forms, the store.
  3. Record how long the restore took and what problems came up.
  4. Document the steps in a short guide anyone on the team can follow.

This test also defines your “recovery time”: how many hours would your site be down in the worst case, and is that acceptable for the business?

A practical plan for a WordPress site

LayerImplementation
Provider backupsDaily copies from the host (a fast-restore first layer)
Independent backupsA backup tool sending encrypted copies to separate cloud storage owned by the company account
CodeThe theme and custom plugins in a code repository
Before updatesAn immediate manual copy, or a staging environment where updates are tested first
TestingA quarterly restore to a test environment
AlertsA notification whenever any backup job fails

Who is responsible?

What makes backup plans fail most isn’t technology but the absence of ownership. The host assumes the developer is watching, the developer assumes the host is handling it, and the company assumes the two are working together. Then in a crisis it turns out the backup tool stopped two months ago because the storage filled up and nobody noticed. So define in writing: who owns the storage account where backups are kept? Who receives failure alerts? Who runs the quarterly restore test and signs off on the result? And who gets called at night if you need an urgent restore? If the answer to any of these is “I don’t know”, your plan needs reviewing today, not tomorrow.

In contracts with hosting and maintenance providers, ask for the backup details to be stated explicitly: frequency, retention period, storage location, expected restore time, and whether restores are included in the service or cost extra. These small contract details decide whether your site is back within an hour or within days.

Finally, keep a copy of the restore guide and the essential access details somewhere that doesn’t depend on the server itself, because a stopped server won’t open the instructions file stored on it. Print a short paper copy if the site is critical to your business.

Securing the backups themselves

  • Encrypt backups, especially if they contain client data.
  • Never leave backup files downloadable from a public folder on the website.
  • Separate the permissions for backup storage from server permissions, so anyone who hacks the site can’t reach them.
  • Delete very old copies according to a clear policy, taking personal data protection requirements into account.

Backups and continuity

Backups are part of a bigger picture: business continuity. Alongside them: uptime monitoring so you know about a problem immediately (read uptime monitoring), protection that reduces the chance of needing a restore at all (read WordPress security), and an incident response plan that defines who does what (read recovering from a hack). For organisations subject to the National Cybersecurity Authority’s controls, backups and their restoration are part of the required controls.

An illustrative example: the crisis hour with a ready plan

An online store discovers on Sunday morning that an automatic update to its shipping plugin has broken the checkout page. With a ready plan: the team gets an alert from the monitoring tool about rising errors, opens the restore guide, and rolls the plugin back to its previous version from the nightly copy within minutes — or restores the whole site to the 3 a.m. copy while exporting the orders that came in afterwards. The update is then tested on a staging environment before being reapplied. The loss: less than an hour of disruption. Without a plan: hours of searching for the cause, improvised fixes, an outside developer called in a hurry, lost orders and angry customers.

From our work: for sites whose data changes every day, such as the Bnood store, the Mabella Clinics website and the Raghad Projects site with its project pages, we recommend backups independent of the host and regular restore tests, because losing a day of orders, bookings or content costs far more than the backups.

The bottom line

A real backup isn’t “the hosting makes a backup”; it’s a strategy: the 3-2-1 rule, a frequency that suits your site, tiered retention, encrypted and isolated copies, regular restore tests and failure alerts. We handle this within our hosting and business email service. Get in touch for a review of your backup plan.

FAQ

Isn’t the hosting company’s backup enough?

It’s useful as a first layer, but it’s usually kept with the same provider and sometimes only for a short time. Add an independent copy outside the hosting provider under your control.

How often should I back up my site?

Brochure sites that rarely change can be backed up daily or weekly; stores and booking sites need at least daily database backups, and perhaps more often.

What exactly should I back up?

The database, the website files (especially the media folder, the theme and custom plugins) and important settings. Email and cloud files need a separate plan.

How long should I keep backups?

Keep several points in time: daily for two weeks, weekly for two months and monthly for several months, depending on the site and your requirements.

Creative Agency
The Creative Agency team

Written from 20+ years designing websites and identities for clients in Saudi Arabia and Egypt — every tip here comes from real projects.

Want this applied to your project?

Book a free consultation — we will review your site or brand and propose a clear plan.

Book a free consultation

Get your free consultation now!