Chapter 8Oracle9i DBA II: Backup/Recovery and Network Administration 1 Chapter 8 Complete Recovery with Recovery Manager.

Slides:



Advertisements
Similar presentations
INTRODUCTION TO ORACLE Lynnwood Brown System Managers LLC Backup and Recovery Copyright System Managers LLC 2008 all rights reserved.
Advertisements

DBA 101 Bootcamp New DBA Series Backup 101 April 12, 20111Paper #352.
Backup and recovery Basics of Backup and restoration Types of recovery Defining strategy Starting up and shutting down 80/20 rule SLA’s.
5 Copyright © 2006, Oracle. All rights reserved. Database Recovery.
Advanced Databases DBA: Backups 1. Advanced Databases Agenda Define backup Discuss Backup Terminology Explain various backup and restore options in Oracle.
CS27510 Commercial Database Applications. Maintenance Maintenance Disaster Recovery Disaster Recovery.
INTRODUCTION TO ORACLE Lynnwood Brown President System Managers LLC Data Loading & Backup And Recovery Lecture 5 Copyright System Managers LLC 2003 all.
RMAN Restore and Recovery
Backup and Recovery (2) Oracle 10g CAP364 1 Hebah ElGibreen.
Backup and Recovery Part 1.
Chapter 12 Performing Incomplete Recovery. Background Viewed as one of the more difficult chapters to write Thought it was important to put in material.
Chapter 5Oracle9i DBA II: Backup/Recovery and Network Administration 1 Chapter 5 User-Managed Incomplete Recovery.
CHAPTER 16 User-Managed Backup and Recovery. Introduction to User Managed Backup and Recovery Backup and recover is one of the most critical skills a.
Configuring Recovery Manager
Chapter 5 Configuring the RMAN Environment. Objectives Show command to see existing settings Configure command to change settings Backing up the controlfile.
Oracle9i Database Administrator: Implementation and Administration
7 Maintaining Redo Log Files. 7-2 Objectives Explaining the use of online redo log files Obtaining log and archive information Controlling log switches.
Backup Concepts. Introduction Backup and recovery procedures protect your database against data loss and reconstruct the data, should loss occur. The.
CHAPTER 18 RMAN Backups and Reporting. Introduction to RMAN Backups and Reporting The focus of this chapter is backups of: Datafiles Control files Archived.
Agenda  Overview  Configuring the database for basic Backup and Recovery  Backing up your database  Restore and Recovery Operations  Managing your.
Oracle backup and recovery strategy
Introduction to Oracle Backup and Recovery
Using RMAN to Perform Recovery
CHAPTER 16 User-Managed Backup and Recovery. Introduction to User Managed Backup and Recovery Backup and recover is one of the most critical skills a.
20 Copyright © 2004, Oracle. All rights reserved. Database Recovery.
13 Copyright © Oracle Corporation, All rights reserved. RMAN Complete Recovery.
PPOUG, 05-OCT-01 Agenda RMAN Architecture Why Use RMAN? Implementation Decisions RMAN Oracle9i New Features.
5 Copyright © 2004, Oracle. All rights reserved. Using Recovery Manager.
Chapter 7 Making Backups with RMAN. Objectives Explain backup sets and image copies RMAN Backup modes’ Types of files backed up Backup destinations Specifying.
11 Copyright © Oracle Corporation, All rights reserved. RMAN Backups.
11 Copyright © Oracle Corporation, All rights reserved. RMAN Backups.
Chapter 9 Scripting RMAN. Background Authors felt that scripting was a topic not covered well Authors wanted to cover both Unix/Linux and Windows environments.
Backup & Recovery Backup and Recovery Strategies on Windows Server 2003.
16 Copyright © 2007, Oracle. All rights reserved. Performing Database Recovery.
9 Copyright © 2004, Oracle. All rights reserved. Flashback Database.
The protection of the DB against intentional or unintentional threats using computer-based or non- computer-based controls. Database Security – Part 2.
A Guide to Oracle9i1 Database Instance startup and shutdown.
17 Copyright © Oracle Corporation, All rights reserved. Recovery Catalog Creation and Maintenance.
15 Copyright © Oracle Corporation, All rights reserved. RMAN Incomplete Recovery.
Advanced Databases DBA: Security and Backups Guide to Oracle 10g 1.
IT Database Administration Section 09. Backup and Recovery Backup: The available options Full Consistent (cold) Backup Database shutdown, all files.
14 Copyright © 2005, Oracle. All rights reserved. Backup and Recovery Concepts.
Backup Concepts. Introduction Backup and recovery procedures protect your database against data loss and reconstruct the data, should loss occur. The.
3 Copyright © 2006, Oracle. All rights reserved. Using Recovery Manager.
10 Copyright © Oracle Corporation, All rights reserved. User-Managed Backups.
Chapter 1Oracle9i DBA II: Backup/Recovery and Network Administration 1 Chapter 1 Backup and Recovery Overview MSCD642 Backup and Recovery.
Backup and Recovery Part 2. Online backup Online backup requirements: Backup all data files (file system copy) Backup all redo information produced during.
Overview of Oracle Backup and Recovery Darl Kuhn, Regis University.
12 Copyright © Oracle Corporation, All rights reserved. User-Managed Complete Recovery.
18 Copyright © 2004, Oracle. All rights reserved. Backup and Recovery Concepts.
6 Copyright © 2007, Oracle. All rights reserved. Performing User-Managed Backup and Recovery.
2 Copyright © 2007, Oracle. All rights reserved. Configuring for Recoverability.
2 Copyright © 2006, Oracle. All rights reserved. Configuring Recovery Manager.
16 Copyright © 2005, Oracle. All rights reserved. Performing Database Recovery.
8 Copyright © 2007, Oracle. All rights reserved. Using RMAN to Duplicate a Database.
3 Copyright © 2007, Oracle. All rights reserved. Using the RMAN Recovery Catalog.
18 Copyright © 2004, Oracle. All rights reserved. Recovery Concepts.
14 Copyright © 2005, Oracle. All rights reserved. Backup and Recovery Concepts.
10 Copyright © 2007, Oracle. All rights reserved. Using RMAN Enhancements.
Control File Information The database name The timestamp of database creation The names and locations of associated datafiles and redo log files Tablespace.
RMAN Maintenance.
RMAN Maintenance.
RMAN Backups.
Recovery Catalog Creation and Maintenance
Oracle9i Database Administrator: Implementation and Administration
Performing Tablespace Point-in-Time Recovery
Performing Tablespace Point-in-Time Recovery
Duplicating a Database
Performing User-Managed Backup and Recovery
Performing Database Recovery
Presentation transcript:

