Synopses & Reviews
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.This book:
- 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
Providing an overview of all facets of UNIX backup and recovery, this text offers practical backup and recovery solutions for environments of all sizes and budgets, explaining everything from freely-available backup systems to large-scale commercial utilities.
Unix Backup & Recovery provides a complete overview of all fa
This guide 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 budgetswith explanations from freely available systems to large-scale commercial utilities.
Unix Backup & Recovery provides a complete overview of all fa
About the Author
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.
Table of Contents
Dedication; Preface; I Wish I Had This Book; Only the Recovery Matters; Products Change; Backing Up Databases Is Not That Hard; Bare-Metal Recovery Is Not That Hard; The Scripts in This Book Actually Work; How This Book is Organized; Conventions; How to Contact Us; This Book Was a Team Effort; Introduction; Chapter 1: Preparing for the Worst; 1.1 My Dad Was Right; 1.2 Developing a Disaster Recovery Plan; 1.3 Step 1: Define (Un)acceptable Loss; 1.4 Step 2: Back Up Everything; 1.5 Step 3: Organize Everything; 1.6 Step 4: Protect Against Disasters; 1.7 Step 5: Document What You Have Done; 1.8 Step 6: Test, Test, Test; 1.9 Put It All Together; Chapter 2: Backing It All Up; 2.1 Don't Skip This Chapter!; 2.2 Why Should You Read This Book?; 2.3 How Serious Is Your Company About Backups?; 2.4 You Can Find a Balance; 2.5 Deciding What to Back Up; 2.6 Deciding When to Back Up; 2.7 Deciding How to Back Up; 2.8 Storing Your Backups; 2.9 Testing Your Backups; 2.10 Monitoring Your Backups; 2.11 Following Proper Development Procedures; 2.12 Unrelated Miscellanea; 2.13 Good Luck; Freely Available Filesystem Backup and Recovery Utilities; Chapter 3: Native Backup and Recovery Utilities; 3.1 An Overview; 3.2 Backing Up with the dump Utility; 3.3 Restoring with the restore Utility; 3.4 Limitations of dump and restore; 3.5 Features to Check For; 3.6 Backing Up and Restoring with the cpio Utility; 3.7 Backing Up and Restoring with the tar Utility; 3.8 Backing Up and Restoring with the dd Utility; 3.9 Comparing tar, cpio, and dump; 3.10 How Do I Read This Volume?; Chapter 4: Free Backup Utilities; 4.1 The hostdump.sh Utility; 4.2 The infback.sh, oraback.sh, and syback.sh Utilities; 4.3 A Really Fast tar Utility: star; 4.4 Recording Configuration Data: The SysAudit Utility; 4.5 Displaying Host Information: The SysInfo Utility; 4.6 Performing Remote Detections: The queso Utility; 4.7 Mapping Your Network: The nmap Utility; 4.8 AMANDA; Commercial Filesystem Backup and Recovery Utilities; Chapter 5: Commercial Backup Utilities; 5.1 What to Look For; 5.2 Full Support of Your Platforms; 5.3 Backup of Raw Partitions; 5.4 Backup of Very Large Filesystems and Files; 5.5 Simultaneous Backup of Many Clients to One Drive; 5.6 Simultaneous Backup of One Client to Many Drives; 5.7 Data Requiring Special Treatment; 5.8 Storage Management Features; 5.9 Reduction in Network Traffic; 5.10 Support of a Standard or Custom Backup Format; 5.11 Ease of Administration; 5.12 Security; 5.13 Ease of Recovery; 5.14 Protection of the Backup Index; 5.15 Robustness; 5.16 Automation; 5.17 Volume Verification; 5.18 Cost; 5.19 Vendor; 5.20 Conclusions; Chapter 6: High Availability; 6.1 What Is High Availability?; 6.2 HA Building Blocks; 6.3 Commercial HA Solutions; 6.4 The Impact of an HA Solution; Bare-Metal Backup and Recovery Methods; Chapter 7: SunOS/Solaris; 7.1 What About Fire?; 7.2 Homegrown Bare-Metal Recovery; 7.3 Recovering a SunOS/Solaris System; Chapter 8: Linux; 8.1 How It Works; 8.2 A Sample Bare-Metal Recovery; Chapter 9: Compaq Tru64 Unix; 9.1 Compaq's btcreate Utility; 9.2 Homegrown Bare-Metal Recovery; Chapter 10: HP-UX; 10.1 HP's make_recovery Utility; 10.2 The copyutil Utility; 10.3 Using dump and restore; Chapter 11: IRIX; 11.1 SGI's Backup and Restore Utilities; 11.2 System Recovery with Backup Tape; 11.3 Homegrown Bare-Metal Recovery; Chapter 12: AIX; 12.1 IBM's mksysb Utility; 12.2 IBM's Sysback/6000 Utility; 12.3 System Cloning; Database Backup and Recovery; Chapter 13: Backing Up Databases; 13.1 Can It Be Done?; 13.2 Confusion: The Mysteries of Database Architecture; 13.3 The Muck Stops Here: Databases in Plain English; 13.4 What's the Big Deal?; 13.5 Database Structure; 13.6 An Overview of a Page Change; 13.7 What Can Happen to an RDBMS?; 13.8 Backing Up an RDBMS; 13.9 Restoring an RDBMS; 13.10 Documentation and Testing; 13.11 Unique Database Requirements; Chapter 14: Informix Backup and Recovery; 14.1 Informix Architecture; 14.2 Automating Informix Startup: The dbstart.informix.sh Script; 14.3 Protect the Physical Log, Logical Log, and sysmaster; 14.4 Which Backup Utility Should I Use?; 14.5 Physical Backups Without a Storage Manager: ontape; 14.6 Physical Backups with a Storage Manager: onbar; 14.7 Recovering Informix; 14.8 Logical Backups; Chapter 15: Oracle Backup and Recovery; 15.1 Oracle Architecture; 15.2 Physical Backups Without a Storage Manager; 15.3 Physical Backups with a Storage Manager; 15.4 Managing the Archived Redologs; 15.5 Recovering Oracle; 15.6 Logical Backups; 15.7 A Broken Record; Chapter 16: Sybase Backup and Recovery; 16.1 Sybase Architecture; 16.2 Physical Backups Without a Storage Manager; 16.3 Physical Backups with a Storage Manager; 16.4 Recovering Sybase; 16.5 Logical Backups; 16.6 An Ounce of Prevention . . .; Backup and Recovery Potpourri; Chapter 17: ClearCase Backup and Recovery; 17.1 ClearCase Architecture; 17.2 VOB Backup and Recovery Procedures; 17.3 View Backup and Recovery Procedures; 17.4 Summary; Chapter 18: Backup Hardware; 18.1 Choosing on a Backup Drive; 18.2 Using Backup Hardware; 18.3 Tape Drives; 18.4 Optical Drives; 18.5 Automated Backup Hardware; 18.6 Vendors; 18.7 Hardware Comparison; Chapter 19: Miscellanea; 19.1 Volatile Filesystems; 19.2 Demystifying dump; 19.3 Gigabit Ethernet; 19.4 Disk Recovery Companies; 19.5 Yesterday; 19.6 Trust Me About the Backups; Colophon;