A backup that really saves you: how to roll back in 2 minutes
Imagine a gamer who never saved. The game looks great, the character is strong — until a hard fight comes and it’s over. Without a save you start from zero.
Your app works the same way. A backup is that save in the game. And the ability to return to it is what really saves you — not merely having a copy.
Backup and rollback in plain words
A backup is a copy of your data frozen in time. The state of customers, orders, accounts — just as it was at a specific hour.
A Rollback — Reverting a change to the previous, working state — “Ctrl+Z” for a deployment. When a new version breaks production, a rollback restores the previous one in seconds instead of fixing in a panic. is a return to that copy when something went wrong. Like a spare key to your flat: it lies hidden, unused — but on the day you lock yourself out, it decides whether you get in within a minute or wait half a day for a locksmith.
Important: a backup isn’t there so it can “be there just in case”. It’s there so you can go back. It’s a return mechanism, not an ornament.
“I have a copy” isn’t enough
Here’s the trap most people fall into.
Someone makes copies every day. The files pile up. Everyone’s at ease. Until a failure comes — and it turns out nobody ever checked whether you can return from that copy. The file is corrupted. Incomplete. Or nobody knows how to restore it.
An untested backup is a spare key you’ve never put in the lock. It looks like a key. It gives a feeling of safety. And in a crisis it may not fit.
The rule: a copy only counts once you’ve done a Dry-run — A “dry” run — the script shows what it WOULD do but changes nothing. You see the effects before executing; a data change happens only after deliberate confirmation. and confirmed you can restore a working version from it.
Read more: the classic backup safety rule is the 3-2-1 rule — keep three copies of your data, on two different media, of which one is off-site (e.g. in the cloud). Then a failure of one place doesn’t take everything from you at once.
What to ask the AI or the contractor
You don’t have to do it yourself. You have to know how to ask for it — and recognize whether you got it.
- A copy BEFORE every data change. Before anyone touches your data on the live site, they must first make a copy. “Small change, so no copy” is an excuse, not a reason.
- A tested way back. Ask not just for a copy, but for a described, rehearsed way of restoring it. The control question: “If something failed right now, how exactly do we get back to yesterday and how long will it take?”.
- Tagging deploys. Every release of a new version of the site should get a clear label (a tag — a named point in history, like a bookmark; in Git it’s one command,
git tag, e.g.v1.4.0). That way you can return to the previous working version with one command, without guessing what came before.
These three things don’t slow the work down. They make it reversible.
Failure → rollback in 2 minutes
See what it looks like when you did things right.
Tuesday, 2:00 PM. You’re rolling out a new version of the site. Before the change, a data copy was made and the new version got a tag. The old version also has its tag from the previous deploy.
2:05 PM. Customers call — the cart doesn’t work.
Without preparation: panic, hunting the bug on a live shop, hours lost.
With preparation:
- You roll the code back to the previous tag — the site is again as it was before the change.
- If the data was affected, you restore the copy made at 2:00 PM.
- The shop works. You fix the bug calmly, on the side, with no pressure.
Two minutes instead of two hours. The difference wasn’t made by cleverness in a crisis — it was made by the copy and the tag prepared in advance.
In short
- A backup is a return mechanism, not an ornament. The point of a copy is to be able to go back to a working version — of the data and the site.
- An untested copy is an illusion. Rehearse restoring once, before you really need it. A key you never put in the lock doesn’t count.
- Ask for three things: a copy BEFORE a data change, a tested way back, a tag on every deploy. That turns a failure from a disaster into a two-minute return.