Chapter 8Oracle9i DBA II: Backup/Recovery and Network Administration 1 Chapter 8 Complete Recovery with Recovery Manager

Chapter 8Oracle9i DBA II: Backup/Recovery and Network Administration 2 Chapter Objectives Identify the benefits of using RMAN List the basic RMAN recovery procedures Recover a database that is in NOARCHIVELOG mode Recover a database that is in ARCHIVELOG mode Use RMAN to move a data file to a new location

Chapter 8Oracle9i DBA II: Backup/Recovery and Network Administration 3 Basic Recovery Steps Mount the target database Issue RESTORE command Issue RECOVER command Open the database

Chapter 8Oracle9i DBA II: Backup/Recovery and Network Administration 4 Why Use RMAN? Does not require the DBA to locate and restore the appropriate files – managed by RMAN

Chapter 8Oracle9i DBA II: Backup/Recovery and Network Administration 5 Recovering a NOARCHIVELOG Mode Database Mount the target database RESTORE command – all database files are restored Open the database The RECOVER command is NOT issued – file contents do not require updating

Chapter 8Oracle9i DBA II: Backup/Recovery and Network Administration 6 Mounting the Target Database Command to mount target database

Chapter 8Oracle9i DBA II: Backup/Recovery and Network Administration 7 Restoring the Data Files Command to restore files

Chapter 8Oracle9i DBA II: Backup/Recovery and Network Administration 8 Opening the Database Using RMAN

Chapter 8Oracle9i DBA II: Backup/Recovery and Network Administration 9 GUI Approach - Accessing Recovery Wizard

Chapter 8Oracle9i DBA II: Backup/Recovery and Network Administration 10 Operation Selection Through Recovery Wizard

Chapter 8Oracle9i DBA II: Backup/Recovery and Network Administration 11 RMAN Job Submitted Through Recovery Wizard

Chapter 8Oracle9i DBA II: Backup/Recovery and Network Administration 12 Recovering an ARCHIVELOG Mode Database Recovery required to update data files

Chapter 8Oracle9i DBA II: Backup/Recovery and Network Administration 13 Moving Files to New Location Take tablespace offline Use SET NEWNAME FOR DATAFILE to specify new name or location Execute RESTORE to physically move file Execute SWITCH to update control file with new information Execute RECOVER to update file’s contents Place tablespace back online

Chapter 8Oracle9i DBA II: Backup/Recovery and Network Administration 14 Relocating File – Example

Chapter 8Oracle9i DBA II: Backup/Recovery and Network Administration 15 Recovery Wizard to Relocate a File

Chapter 8Oracle9i DBA II: Backup/Recovery and Network Administration 16 Relocating Job Submission to Recovery Wizard

Chapter 8Oracle9i DBA II: Backup/Recovery and Network Administration 17 Chapter Summary To recover a database using Recovery Manager, a database in NOARCHIVELOG mode must be mounted, but not opened. The RESTORE command will automatically determine the most appropriate backup set or image copy for restoring the database files. With RMAN, the user is not required to manually restore the database files.

Chapter 8Oracle9i DBA II: Backup/Recovery and Network Administration 18 Chapter Summary (Cont.) Multiple channels can only be used during the restore process if more than one backup set is being restored. If two channels are used to backup a database, RMAN will divide the data files into two backup sets.

Chapter 8Oracle9i DBA II: Backup/Recovery and Network Administration 19 Chapter Summary (Cont.) When only one channel is allocated to restore multiple backup sets, the backup sets will be restored one at a time. The SET command is used to specify a new location for a data file.

Chapter 8Oracle9i DBA II: Backup/Recovery and Network Administration 20 Chapter Summary (Cont.) The SWITCH command is used to update the control file with the new location for a data file. The SQL command can be used to execute SQL statements through RMAN.