There's one thing people remember at the worst possible moment — when the phone is already lying on the technician's bench and some work on its innards is looming ahead. The password for the local backup. It sounds like one of those "of course I remember it" things, but practice is merciless: it's precisely on repair day that memory decides to go on strike.

An encrypted local backup is not just a folder of photos. Inside is what an ordinary backup wouldn't even dare to store: saved passwords, Wi-Fi settings, browsing history, health data and the call log. In essence, it's the most complete snapshot of your iPhone's life. But without the password, that snapshot turns into a suitcase with a combination lock whose code you left at home.

The password is chosen by the owner when encryption is first switched on. The system doesn't keep it inside, doesn't send it by SMS and certainly doesn't tell the technician at the repair shop. If those few characters are forgotten, access to the old backup cannot be restored. You can, of course, start with a clean slate — create a new backup with a new password — but everything encrypted before will stay behind a closed door.

So the rule is as simple as anything reliable: write it down. Not in the notes on this same phone, obviously, but somewhere where paper survives both a spill and a screen replacement. A voice memo, a password manager, a notebook in a desk drawer — anything, as long as it can be found before the visit to the workshop.

You can check that a backup really is encrypted in a minute: in Finder on a Mac or in the Apple Devices app on Windows, a padlock icon will appear next to the device. If it's there, you'll need the password every time you restore. And that's where, once the repair is done and the data is waiting to go back in place, a calm owner with the password in hand differs from a panicker more than a new battery differs from a dead one.

Forewarned is forearmed. And better armed means everything will be where it should be.