Backup and Recovery. W. Curtis Preston O'REILLY' Beijing Cambridge Farnham Köln Paris Sebastopol Taipei Tokyo

Similar documents
Preface Part I. Introduction 1. The Philosophy of Backup Champagne Backup on a Beer Budget Why Should I Read This Book? Why Back Up?

TABLE OF CONTENTS. xiii. Preface. I. Introduction Preparing for the Worst 3. My Dad Was Right 3. Developing a Disaster Recovery Plan 4

Availability Digest. Unix Backup and Recovery. February 2007

Strategies for Bare Machine Recovery

Tivoli Flashcopy Manager Update and Demonstration

Seriously: Tape Only Backup Systems are Dead, Dead, Dead!

Strategies for Bare Machine Recovery

Linux Backups. Russell Adams Linux Backups p. 1

VERITAS NetBackup 6.0 Database and Application Protection

High Availability Databases based on Oracle 10g RAC on Linux

Oracle Backup & Recovery

W. Curtis Preston Executive Editor, TechTarget Independent Backup Expert

FIFTH EDITION. Oracle Essentials. Rick Greenwald, Robert Stackowiak, and. Jonathan Stern O'REILLY" Tokyo. Koln Sebastopol. Cambridge Farnham.

DB2 9 for LUW Advanced Database Recovery CL492; 4 days, Instructor-led

FOCUS ON: FDR/UPSTREAM S ONLINE DATABASE SOLUTIONS

Veritas NetBackup 6.0 Database and Application Protection

Agenda. Overview Configuring the database for basic Backup and Recovery Backing up your database Restore and Recovery Operations Managing your backups

Backup and Recovery Solutions for Exadata. Ľubomír Vaňo Principal Sales Consultant

WINDOWS SERVER HACKS. HLuHB Darmstadt. O'REILLY 5 Beijing Cambridge Farnham Koln Paris Sebastopol Taipei Tokyo

Symantec NetBackup 7 Clients and Agents

SEP sesam Online/Hot Backup & Restore for Databases and Application Protection

NETWORK SECURITY HACKS *

Backup and Recovery Solutions for Exadata. Cor Beumer Storage Sales Specialist Oracle Nederland

SQL-BackTrack the Smart DBA s Power Tool for Backup and Recovery

I N D U S T R Y A R T I C L E. The New Case For Open Source Data Protection

HARFORD COMMUNITY COLLEGE 401 Thomas Run Road Bel Air, MD Course Outline CIS INTRODUCTION TO UNIX

IBM Tivoli Storage FlashCopy Manager

HP LeftHand SAN Solutions

SEP AG. SEP sesam extend your infrastructure business with a heterogeneous backup solution. Josef Kastl Tasa Italia Srl Josef.kastl@tasaitalia.

D12CBR Oracle Database 12c: Backup and Recovery Workshop NEW

UPSTREAM for Linux on System z

Zmanda: Open Source Backup

FDR/UPSTREAM. Simplified Enterprise Backup

15 Organisation/ICT/02/01/15 Back- up

Backup Software Technology

Securing Your Microsoft SQL Server Databases in an Enterprise Environment

Integrating Data Protection Manager with StorTrends itx

Cloud Architecture Patterns

Introduction to AIX 6L System Administration Course Summary

How To Use Rackspace Backup On A Computer Or A Hard Drive

The Network Backup Solution

Oracle Database 10g: Backup and Recovery 1-2

Ultimate Guide to Oracle Storage

An Oracle White Paper September Oracle VM 3: Backup and Recovery Best Practices Guide

BACKUP BEST PRACTICES FOR A XENSERVER & XENDESKTOP ENVIRONMENT

Symantec NetBackup Getting Started Guide. Release 7.1

Oracle VM Server Recovery Guide. Version 8.2

ASM and for 3rd Party Snapshot Solutions - for Offhost. Duane Smith Nitin Vengurlekar RACPACK

VERITAS Bare Metal Restore 4.6 for VERITAS NetBackup

Symantec NetBackup 7.5 Clients and Agents

Oracle Database 10g: Administration Workshop II Release 2

System Administration of Windchill 10.2

EMC NetWorker Module for Databases and Applications

EMC Avamar 7.2 for IBM DB2

MySQL Enterprise Backup

TECHNICAL REPORT. Nimble Storage Oracle Backup and Recovery Guide

D78850GC10. Oracle Database 12c Backup and Recovery Workshop. Summary. Introduction. Prerequisites

Jenkins: The Definitive Guide

OPTIONS / AGENTS DESCRIPTION BENEFITS

May 27, Version: Draft 1.0 MARTIN COUNTY ADMINISTRATION INFORMATION TECHNOLOGY SERVICES RECOMMENDATION ON PRODUCTS & SERVICES FOR

Database. Administration. The Complete. and Procedures. Guide to DBA Practices. AAddison-Wesley. Second Edition. Mullins

