A laptop, a coffee, and disaster recovery

A laptop, a coffee, and disaster recovery


Last week, my laptop died a sudden spectacular death-by-drowning, as a full cup of coffee poured into its keyboard. It emitted a pop sound, and the screen and the power shut off.

What would your reaction be? Mine was to immediately unplug the power cord and remove the battery. Then I took it over to the sink and poured out the coffee. Remembering tales of people flushing keyboards with water, I ran some fresh water over the keys and then set to work. I removed the keyboard, the palm rest, a few of the inner cards, and let it sit without power for several hours. Apparently, not long enough.

Later that day, anxious to find out whether it was really dead or just comatose, I plugged it back in, crossed my fingers, and pressed the power button. The power light came on, I heard the fan start, and for a second or two, I was hopeful. But then... another pop, and it was dead. No further cleaning, drying, or care could resuscitate it over the next few days, so it’s currently back at the IBM factory going through open-heart surgery, if not a total replacement.

Being prepared for disasters can make life easier if the event actually occurs

What can go wrong?

Obviously, if I didn’t have a good backup of my data, such an event could have been catastrophic to my business. As it was, the loss of my laptop was merely an expensive hassle. Actual events such as this one can provide a good reality check for your disaster recovery strategies.

Many things can happen that have a similarly disasterous effect. Being prepared for disasters can make life easier if the event actually occurs. Let’s take a quick look at some possible computer disasters:

  • Coffee fries the laptop.
  • A service technician copies sensitive data from your computer.
  • Your laptop is stolen.
  • Your data is erased by a malfunctioning airport X-ray machine.
  • Your house burns down.
  • Your PDA is stolen.
  • A virus infects your files, and your recent backups.

Which of these disasters could make you go out of business? Or subject you to identity theft? Or to a lawsuit from your customers for leaking their information?

Many things can happen that have a similarly disasterous effect. Being prepared for disasters can make life easier if the event actually occurs

Several issues come into play here, and you need to consider all of them:

  1. Loss of use of your equipment.
  2. Compromise of sensitive data.
  3. Loss of data, including corrupt backups, deleted files, or important files you change accidentally.
  4. The overall risk of any of these events.

These are some of the considerations to be made when planning your disaster recovery strategy, and I’ll get into more detail in future issues.

How do I back up my data?

There are several approaches to doing backups. It used to be that most places would get a tape-drive and put entire system backups on a schedule to run overnight. Tapes aren’t always reliable, though, and it can be very difficult to retrieve individual files.

These days there are a lot more options. Writable CDs and DVDs provide a cheap way to create permanent backups, and create historical archives. USB thumb drives make for a simple way of instantly making a copy of important files. Large hard drives are cheap to buy, and when installed in an external drive enclosure or removable casing, become the most economical way to back up large sets of data.

If you have a Local Area Network (LAN), you can backup important files by simply copying them to other computers. If you’re in an office environment, I highly recommend having a server, and concentrating your backup efforts onto the server instead of individual workstations.

The best backup system is one you don’t have to think about at all. Ideally, your laptop or workstation should have no data that’s not also stored somewhere else. We’re all human afterall and the more work it is to do a backup, the less likely you are to have done one when you need it. So how did I do, when my laptop died?

The best backup system is one you don’t have to think about at all. Ideally, your laptop or workstation should have no data that’s not also stored somewhere else

Painful self-analysis

I probably rely on my laptop for a wider variety of data than most people. An important part of your backup strategy is identifying what data needs to be backed up, how often, and where. Here’s a list of what was on my computer:

  • Email
  • Contact addresses
  • Calendar/Schedule
  • Password database
  • Sensitive customer files
  • Sensitive business data
  • Finances
  • Non-sensitive customer files
  • Non-sensitive business documents
  • Prototype databases for web application projects
  • Prototype web applications under development
  • The operating system and application software
  • Configuration details about the machine itself

This list is probably a lot longer than yours, but it covers most of the different types of data used by the majority of small businesses, and may include a couple things you haven’t thought about. So, how did I go with my disaster recovery strategy:

Email

A perfect score. My email system uses IMAP, which keeps all mail on the server. Every single email in my mailbox is intact on the server, and immediately available from any other computer.

Contact addresses

