Think Build Implement Repeat
London, UK +44 7367 067226
WhatsApp FOLLOW f in X
  1. Home
  2. Blog
  3. Recovery Planning for a Business Application
PHP Development

Recovery Planning for a Business Application

Disaster recovery for a business application: the two numbers to know, what needs backing up beyond the database, testing the restore and documenting it.

Updated 2 min readBy SpiderHunts Technologies

Free estimateNo obligation

Get a free estimate

Tell us what you need. A senior engineer reads every enquiry.

Takes under a minute. We never share your details.

  • Free consultation
  • No commitment
  • NDA on request

Prefer to talk? Book a free 30-minute call →

Quick answer — TL;DR

Know how long recovery would take and how much data you would lose. Then decide whether those numbers are acceptable, and test the restore before you need it.

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.

FAQ

Frequently asked questions

The questions readers ask us after this guide.

Still have a question?

Ask us directly — a senior engineer will get back to you.

Ask about your project

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

More on PHP Development

PHP Development

Why PHP Is Still a Sensible Choice

Is PHP still a good choice for business applications? Where modern, typed PHP fits, where another language is better, and the hosting and hiring arguments.

PHP Development

Improving Old Code Without a Rewrite

Modernising a legacy PHP application without a rewrite: move to a supported PHP version, add tests around what matters, then strangle rather than replace.

Start here

Never tested a restore?

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

  1. You tell us what you needTwo minutes on the form, or a message on WhatsApp.
  2. A senior engineer reviews itAnd comes back with questions, a realistic range and an honest view on fit.
  3. Free 30-minute scoping callWe talk through scope, options and a realistic estimate — with no obligation.
Free estimateNo obligation

Talk to someone who builds this

Send a short brief and we will come back with an honest view and a realistic range.

Takes under a minute. We never share your details.

  • Free consultation
  • No commitment
  • NDA on request

Prefer to talk? Book a free 30-minute call →