Think Build Implement Repeat
London, UK +44 7367 067226
WhatsApp FOLLOW f in X
PHP Development

Recovery Planning for a Business Application

Last updated:

Two numbers to know

  1. How long would it take to be running again?
  2. How much data would you lose?
Most businesses have never established either number. Both are knowable in an afternoon, and both frequently turn out to be worse than assumed.

What needs backing up

  • The database, obviously and most importantly
  • Uploaded files, which are commonly outside the database backup
  • Configuration and environment variables
  • The code, which should be in version control anyway
  • Any credentials needed to rebuild the environment

A restore that recovers the database and not the uploaded documents is a partial restore, and it is the most common gap.

Test the restore

  1. Take the most recent backup
  2. Restore it to a clean environment
  3. Check the application runs and the data is complete
  4. Time it, honestly
  5. Write down what was missing or awkward

An hour, once, and you will know whether your backups are real. The problems it finds are exactly the ones you do not want to discover during an incident.

Document the recovery

NeededWhy
Where backups areFindable under pressure
How to restore, step by stepSomeone other than the author can do it
Credentials neededAvailable without the usual person
DNS and domain accessPointing at a new server
Who to contactHosting, provider, developer

Decide what is acceptable

For some businesses a day of downtime and an hour of lost data is fine. For others it is not, and the arrangements need to reflect that.

The point is deciding deliberately rather than discovering the answer at the worst possible moment.

Frequently asked questions

How often should backups run?

At least daily for a business application. More frequently where an hour of lost data would be significant.

Where should backups be stored?

Somewhere other than the server they came from, and ideally with a different provider. That covers the scenario that matters most.

How long to keep them?

Thirty days at minimum. Problems are frequently discovered weeks after they were introduced.

Who should be able to restore?

More than one person, following written steps. A recovery that depends on one individual is a continuity risk.

Keep reading

Never tested a restore?

One hour tells you whether you have backups or hopes. Worth doing before you need to know.

Book a free 30-minute call Get a project estimate WhatsApp us

Related services

What we build for problems like this one

Web DevelopmentCustom Software Development