Not so good. My contact addresses are currently stored in Evolution, my main email software. I periodically back up by synchronizing to my Palm, but I had been having problems with the synchronization, so I hadn’t done that for a couple weeks. I could have lost the last two weeks of any changes to my address book.

Calendar and schedules

Ouch! My strategy was completely inadequate in this area. Evolution has great calendaring capabilities and I have several different calendars set up in Evolution, each for a particular type of work. My meeting calendar gets synchronized to my Palm PDA. My social and meeting calendars are merged to publish free/busy information so others can schedule meetings with me. I then keep several other calendars to block out time for different tasks: billing, taxes, security updates, client projects, and articles. In Evolution I can easily show or hide different calendars, and see when I’m available for a meeting. But the downside is, these calendars are all stored only on my desktop. Evolution does not yet support storing calendars on a server—though you can read remote calendars. Aside from the meeting calendar, the remainder of my tasks and work schedule would have been completely lost.

Password database

Okay. It’s there, a backed up copy from my PDA. It’s also encrypted, though the encryption is not as strong as other encryption methods. At least it’d take substantial effort to crack, and I can trust IBM, with its reputation, not to mess with it.

Sensitive customer and business files

Good. Not only are all my customer files in a server-based document repository, available for instant access from any other computer, but the copies on my laptop are on a strongly encrypted partition. My clients and I have nothing to worry about when the hard drive goes into the service depot: the encryption method used is the Advanced Encryption Standard (AES), which is the US Government standard for strong encryption and currently has no known flaws.

Finances

Super! My finances aren’t even stored on this machine, even though it’s my primary workstation. I use a web-based application, with an encrypted connection. My business finances never leave my server, and the server is backed up nightly.

Non-sensitive customer files, prototype web applications

Good. Again, all customer files are stored in a document repository, and I work on a local copy. Whenever I’m done for the day, I check these files back into the server. I could have lost a few paragraphs, written in a new proposal that morning; but in this case, there was no catastrophic loss.

Non-sensitive business documents

Poor. I had a lot of marketing material in my computer that was not backed up anywhere else. Chunks of text getting prepared for the web site, a couple of time and mileage tracking spreadsheets, a few other assorted files were not properly added to my document repository. The mileage tracking spreadsheet in particular would have been a tough loss.

Prototype databases

OK. If you’re not a developer of some kind, you probably don’t have any databases running on your laptop. I have three: MySQL, PostgreSQL, and Oracle. It’s one of the main reasons I got a new laptop this year—to get the performance I need to handle the types of development I’m doing. Databases often can’t be backed up as files, especially when they’re running. But there’s nothing in the databases on my laptop beyond sample data, and the structure of each database is regularly exported to a file and added to my document repository. The document repository itself is a type of database that entails special backup procedures, but that’s not on my laptop, so that’s a story for another day.

Operating system and software

Just fine. Many people back up the entire hard drive, just because that’s what they think is necessary. I never back up the operating system or installed programs. In the Linux world, it’s almost always better to install the newest version of any software—catastrophic loss of a computer is just a great opportunity to upgrade. In the Windows world, you tend to need to periodically reinstall the entire operating system periodically anyway—especially the way recent spyware and viruses have infiltrated so many machines. Much better to start fresh and install the programs you need when you need them, either from new versions or directly from the installation CDs that you have in the bottom of that drawer.

System configuration

Total loss. On one hand, I try to keep the system configuration as close to the default as possible. But I had done a fair amount of custom configuration on this laptop to support things like the infrared port, the modem, and the wireless card, as these things don’t always work reliably out of the box in Linux. I have notes around here somewhere, but didn’t put them in a central place and some of the stacks of paper around here qualify as their own disaster needing recovery.

These types of events always serve as a wakeup call, highlighting areas for improvement

Result: needs improvement

While I had most of my critical data automatically backed up, there was a significant hassle involved in losing the data stored only on the laptop. In particular, I need to improve my contact, calendar, and a few less critical business documents. I also need better documentation of my system configuration. This would help me get this laptop back up, and running much more quickly.

Fortunately, I didn’t lose a thing. I went down to my local electronics store and bought a little drive enclosure for a laptop hard drive, plugged it in and recovered everything on the drive, including the things I didn’t have well backed up. All the same, these types of events always serve as a wakeup call, highlighting areas for improvement. Top of my list, based solely on the value of the data, is getting a better system in place for storing my contacts.