Backing up DB2 with IBM Tivoli Storage Management

An Enterprise Messaging Solution using Integrated Open Source Software

Linux System Administration

Simplifying Online Backup Operations for Microsoft Exchange, SQL and Oracle with Hitachi Protection Manager Software

NETWORK SECURITY HACKS

<Insert Picture Here> Refreshing Your Data Protection Environment with Next-Generation Architectures

Backup Strategies for Integrity Virtual Machines

DOCUMENTATION FILE RESTORE

Data Integrity: Backups and RAID

Centralised Backup of the Talis Application Environments

Open Source Backup with Amanda

Database Storage Management with Veritas Storage Foundation by Symantec Manageability, availability, and superior performance for databases

SnapManager for Oracle 2.2. Anand Ranganathan Product & Partner Engineer (PPE)

1 Context Manage users and group accounts and related system files [4]

Windows Vista The Definitive Guide

Automating System Administration with Perl

Product Brief. it s Backed Up

A Quick Start Guide to Backup Technologies

Zero Downtime Backup solution for Oracle10g

Veritas NetBackup 6.0 Server Now from Symantec

Ingres Backup and Recovery. Bruno Bompar Senior Manager Customer Support

Name Description Included in

How To Write An Emma Document On A Microsoft Server On A Windows Server On An Ubuntu 2.5 (Windows) Or Windows 2 (Windows 8) On A Pc Or Macbook (Windows 2) On An Unidenor

ZFS Backup Platform. ZFS Backup Platform. Senior Systems Analyst TalkTalk Group. Robert Milkowski.

SEP Disaster Recovery and Backup Restore: Best Practices

VERITAS NetBackup 6.0 for Oracle

Bacula. The leading Opensource Backup Solution

Contents. Foreword. Acknowledgments

Redefining Oracle Database Management

Department of Technology Services UNIX SERVICE OFFERING

VERITAS NetBackup Release 3.4 Technical Overview

IBM TSM DISASTER RECOVERY BEST PRACTICES WITH EMC DATA DOMAIN DEDUPLICATION STORAGE

Windows PowerShell Cookbook

WHITE PAPER. VERITAS Bare Metal Restore AUTOMATED SYSTEM RECOVERY WITH VERITAS NETBACKUP

Oracle Database 11g: Administration Workshop II DBA Release 2

Using HP StoreOnce Backup systems for Oracle database backups

Disaster Recovery and Business Continuity Basics The difference between Disaster Recovery and Business Continuity

LINUX SECURITY COOKBOOK. DanieIJ. Barren, Richard E Silverman, and Robert G. Byrnes

SAN TECHNICAL - DETAILS/ SPECIFICATIONS

Transcription:

Backup and Recovery W. Curtis Preston O'REILLY' Beijing Cambridge Farnham Köln Paris Sebastopol Taipei Tokyo

Table of Contents Preface xv Part I. Introduction 1. The Philosophyof Backup 3 Champagne Backup on a Beer Budget 3 Why Should I Read This Book? 4 Why Back Up? 8 Wax On, Wax Off: Finding a Balance 11 2. Backing It All Up ^ 16 Don't Skip This Chapter! 16 Deciding Why You Are Backing Up 18 Deciding What to Back Up 19 Deciding When to Back Up 27 Deciding How to Back Up 34 Storing Your Backups 43 Testing Your Backups 47 Monitoring Your Backups 48 Following Proper Development Procedures 50 Unrelated Miscellanea 51 Good Luck 55 vii

Part II. Open-Source Backup Utilities 3. Basic Backup and Recovery Utilities 59 An Overview 59 Backing Up and Restoring with ntbackup 65 Using System Restore in Windows 67 Backing Up with the dump Utility 70 Restoring with the restore Utility 82 Limitations of dump and restore 91 Features to Check For 92 Backing Up and Restoring with the cpio Utility 93 Backing Up and Restoring with the tar Utility 104 Backing Up and Restoring with the dd Utility 111 Using rsync 114 Backing Up and Restoring with the ditto Utility 118 Comparing tar, cpio, and dump 121 Using ssh or rsh as a Conduit BetweeivSystems 123 4. Amanda 125 Summary of Important Features 128 Configuring Amanda 139 Backing Up Clients via NFS or Samba 143 Amanda Recovery 145 Community and Support Options 146 Future Plans 147 5. BackupPC 148 BackupPC Features 148 How BackupPC Works 149 Installation How-To 151 Starting BackupPC 156 Per-Client Configuration 157 The BackupPC Community 157 The Future of BackupPC 158 viii Table of Contents

