Recovery Workshop
Student Guide
D71862GC10
Edition 1.0
March 2011
D72508
Authors
Donna Keesling
Disclaimer
James Spiller
Technical Contributors
and Reviewers
Christopher D. Andrews
Maria Billings
Herbert Bradbury
Timothy Chien
Donna Cooksey
Pascal Daniel
Joe Fong
Gerlinde Frenzen
Mark Fuller
Joel Goodman
Uwe Hesse
Dominique Jeunot
Pete Jones
Gwen Lazenby
Deirdre Matishak
Veerabhadra Rao Putrevu
Ira Singer
Hironori Susuta
Branislav Valny
Anthony Woodell
Publisher
Sujatha Nagendra
Contents
Preface
1
Introduction
Objectives 1-2
Assessing Your Recovery Requirements First Step in Data Protection Planning 1-3
Assessing Your Recovery Requirements 1-5
Categories of Failure 1-6
Data Failures 1-7
Oracle Data Protection Solutions 1-8
Backup and Recovery Foundation Complete Oracle Solution from Disk to Tape 1-9
Oracle Recovery Manager (RMAN) Integrated Backup and Recovery Engine 1-10
Oracle Secure Backup Enterprise Tape Backup Management 1-11
Oracle Secure Backup Cloud Module Offsite Database Backups in the Cloud 1-12
Oracle Data Guard Overview 1-13
Physical Standby Database: Redo Apply Architecture 1-15
Logical Standby Database: SQL Apply Architecture 1-16
Oracle Active Data Guard 1-17
Oracle Maximum Availability Architecture Robust & Integrated Data Protection 1-18
Quiz 1-19
Summary 1-20
Practice 1-1 Overview: Exploring the Oracle Virtual Machine Environment 1-21
iii
Practice 2-2 Overview: Setting the Date and Time Format for RMAN 2-15
Practice 2-3 Overview: Enabling Control File and SPFILE Autobackups 2-16
Practice 2-4 Overview: Configuring Backup Retention Policy 2-17
Practice 2-5 Overview: Configuring Devices for Backup 2-18
3
Summary 4-22
Practice 4-1 Overview: Creating the Recovery Catalog Owner 4-23
Practice 4-2 Overview: Creating the RMAN Recovery Catalog 4-24
Practice 4-3 Overview: Registering a Database in the Recovery Catalog 4-25
Practice 4-4 Overview: Configuring the Recovery Catalog for Recovery 4-26
5
Creating Backups
Objectives 6-2
Review: Oracle-Suggested Backup 6-3
Creating Backup Sets 6-4
Creating Image Copies 6-5
Incrementally Updated Backups 6-7
Incrementally Updated Backups: Example 6-8
Creating a Whole Database Backup 6-9
Backing Up Read-Only Tablespaces 6-11
Creating RMAN Multisection Backups 6-12
Checking for Block Corruption 6-13
Fast Incremental Backup 6-14
Enabling Fast Incremental Backup 6-16
v
vi
Performing Recovery
Objectives 9-2
Understanding File Loss 9-3
Ensuring Backups are Available 9-4
Performing Restore and Recovery of a Database in NOARCHIVELOG Mode 9-5
vii