Chapter 13. Backing Up the Drive

Two weeks after I started my first Unix system administrator's job, the hard drive crashed. There was only one disk drive, and hard as it is to imagine these days, when a 20-gigabyte drive is considered small, it had a capacity of only 105 megabytes. The drive was not full, and a complete backup, made every Friday by the office manager, using a script our supplier provided, fit on a 60-megabyte tape. After the crash, a new drive was installed, and I restored the system from the tape backup.

That was easy, I thought—until I checked the disk and found that our database had not been restored. The users' files had not been restored, either. I looked at the tapes and discovered that only the system files had been backed ...

Get Shell Scripting Recipes: A Problem-Solution Approach now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.