Websites

Rollback: every change needs a way back

Backups protect against attacks and hardware failure. The more common case, a failed update, needs something else: a planned and rehearsed way back to the last working version.

Airnite Editorial Team27 November 2026 · 3 min
Published
Reading time
3 min
Author
Airnite Editorial Team

In short

  • Before every upload, exactly the files that will be overwritten or deleted are backed up.
  • A rollback protocol defines in advance who returns to which version and when.
  • Every live version is tagged, so that “the last good state” is unambiguous.

What it is about

A new menu, a reworked home page, a few dozen knowledge articles: the change has been reviewed, the upload completes, and still, ten minutes later, an error appears that nobody noticed before. Now only one question matters: how quickly is the website back to its last good state?

Many companies rely on their hosting provider’s daily backup for this. That helps against ransomware or hardware failure, but it is too coarse for a failed update. It restores last night’s state, including everything that was added or changed since then. A rollback is more precise: it undoes exactly that one change.

How it works

A reliable way back has three parts. First, a targeted backup directly before the upload: exactly the files that the new package will overwrite are fetched from the server, and this backup is verified against checksums. Second, a list of files that are added or deleted, because they also have to be handled when going back. Third, a rollback protocol that defines in advance when to roll back, who decides and in which order the steps run.

So that “the last good state” is unambiguous, every live version is marked in the version history, for example with one tag per release. Rolling back to it is then not a search but a command. NIST guide SP 800-34 describes the same principle for contingency plans: recovery has to be planned, documented and rehearsed in advance.

Where it goes wrong

The classic case is the partial upload. With several hundred files, the connection drops, some files are new, some old. Without a file list, nobody knows exactly what is already on the server. A proven approach is to check the checksum on the server after every single file and to resume an interrupted upload precisely instead of starting over.

Just as often, new files are missing from the plan. Rolling back but forgetting the newly added pages leaves orphaned addresses that search engines keep requesting. And finally, the way back is rarely rehearsed. A rollback run for the first time under time pressure usually takes longer than finding the bug.

How to proceed

Before every upload, back up the files that will be overwritten and verify the backup before you continue. Keep separate lists of changed, new and deleted files. Write a short rollback protocol with trigger, owner and the individual steps. Tag every live version in the version history. And run through the way back once in a test environment, so that it is routine when it counts.

Read more: Backups that survive a ransomware attack, Four-eyes principle: approving changes to live systems safely and Version control for websites: every state traceable.

How Airnite helps

We deliver website changes as complete packages with backup, file lists and rollback protocol, and we tag every live version. For existing websites and applications, we set up this process retrospectively and rehearse it with your team, so that a failed update becomes a matter of minutes.

Checklist

Sources

Every fact in this article is based on the following publications. Primary sources are marked.

  1. NISTNIST SP 800-34 Rev. 1: Contingency Planning Guide for Federal Information SystemsStandardPrimary source
  2. GoogleSite Reliability Engineering: Release EngineeringVendorPrimary source
  3. NISTNIST Cybersecurity FrameworkStandard

Matching services

Read on

Current incidents and warnings are covered in the Zero Day magazine. Go to the magazine

Want to put this into practice in your company?

We assess your situation and tell you clearly what to do. For businesses, in confidence.

Talk to an expert now