While I had most of my critical data automatically backed up, there was a significant hassle involved in losing the data stored only on the laptop

How would you fare if you lost your primary computer? If you don’t feel confident in your current backup strategy, we at Freelock Computing would be happy to help you figure out a better plan. Next month I’ll look at options for encrypting sensitive documents. It’s easier than you may think.

Category: 
License: 

Comments

admin's picture
Submitted by admin on

From: Phil Trickett
Url: www.trickett.info
Date: 2005-05-14
Subject: I hope you took out the Harddisk

Before washing the laptop under the tap!

Nice article.

Would be nice to see how you use your encrypted partitions, and a couple of other things mentioned in the article.

Good luck with the laptop!

Phil

Data recovery services's picture

Well, yea, washing your laptop under the tap pretty much leaves him with no chance... I know loosing data is a living hell, I have been through this and trust me, I never want to see it repeating. I even developed a phobia for it, if you search my bag you will understand.

jillian_g's picture
Submitted by jillian_g on

First of all, I'm so sorry about your laptop. It happened to me before but luckily I was able to retrieve my laptop, Thank God because it has all my files and I don't have a backup. Never will I drink coffee beside my laptop.

admin's picture
Submitted by admin on

From: Mik Yelrem
Url: Cox.net
Date: 2005-05-14
Subject: Take out HD, copy it

If your laptop dies from coffee, and the Hard Drive (HD) is not damaged, then you should be able to take out the HD, put it into one of those adapters that make it so that you can plug it into an IDE cable. Then connect it into your Desktop in an open IDE connector, then boot your Linux from a CD or Floppy (like Knoppix, your boot floppy for Linux, if you made one, or some way to bypass the possibility that the desktop will try to boot from the laptop HD). Then you can use dd to copy your whole hard drive to another drive. True, maybe you need to go buy another drive to copy to, but if you really want your configuration back in a form where it will work just as before, assuming no HD damage from the coffee, you have to copy the drive to another drive.

Another thing you can do is get a USB hard drive case with the USB circuitry in it, and put your laptop HD into that. Then you can plug that into a working computer and pretty much copy what you want into some disk space on the host computer.

Probably the best thing would have been to just take out the hard drive, then get the laptop fixed while using a different hard drive (used just to make sure the repair worked), or buy a new hard drive to be used for this repair. But keep the original HD that was in the laptop at your house. Then, when you get back the working laptop, just put in the original HD, and since it is going into the exact same type of computer, it should just work fine.

Sure it may cost some for the extra hard drive, if you have to get one, but you get your data and configuration all back just fine, and no worries about anyone else getting your data. At the repair shop perhaps all they will have to do is to put in some new components and just keep the old HD and it will work.