6. Bacula 159 Bacula Architecture 159 Bacula Features 163 An Example Configuration 166 Advanced Features 172 Future Directions 176 7. Open-Source Near-CDP 179 rsync with Snapshots 180 rsnapshot 191 rdiff-backup 195 Part III. Commercial Backup 8. Commercial Backup Utilities 203 What to Look For 204 Füll Support of Your Platforms 205 Backup of Raw Partitions 206 Backup of Very Large Filesystems and Files 207 Aggressive Requirements 208 Simultaneous Backup of Many Clients to One Drive 218 Disk-to-Disk-to-Tape Backup 219 Simultaneous Backup of One Client to Many Drives -> 220 Data Requiring Special Treatment 222 Storage Management Features 224 Reduction in Network Traffic 231 Support of a Standard or Custom Backup Format 234 Ease of Administration 237 Security 240 Ease of Recovery 241 Protection of the Backup Index 242 Robustness 244 Automation 245 Volume Verification 246 Cost 247 Vendor 247 Final Thoughts 248 Table of Contents ix

9. Backup Hardware 249 Decision Factors 249 Using Backup Hardware 258 Tape Drives 261 Optical Drives 273 Automated Backup Hardware 278 Disk Targets 280 Part IV. Bare-Metal Recovery 10. Solaris Bare-Metal Recovery 297 Using Flash Archive 297 Preparing for an Interactive Restore 301 Setup of a Noninteractive Restore 307 Final Thoughts 313 11. Linux and Windows 315 Howlt Works ^ 316 The Steps in Theory 321 Assumptions 326 Alt-Boot Füll Image Method 326 Alt-Boot Partition Image Method 329 Live Method 331 Alt-Boot Filesystem Method 334 Automate Bare-Metal Recovery with G4L 337 Commercial Solutions 339 12. HP-UX Bare-Metal Recovery 340 System Recovery with Ignite-UX 340 Planning for Ignite-UX Archive Storage and Recovery 347 Implementation Example 353 System Cloning 360 Security 361 System Recovery and Disk Mirroring 362 13. AIX Bare-Metal Recovery 363 IBM's mksysb and savevg Utilities 363 Backing Up with mksysb 368 x Table of Contents

Setting Up NIM 374 savevg Operations 376 Verifying a mksysb or savevg Backup 376 Restoring an AIX System with mksysb 377 System Cloning 378 14. MacOSXBare-MetalRecovery 380 How It Works 380 A Sample Bare-Metal Recovery 382 Part V. Database Backup 15. Backing Up Databases 391 Can It Be Done? 392 Confusion: The Mysteries of Database Architecture 393 The Muck Stops Here: Databases in Piain English 393 What's the Big Deal? 394 Database Structure 395 An Overview of a Page Change 407 ACID Compliance 409 What Can Happen to an RDBMS? 409 Backing Up an RDBMS 410 Restoring an RDBMS 417 Documentation and Testing 420 Unique Database Requirements ^421 16. Oracle Backup and Recovery 422 Two Backup Methods 422 Oracle Architecture 424 Physical Backups Without rman 436 Physical Backups with rman 443 Flashback 449 Managing the Archived Redo Logs 450 Recovering Oracle 451 Logical Backups 486 A Broken Record 488 Table of Contents xi

17. Sybase Backup and Recovery 489 Sybase Architecture 490 The Power User's View 493 The DBA's View 496 Protecting Your Database 503 Backup Automation Through Scripting 510 Physical Backups with a Storage Manager 515 Recovering Your Database 516 Common Sybase Procedures 518 Sybase Recovery Procedure 523 18. IBMDB2BackupandRecovery 531 DB2 Architecture 532 The backup, restore, rollforward, and recover Commands 541 Recovering Your Database 553 19. SQLServer 562 Overview of SQL Server 563 The Power User's View 564 The DBA's View 568 Backups 573 Logical (Table-Level) Backups 586 Restore and Recovery 586 20. Exchange 594 Exchange Architecture 594 Storage Groups 597 Backup 602 Using ntbackup to Back Up 608 Restore 613 Exchange Restore 616 21. PostgreSQL 628 PostgreSQL Architecture 628 Backup and Recovery 632 Point-in-Time Recovery 636 xii Table of Contents

22. MySQL 640 MySQL Architecture 641 MySQL Backup and Recovery Methodologies 646 Part VI. Potpourri 23. VMware and Miscellanea 659 Backing Up VMware Servers 659 Volatile Filesystems 664 Demystifying dump 668 How Do I Read This Volume? 676 Gigabit Ethernet 685 Disk Recovery Companies 686 Yesterday 686 Trust Me About the Backups 687 24. It's All About Data Protection 689 Business Reasons for Data Protection 690 Technical Reasons for Data Protection 693 Backup and Archive 696 What Needs to Be Backed Up? 698 What Needs to Be Archived? 698 Examples of Backup and Archive 700 Can Open-Source Backup Do the Job? 701 Disaster Recovery 704 Everything Starts with the Business 705 Storage Security 711 1 Conclusion 713 Index 715 Table of Contents xiii