
If there’s one lesson I’ve learnt from years of building websites, managing Linux servers, and teaching students, it’s this. Nobody thinks backups are exciting until they desperately need one.
I’ve lost count of the number of times a student has confidently said, “It’ll be fine, I only changed one file.” Five minutes later they’re asking whether I know how to recover deleted code. Unfortunately, computers have an incredible talent for proving us wrong at the worst possible moment. Whether it’s a failed update, a broken plugin, accidental deletion, or even a hacked website, things can and do go wrong. The good news is that most of these disasters are recoverable, provided you’ve prepared for them.
A backup is simply a copy of everything your website needs to function. That includes your website files, databases, uploaded images, configuration files, and in some cases even parts of your server configuration. I usually compare it to saving a game before fighting a difficult boss. You hope you won’t need that save, but you’ll certainly appreciate having it if everything falls apart.