For data security people should buy a backup hard drive, and periodically copy the main drive to the backup drive. The Knoppix Hacks (O'Reilly) book describes how to do these things.

Using these techniques perhaps we can avoid shipping away our important data. It may cost more, but it may be well worth it. Then, even if coffee takes out the HD too, you still have everything up to the last backup date, and you can run from the backup hard drive.

Anonymous visitor's picture
Submitted by Anonymous visitor (not verified) on

i am almost positive that my computer was bit by a malfunctioning airport x-ray machine. has this happened to anyone else?

is my data lost forever?

Anonymous visitor's picture
Submitted by Anonymous visitor (not verified) on

you didn't give us enough information

Michalraise's picture

if you have to get one, but you get your data and configuration all back just fine, and no worries about anyone else getting your data. At the repair shop perhaps all they will have to do is to put in some new components and just keep the old HD and it will work.

---------------------------------

http://eeepc901.org.uk
eeepc 901

Simone45's picture
Submitted by Simone45 on

I must say I too have heard the most bizarre stories of poor laptops being fried. I do agree that you can never be too careful. Incidents will take place and you should be prepared to bear the consequences. You should be equipped always with a contingency plan in your words 'a disaster recovery strategy'. Losing data can be a fright to the heart and disastrous to your business.

Most forwarded

Interview with Dave Mohyla, of DTIDATA

Dave Mohyla is the president and founder of dtidata.com, a hard drive recovery facility based in Tampa, Florida.

TM: Where are you based? What does your company do?
DTI Data recovery is based in South Pasadena, Florida which is a suburb of Tampa. We have been here for over 10 years. We operate a bio-metrically secured class 100 clean room where we perform hard drive recovery on all types of hard disks, from laptop hard drives to multi drive RAID systems.

Anybody up to writing good directory software?

Since the very beginning, directories (of any kind) have had a very central role in the internet. (I have recently grown fond of Free Web Directory. Even Slashdot can be considered a directory: a collection of great news and invaluable user-generated comments. As far as software is concerned, doing a quick search on Google about software directories will return the free (as in freedom) software directories like Savannah, SourceForge, Freshmeat and so on, followed by shareware and freeware sites such as FileBuzz, PCWin Download Center and All Freeware (great if you're looking for shareware and freeware, but definitely less comprehensive than their free-as-in-freedom counterparts).

Interview with Mark Shuttleworth

Mark Shuttleworth is the founder of Thawte, the first Certification Authority to sell public SSL certificates. After selling Thawte to Verisign, Mark moved on to training as an astronaut in Russia and visiting space. Once he got back he founded Ubuntu, the leading GNU/Linux distribution. He agreed on releasing a quick interview to Free Software Magazine.

Is better education the key to finding better software?

I read David Jonathon's article Anybody Up To Writing Good Directory Software? the other day, which got me thinking about software directories in general. As David mentioned, many of the software directories one finds when doing a quick google search are free as in beer, not as in freedom. But what interests me is the software directories that already exist, providing a combination of both free as in beer software, and open source software. Sites such as Freeware Downloads and Shareware Download don't advertise themselves as providing free as in liberty software, but each of them have a good selection of open source software available... if you know where to look.

Most emailed

Free Open Document label templates

If you’ve ever spent hours at work doing mailings, cursed your printer for printing outside the lines on your labels, or moaned “There has got to be a better way to do this,” here’s the solution you’ve been looking for. Working smarter, not harder! Worldlabel.com, a manufacture of labels offers Open Office / Libre Office labels templates for downloading in ODF format which will save you time, effort, and (if you want) make really cool-looking labels

Creating a user-centric site in Drupal

A little while ago, while talking in the #drupal mailing list, I showed my latest creation to one of the core developers there. His reaction was "Wow, I am always surprised what people use Drupal for". His surprise is somehow justified: I did create a site for a bunch of entertainers in Perth, a company set to use Drupal to take over the world with Entertainers.Biz.

Update: since writing this article, I have updated the system so that the whole booking process happens online. I will update the article accordingly!

So, why, why do people and companies develop free software?

More and more people are discovering free software. Many people only do so after weeks, or even months, of using it. I wonder, for example, how many Firefox users actually know how free Firefox really is—many of them realise that you can get it for free, but find it hard to believe that anybody can modify it and even redistribute it legally.

When the discovery is made, the first instinct is to ask: why do they do it? Programming is hard work. Even though most (if not all) programmers are driven by their higher-than-normal IQs and their amazing passion for solving problems, it’s still hard to understand why so many of them would donate so much of their time to creating something that they can’t really show off to anybody but their colleagues or geek friends.

Sure, anybody can buy laptops, and just program. No need to get a full-on lab or spend thousands of dollars in equipment. But... is that the full story?

Fun articles

Santa Claus - the most successful open source project

It dawned on me the other day, as I was shopping for the dozens of gifts it seems I have to buy every December, that Santa Claus is the most successful open source project in history. (Bridget @ Illiterarty would agree with that). Santa Claus is essentially a marketing development that is embodied by everyone who stuffs a sock, gives a gift, hosts a dinner or wishes Merry Christmas over the holiday season.

Most emailed

Editorial

When I first started thinking about Free Software Magazine, I was feeling enthusiastic about the dream. I had Dave, Gianluca, and Alan willing to help me, I had established members of the free software community willing to help me out, I had writers volunteering their time and energy for free, and I had a generous offer from OpenHosting for servers, all before I'd proved myself. There was a sense of excitement in the air, and I thought maybe, just maybe, I could make this work.

Free Software Magazine uses Apollo project management software and CRM for its everyday activities!