Skip to content
Work Expertise Services CV Portfolio Integrations Laravel packages Blog Sign in Get in touch

What happens when things go wrong

Not if, but when, and above all: for how long. Most organisations have something like a backup and almost nobody knows how many hours sit between the outage and running again. That number is the whole exercise.

Two numbers to start with

The first is the recovery point: how much work you may lose. If your backup runs every night, that is a day at worst. The second is the recovery time: how long it may take before you are working again. Those two are independent of each other, and it is the combination that sets the price.

The use of those two numbers is that they turn a technical discussion into a business one. Losing a day of work is annoying for bookkeeping and unacceptable for a till. Four hours of downtime is no disaster for an internal tool and very much one for a web shop on a Saturday. Once the numbers are on the table per system, the solution follows by itself, and you also see where you are currently overpaying for certainty you do not need there.

Then comes the uncomfortable question: does what you have now match those numbers. The answer is almost always no, and the gap is almost never in the data but in everything around it. The database is there all right, but the keys, the certificates, the dns and the agreements with the supplier were nowhere.

What I built on it

Six pieces between a system that stops and an organisation that runs again.

A backup outside the system you are backing up

A copy on the same server, at the same supplier or in the same account is not a copy but a second instance of the same risk. The copy sits elsewhere, at another party, with its own keys the source does not know.

A 365 environment with a copy beside it

Microsoft keeps your environment up, not your data safe from yourself. A mailbox someone empties or a SharePoint someone restructures is gone after the retention period. A backup outside 365 catches that.

A restore that has actually been carried out once

A backup that was never restored is a hunch. A restore onto an empty environment, with the clock running, turns it into a number: this many hours, and this piece turned out to be missing.

A rollout you can roll back

A version that breaks should not be restored from a backup but rolled back to the previous one. That asks for the rollout to be repeatable and for database migrations to be able to go forwards and backwards.

Redundancy where it is worth the money

Doubling up on everything costs twice as much and rarely returns twice as much. What does pay off is knowing which piece brings the whole chain down, and doubling exactly that one. Usually that is the database or the dns, not the web server.

A playbook a human can follow

On the day itself the person who built the system may well be on holiday. A sheet with who to call, where the keys are, in what order to restore and what to tell customers is then worth more than an extra server.

How it is put together

Five things that make the difference between a backup that exists and a restore that works.

Recovery point and recovery time are two numbers, not a feeling

How much work you may lose, and how long it may take before you are running again. Answered in hours, per system, and not in general. Yesterday for the bookkeeping is usually survivable; a till standing still for half a day is not. Without those two numbers every backup choice is a guess.

SharePoint and OneDrive are not a backup

A file that is synchronised is gone from all devices as fast as it is deleted on one of them. The recycle bin and the version history catch an accident, not encryption and not a cleanup that started three weeks earlier. That is the most common mistake I come across.

The copy must be unreachable from the source

Ransomware looks for whatever is reachable from the infected machine, including the network drive the backup sits on. A copy that can only be written and not overwritten, or that is pulled from elsewhere with its own keys, survives that.

Test on an empty environment, not on the real one

A restore you try on the running system only tests whether the file is readable. What you want to know is whether you can get running again from nothing: with the configuration, the keys, the certificates and the dns. Those are exactly the things nobody backs up.

The moment itself is no moment to decide

Who decides it is an incident, who tells the customers, when you switch over instead of carrying on restoring. Half an hour in advance, half a day afterwards. The playbook may be short, it only has to exist and be on paper, because the intranet may be down too.

Where it usually goes wrong

Not with the data. The database is usually there, somewhere. What is missing is the environment around it: which version was running, which settings were in it, which keys belonged with it, which dns pointed where, and at which supplier the account that gets you to it sits. Those are five things nobody backs up because they are not in a folder.

The second place it goes wrong is the human. A restore that takes three hours for someone who has done it before takes a working day for someone reading the playbook for the first time. That is why that playbook should not hold a technical summary but a series of steps someone can follow without calling the builder, and it should actually be followed at least once a year.

Do you know how long you would be down

If you cannot answer that in hours, that is the answer in itself. Half a day of review usually already turns up the two or three gaps that really matter. Send a message.

The server and rollout side is under devops and hosting, the workplace under Microsoft 365, and knowing something is broken before the customer calls under monitoring and error tracking.