It is Monday, twenty to nine in the morning, at a diagnostic centre in Mirpur. The receptionist switches on the computer, and every file on the shared drive has a strange new ending: .locked. A text file on the desktop says that the files will come back for a payment in bitcoin. The owner, a calm man, says: "Don't worry. We keep a backup. Rahim copies everything to the external disk every night." Rahim goes to fetch it. The disk is still plugged into the back of the same server, and every file on it ends in .locked too. Three years of patient reports are gone.
Now picture a second company, one where nothing was deleted at all. Every file is exactly where it should be. But for four months a salesman who was about to resign had been e-mailing the customer list to his new employer, a few hundred rows at a time. Nobody noticed, because nothing had broken.
Both companies lost data, and the word "loss" means two opposite things here. In the first, the data was destroyed or made unusable, so we need a copy to go back to. In the second, the data was taken, so we need a way to stop and notice that it is leaving. This chapter is about both, and about the question in between: when something big does go wrong, how fast must the business be back, and how much of its recent work may it afford to lose?