Oracle Database 11g: Oracle Secure Backup Volume I Student Guide D57258GC10 Edition 1.0 March 2009 Part Number
Author Maria Billings Technical Contributors and Reviewers Christian Bauwens Donna Cooksey Gerlinde Frenzen Steven Fried Donna Keesling Isabelle Marchand Judy Panock Branislav Valny Editor Raj Kumar Graphic Designer Satish Bettegowda Publisher Syed Ali Nita Brozowski Copyright 2009, Oracle. All rights reserved. Disclaimer This document contains proprietary information and is protected by copyright and other intellectual property laws. You may copy and print this document solely for your own use in an Oracle training course. The document may not be modified or altered in any way. Except where your use constitutes "fair use" under copyright law, you may not use, share, download, upload, copy, print, display, perform, reproduce, publish, license, post, transmit, or distribute this document in whole or in part without the express authorization of Oracle. The information contained in this document is subject to change without notice. If you find any problems in the document, please report them in writing to: Oracle University, 500 Oracle Parkway, Redwood Shores, California 94065 USA. This document is not warranted to be error-free. Restricted Rights Notice If this documentation is delivered to the United States Government or anyone using the documentation on behalf of the United States Government, the following notice is applicable: U.S. GOVERNMENT RIGHTS The U.S. Government s rights to use, modify, reproduce, release, perform, display, or disclose these training materials are restricted by the terms of the applicable Oracle license agreement and/or the applicable U.S. Government contract. Trademark Notice Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.
Contents Preface I Introduction to Oracle Database 11g: Oracle Secure Backup Objectives I-2 Course Objectives I-3 Suggested Schedule I-4 The Product in Context I-5 Your Learning Aids I-6 Oracle Secure Backup Documentation I-7 Additional Resources I-8 1 Oracle Secure Backup Overview Objectives 1-2 What Is Oracle Secure Backup? 1-3 Oracle Secure Backup Tape Backup Management 1-4 Tape Management and Integration with Oracle Products 1-5 The Integration Advantage 1-6 Client/Server Architecture Host Roles 1-7 Oracle Secure Backup Architecture 1-8 Oracle Secure Backup for Centralized Tape Backup Management 1-9 Typical SAN Environment 1-11 Oracle Secure Backup Interface Options 1-12 Media Concepts: Overview 1-13 Backup Pieces and Backup Images 1-14 RMAN and Oracle Secure Backup Overview 1-15 Oracle Secure Backup Media Family 1-16 Tape Drives and Libraries 1-17 Virtual Tape Library (VTL) 1-19 Managing Data to Be Protected 1-20 Securing Data and Access to the Backup Domain 1-21 Quiz 1-22 Why Use Oracle Secure Backup? 1-26 Summary 1-27 iii
2 Installing Oracle Secure Backup Objectives 2-2 Performing Preinstallation Tasks 2-3 Installation and Configuration of the Administrative Domain 2-4 Quiz 2-5 Performing Installation Tasks 2-9 Administrative Server Installation: Example 2-10 Wizard-Based Installation on Windows 2-16 Oracle Secure Backup Interfaces 2-17 Oracle Secure Backup Web Tool Home Page 2-18 Common Obtool Commands 2-19 Quiz 2-20 Summary 2-23 Practice 2 Overview: Installing and Configuring Oracle Secure Backup 2-24 3 Securing Domain and Data Objectives 3-2 Managing User Access Control 3-3 Predefined Classes and User Rights 3-4 Configuring Oracle Secure Backup Users 3-7 Oracle Secure Backup User: OS Permissions 3-9 Preauthorization 3-11 Preauthorizing Access 3-12 Assigning Windows Account Information 3-13 Quiz 3-14 Authentication 3-16 Leveraging Oracle Security Technology 3-17 Administrative Server Certificate Authority (CA) 3-19 Oracle Wallets for OSB Intradomain Communication 3-21 Encrypted Backups to Tape 3-23 Oracle Secure Backup Encryption 3-24 Configuring Host Encryption Policies 3-25 Using OSB Encryption Keys 3-26 Transient Backup Encryption 3-27 Comparing OSB and RMAN Encryption 3-29 Quiz 3-30 Summary 3-34 Practice 3 Overview: Configuring OSB Security 3-35 4 Configuring RMAN for Oracle Secure Backup iv
Objectives 4-2 Oracle Database Disk and Tape Backup Solution 4-3 Backing Up the Flash Recovery Area to Tape 4-4 Defining Retention for RMAN Backups 4-5 RMAN and Oracle Secure Backup Basic Process Flow 4-6 Integration with Enterprise Manager 4-7 Configuring the Administrative Server in EM 4-8 Oracle Secure Backup Administrative Server Page 4-9 RMAN Database Backup to Tape 4-10 Recovery Settings 4-11 Backup Settings 4-12 Database Backup Storage Selector 4-13 Defining Database Storage Selectors 4-15 Media Families and RMAN 4-16 Media Management Expiration Policies for Automated Tape Recycling 4-17 RMAN and Oracle Secure Backup 4-19 Media Management Expiration Troubleshooting Technique 4-20 Quiz 4-21 Summary 4-25 Practice 4 Overview: Configuring RMAN for OSB 4-26 5 Performing RMAN Backups and Restores Objectives 5-2 Scheduling Backups with EM 5-3 Oracle-Suggested Backup 5-4 RMAN and OSB Process Flow 5-7 Oracle Secure Backup Jobs 5-8 RMAN and Oracle Secure Backup Job Execution 5-9 Managing Database Tape Backups 5-10 Performing Database Recovery 5-12 RMAN Automatic Failover to Previous Backup 5-13 Quiz 5-14 Summary 5-16 Practice 5 Overview: Performing OSB-Encrypted Backup and Restore 5-17 6 Backing Up File-System Data with Oracle Secure Backup Objectives 6-2 Backing Up OS File Systems with Oracle Secure Backup 6-3 v
File-System Backups 6-4 Managing Media Families 6-5 Dataset Examples 6-6 Creating Datasets 6-9 Configuring Backup Windows 6-11 Creating Backup Schedules 6-13 Creating Backup Triggers 6-14 Previewing a Backup Trigger 6-16 Creating On-Demand Backup Requests 6-17 Submitting Backup Requests 6-19 Reviewing Jobs 6-20 Quiz 6-21 Summary 6-24 Practice 6 Overview: Backing up File-System Data 6-25 7 Restoring File-System Backups with Oracle Secure Backup Objectives 7-2 Browsing the Catalog for File-System Backup Data 7-3 Restoring File-System Data 7-4 Restoring File-System Files with Oracle Secure Backup 7-5 The Restore Page 7-6 Listing All File-System Backups of a Client 7-7 Creating a Catalog-Based Restore Request 7-8 Submitting Restore Requests 7-12 Quiz 7-13 Summary 7-16 Practice 7 Overview: Restoring File-System Data 7-17 8 Managing Your Oracle Secure Backup Domain Objectives 8-2 Oracle Secure Backup Processes: Daemons 8-3 Managing Common Daemon Operations 8-5 Quiz 8-6 Managing Defaults and Policies 8-7 Configuring Oracle Secure Backup Policies 8-8 Oracle Secure Backup: Backup Metadata Catalogs 8-9 Oracle Secure Backup: Directory Structure 8-11 Backing Up the Catalog 8-12 Manual Catalog Backup 8-13 vi
Quiz 8-14 Summary 8-16 Practice 8 Overview: Performing a Preconfigured OSB Catalog Backup 8-17 9 Managing the OSB Infrastructure Objectives 9-2 Managing Clients 9-3 Adding Media Servers 9-4 NAS Devices 9-6 Adding NDMP Media Servers 9-7 Adding Devices 9-8 Discovering Devices on NDMP Hosts 9-10 Managing Devices 9-11 Tape Library Properties 9-12 Tape Drive Properties 9-13 Managing Volumes 9-14 Quiz 9-16 Summary 9-27 Practice 9 Overview: Viewing OSB Management Tasks 9-28 10 Configuring and Using Tape Vaulting Objectives 10-2 Overview of Vaulting 10-3 Configuring a New Vaulting Environment 10-5 Defining Media Storage Locations 10-6 Defining Rotation Policies and Rules 10-7 Defining Rotation Policies and Rules 10-8 Associating a Media Family with a Rotation Policy 10-9 Using the Vaulting Environment 10-11 Scheduling a Location Scan 10-12 Viewing Scan Control Jobs 10-13 Executing a Media Movement Job 10-14 Viewing Vaulting Reports 10-15 Troubleshooting Vaulting 10-16 Recovery Manager and Vaulting 10-17 Recalling a Tape Volume 10-18 Quiz 10-19 Summary 10-22 Practice 10 Overview: Configuring and Using Tape Vaulting 10-23 11 Configuring Tape Duplication vii
Objectives 11-2 Media Management 11-3 Overview of Tape Duplication 11-4 Tape Duplication and Vaulting 11-5 Tape Duplication and Migration 11-6 Configuring and Using Volume Duplication 11-7 Configuring a Duplication Environment 11-8 Defining Volume Duplication Policies 11-9 Associating a Duplication Policy with a Media Family 11-10 Scheduling Volume Duplication 11-11 Executing Jobs 11-12 Quiz 11-13 Summary 11-15 Practice 11 Overview: Viewing Media Life Cycle Demonstration 11-16 12 Tuning Oracle Secure Backup Objectives 12-2 Tuning Hardware 12-3 Tuning RMAN and Oracle Secure Backup 12-4 Tuning RMAN Software 12-6 Performance Factors 12-8 Tuning Oracle Secure Backup 12-11 Results of Tuning 12-12 Scalability of the Overall System 12-13 Quiz 12-14 Summary 12-18 Appendix A Appendix B Oracle Secure Backup: Additional Topics Objectives B-2 Encrypted Backups to Tape. B-3 Creating RMAN Encrypted Backups B-4 Using Transparent Mode Encryption B-5 Using Password Mode Encryption B-7 Using Dual Mode Encryption B-8 Restoring Encrypted Backups B-9 Performing Encrypted Recovery B-10 Comparing RMAN and OSB Encryption B-11 Oracle Secure Backup Jobs B-14 viii
Managing Jobs B-16 Viewing Job Properties and Transcripts B-18 Troubleshooting Jobs B-20 Suspending and Resuming Job Dispatching B-21 Job Summaries B-23 Displaying Log Files and Transcripts B-24 Summary B-25 Appendix C Oracle Secure Backup Additional Installation Topics Topics C-2 Windows Installation: Overview C-3 Oracle Secure Backup InstallShield Wizard C-4 Oracle Secure Backup Service Startup C-7 Service Logon and SCSI Devices C-8 Oracle Secure Backup Installed Files C-9 Installed Files for Host Role: Administrative Server C-13 Installed Files for Host Role: Media Server C-15 Installed Files for Host Role: Client C-16 Verifying Your Installation C-17 Removing Oracle Secure Backup C-18 Summary C-20 Appendix D Glossary Index ix