Unix Backup & Recovery provides a complete overview of all facets of Unix backup and recovery, and offers practical, affordable backup and recovery solutions for environments of all sizes and budgets. The book begins with detailed explanations of the native backup utilities available to the Unix administrator, and ends with practical advice on choosing a commercial backup utility.
Describes the features, limitations, and syntax of Unix backup and restore utilities,(including dump, tar, cpio, dd, GNUtar, and GNUcpio) for many popular versions of Unix, including AIX, Compaq Unix, HP-UX, IRIX, SCO, Solaris, and Linux
Provides instructions for installing and configuring freely available backup systems such as AMANDA
Includes ready-to-run shell scripts that automate live backups of Informix, Oracle, and Sybase databases
Presents step-by-step recovery procedures for Oracle, Informix, and Sybase
Presents step-by-step "bare-metal" disaster recovery procedures for AIX, Compaq Unix, HP-UX, IRIX, Solaris, and Linux
Describes the design of "disaster recovery" and "highly available" systems
Provides guidance on choosing a commercial backup and recovery system
Describes the features and limitations of backup hardware
Chapter 1 Preparing for the Worst
My Dad Was Right
Developing a Disaster Recovery Plan
Step 1: Define (Un)acceptable Loss
Step 2: Back Up Everything
Step 3: Organize Everything
Step 4: Protect Against Disasters
Step 5: Document What You Have Done
Step 6: Test, Test, Test
Put It All Together
Chapter 2 Backing It All Up
Don’t Skip This Chapter!
Why Should You Read This Book?
How Serious Is Your Company About Backups?
You Can Find a Balance
Deciding What to Back Up
Deciding When to Back Up
Deciding How to Back Up
Storing Your Backups
Testing Your Backups
Monitoring Your Backups
Following Proper Development Procedures
Freely Available Filesystem Backup & Recovery Utilities
Chapter 3 Native Backup & Recovery Utilities
Backing Up with the dump Utility
Restoring with the restore Utility
Limitations of dump and restore
Features to Check For
Backing Up and Restoring with the cpio Utility
Backing Up and Restoring with the tar Utility
Backing Up and Restoring with the dd Utility
Comparing tar, cpio, and dump
How Do I Read This Volume?
Chapter 4 Free Backup Utilities
The hostdump.sh Utility
The infback.sh, oraback.sh, and syback.sh Utilities
A Really Fast tar Utility: star
Recording Configuration Data: The SysAudit Utility
Displaying Host Information: The SysInfo Utility
Performing Remote Detections: The queso Utility
Mapping Your Network: The nmap Utility
Commercial Filesystem Backup & Recovery Utilities
Chapter 5 Commercial Backup Utilities
What to Look For
Full Support of Your Platforms
Backup of Raw Partitions
Backup of Very Large Filesystems and Files
Simultaneous Backup of Many Clients to One Drive
Simultaneous Backup of One Client to Many Drives
Data Requiring Special Treatment
Storage Management Features
Reduction in Network Traffic
Support of a Standard or Custom Backup Format
Ease of Administration
Ease of Recovery
Protection of the Backup Index
Chapter 6 High Availability
What Is High Availability?
HA Building Blocks
Commercial HA Solutions
The Impact of an HA Solution
Bare-Metal Backup & Recovery Methods
Chapter 7 SunOS/Solaris
What About Fire?
Homegrown Bare-Metal Recovery
Recovering a SunOS/Solaris System
Chapter 8 Linux
How It Works
A Sample Bare-Metal Recovery
Chapter 9 Compaq Tru64 Unix
Compaq’s btcreate Utility
Homegrown Bare-Metal Recovery
Chapter 10 HP-UX
HP’s make_recovery Utility
The copyutil Utility
Using dump and restore
Chapter 11 IRIX
SGI’s Backup and Restore Utilities
System Recovery with Backup Tape
Homegrown Bare-Metal Recovery
Chapter 12 AIX
IBM’s mksysb Utility
IBM’s Sysback/6000 Utility
Database Backup & Recovery
Chapter 13 Backing Up Databases
Can It Be Done?
Confusion: The Mysteries of Database Architecture
The Muck Stops Here: Databases in Plain English
What’s the Big Deal?
An Overview of a Page Change
What Can Happen to an RDBMS?
Backing Up an RDBMS
Restoring an RDBMS
Documentation and Testing
Unique Database Requirements
Chapter 14 Informix Backup & Recovery
Automating Informix Startup: The dbstart.informix.sh Script
Protect the Physical Log, Logical Log, and sysmaster
Which Backup Utility Should I Use?
Physical Backups Without a Storage Manager: ontape
W. Curtis Preston has specialized in designing data protection systems since 1993, and has designed such systems for many environments, both large and small. His lively prose and wry, real-world approach has made him a popular author and speaker.
Our look is the result of reader comments, our own experimentation, and feedback from distribution channels. Distinctive covers complement our distinctive approach to technical topics, breathing personality and life into potentially dry subjects. The animal on the cover of Unix Backup & Recovery is an Indian gharial (sometimes spelled gavial), a resident of deep, fast-moving rivers in India and neighboring countries. Growing six to seven meters long, the gharial is one of the largest members of the crocodilian family. It is most notable for its extremely long, narrow snout. This snout, which is lined with razor-sharp teeth, is perfectly suited for catching and eating fish, the gharial's principal food. The narrow shape results in little water resistance, making rapid side-to-side snatched easy. The many sharp teeth are well-suited for holding onto struggling, slippery fish. The gharial's short, poorly muscled legs make it a very awkward mover on land, and thus it only emerges from the water for nesting and basking in the sun. Like other crocodiles, the gharial has often been accused of being a man eater. However, this animal is as poorly suited for eating humans as it is well-suited for eating fish. Findings of human remains and jewelry in gharial stomachs has perpetuated this belief, but since Hindi burial rituals in the gharial's habitat involve setting the cremated body afloat in the river, this is probably where these items come from.
Gharials are highly endangered, and came close to extinction in 1970s. Thanks to conservation efforts there has been some recovery of the gharial population. They have been protected since the 1970s, but males are still sometimes hunted for their snouts, which are said to have aphrodisiac properties. Gharials can also become caught in fishing nets, resulting in their death.
In summary, in the words of this book's author: "Let's see . . . huge, intimidating, ugly creature that's not actually harmful to humans . . . That sounds like backups to me!" Clairemarie Fisher O'Leary was the production editor and Norma Emory was the copyeditor for Unix Backup & Recovery. Nancy Wolfe Kotary was the production manager. Ellie Fountain Maden and Melanie Wang provided quality control. Mike Sierra provided FrameMaker technical support. Ellen Troutman wrote the index.
Edie Freedman designed the cover of this book, using a 19th-century engraving from the Dover Pictorial Archive. The cover layout was produced with QuarkXPress 3.32 using the ITC Garamond font. Whenever possible, our books use RepKover™, a durable and flexible lay-flat binding. If the page count exceeds RepKover™'s limit, perfect binding is used.
The inside layout was designed by Edie Freedman and implemented in FrameMaker 5.5 by Mike Sierra. The text and heading fonts are ITC Garamond Light and Garamond Book. The illustrations that appear in the book were produced by Robert Romano and Rhon Porter using Macromedia FreeHand 8 and Adobe Photoshop 5. This colophon was written by Clairemarie Fisher O'Leary.