Skip to content
DevOpsCommand

The 3-2-1 Backup Rule for Small Businesses (and How to Test Your Restores)

Most businesses find out their backups don't work on the day they need them. Here is a simple backup plan, and a 30-minute monthly test that proves it works.

By DevOpsCommand Engineering · · 3 min read

The 3-2-1 Backup Rule for Small Businesses (and How to Test Your Restores) — illustration

A backup you have never restored is a hope, not a backup. We regularly meet businesses that pay for "daily backups" and only discover during an incident that the files were empty, the database was never included, or the only copy sat on the same server that just failed. The fix is not expensive. It is a clear rule and a habit of testing.

The 3-2-1 rule

  • 3 copies of your data: the live data plus two backups.
  • 2 different types of storage: for example the server's disk and an object store such as Amazon S3, Backblaze B2 or Cloudflare R2.
  • 1 copy off-site: in a different provider or region from your server, so one outage, fire or compromised account cannot take everything.

Many teams now add a fourth point: one copy that cannot be changed. Ransomware and attackers with stolen credentials delete backups first. Object-lock (immutability) on your backup bucket means even an administrator cannot delete a backup before its retention period ends.

What actually needs backing up

For a typical business website or web application:

  • The database. Use a proper dump (pg_dump, mysqldump --single-transaction) or the provider's snapshot feature. Copying the raw database files while the server is running often produces a corrupt backup.
  • Uploaded files: images, documents, invoices customers have uploaded.
  • Configuration: web server config, environment variables (stored securely), cron jobs and SSL settings. Code should already live in Git; configuration often doesn't.
  • Email and DNS records, if you host them yourself. A screenshot of your DNS zone has saved more than one migration.

How often, and for how long

Ask one question: how much work can we afford to lose? If the answer is "one day of orders", nightly backups are fine. If it is "one hour", you need hourly database backups or continuous archiving such as PostgreSQL point-in-time recovery. Keep a mix of ages, for example 7 daily, 4 weekly and 6 monthly copies, so a problem discovered weeks later can still be undone.

The 30-minute monthly restore test

  1. Pick the most recent off-site backup, not the local one.
  2. Restore it to a separate, temporary server or container. Never test by restoring over production.
  3. Check that the application starts and that recent data is present: the last order, the last uploaded file, the last registered user.
  4. Write down how long the restore took. That is your real recovery time, and it is usually longer than people assume.
  5. Delete the test server and note the date and result in a simple log.

If any step fails, you have found the problem on a quiet Tuesday instead of during an outage.

Common mistakes we see

  • Backups stored only on the same server or the same hosting account.
  • Backup jobs that silently stopped months ago because a password changed. Set up an alert when a backup doesn't run.
  • Backups that are not encrypted, sitting in a publicly readable bucket.
  • No one knowing the restore steps except the person who set it up.

Where to start this week

List what you have, check where each backup is physically stored, and run one restore test. If that test is uncomfortable, that is the most valuable thing you will learn about your systems this year. We set up and monitor backups as part of our server management and maintenance plans, and we can run a first restore test with you during a free technical review.

Related articles

Let's talk

Want an engineer to set this up for you?

A 30-minute call. No pressure, no sales pitch — just an engineer looking at what you actually have and telling you what it needs.