15 Copyright © Oracle Corporation, 2002. All rights reserved. RMAN Incomplete Recovery.

Slides:



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

5 Copyright © 2005, Oracle. All rights reserved. Managing Database Storage Structures.
5 Copyright © 2006, Oracle. All rights reserved. Database Recovery.
RMAN Restore and Recovery
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
4 Copyright © 2008, Oracle. All rights reserved. Configuring Backup Specifications.
Chapter 5 Configuring the RMAN Environment. Objectives Show command to see existing settings Configure command to change settings Backing up the controlfile.
9 Copyright © Oracle Corporation, All rights reserved. Oracle Recovery Manager Overview and Configuration.
The Oracle Recovery Manager (RMAN)
Backup Concepts. Introduction Backup and recovery procedures protect your database against data loss and reconstruct the data, should loss occur. The.
Agenda  Overview  Configuring the database for basic Backup and Recovery  Backing up your database  Restore and Recovery Operations  Managing your.
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.
7 Copyright © 2006, Oracle. All rights reserved. Dealing with Database Corruption.
5 Copyright © 2004, Oracle. All rights reserved. Using Recovery Manager.
5 Copyright © 2008, Oracle. All rights reserved. Using RMAN to Create Backups.
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.
15 Copyright © 2005, Oracle. All rights reserved. Performing Database Backups.
© ViSolve.com All rights reserved. Privacy Statement April Oracle Disaster Recovery Implementation A Non-Technical Overview.
Backup & Recovery Backup and Recovery Strategies on Windows Server 2003.
16 Copyright © 2007, Oracle. All rights reserved. Performing Database Recovery.
4 Copyright © 2006, Oracle. All rights reserved. Recovering from Noncritical Losses.
15 Copyright © 2007, Oracle. All rights reserved. Performing Database Backups.
9 Copyright © 2004, Oracle. All rights reserved. Flashback Database.
18 Copyright © Oracle Corporation, All rights reserved. Workshop.
A Guide to Oracle9i1 Database Instance startup and shutdown.
17 Copyright © Oracle Corporation, All rights reserved. Recovery Catalog Creation and Maintenance.
7 Copyright © 2004, Oracle. All rights reserved. Recovering from Noncritical Losses.
Chapter 8Oracle9i DBA II: Backup/Recovery and Network Administration 1 Chapter 8 Complete Recovery with Recovery Manager.
6 Copyright © 2006, Oracle. All rights reserved. Flashback.
11 Copyright © 2004, Oracle. All rights reserved. Dealing with Database Corruption.
8 Copyright © Oracle Corporation, All rights reserved. Configuring the Database Archiving Mode.
14 Copyright © 2005, Oracle. All rights reserved. Backup and Recovery Concepts.
3 Copyright © 2006, Oracle. All rights reserved. Using Recovery Manager.
10 Copyright © Oracle Corporation, All rights reserved. User-Managed Backups.
Configuring the Database Archiving Mode
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.
7 Copyright © Oracle Corporation, All rights reserved. Instance and Media Recovery Structures.
6 Copyright © Oracle Corporation, All rights reserved. Backup and Recovery Overview.
10 Copyright © 2007, Oracle. All rights reserved. Using RMAN Enhancements.
19 Copyright © 2004, Oracle. All rights reserved. Database Backups.
9 Copyright © 2004, Oracle. All rights reserved. Incomplete Recovery.
What is Flashback? Technology that allows you to revert the database to a point in time in the past Several versions of flashback available Different types.
Copyright  Oracle Corporation, All rights reserved. 3 Oracle Backup and Recovery Configuration.
Control File Information The database name The timestamp of database creation The names and locations of associated datafiles and redo log files Tablespace.
5 Copyright © 2005, Oracle. All rights reserved. Managing the Oracle Instance.
RMAN Maintenance.
RMAN Maintenance.
Recovery Catalog Creation and Maintenance
Performing User-Managed Backup and Recovery
Performing Database Recovery
Chapter 5 The Redo Log Files.
Presentation transcript:

15 Copyright © Oracle Corporation, All rights reserved. RMAN Incomplete Recovery

15-2 Copyright © Oracle Corporation, All rights reserved. Objectives After completing this lesson, you should be able to do the following: Perform an incomplete database recovery by using UNTIL TIME Perform an incomplete database recovery by using UNTIL SEQUENCE

15-3 Copyright © Oracle Corporation, All rights reserved. Incomplete Recovery of a Database Using RMAN 1.Mount the database. 2.Allocate multiple channels for parallelization. 3.Restore all datafiles. 4.Recover the database by using UNTIL TIME, UNTIL SEQUENCE, or UNTIL SCN. 5.Open the database by using RESETLOGS. 6.Perform a whole database backup.

15-4 Copyright © Oracle Corporation, All rights reserved. Specifying the Restore Time

15-5 Copyright © Oracle Corporation, All rights reserved. RMAN Incomplete Recovery UNTIL TIME : Example RMAN> RUN { 2> ALLOCATE CHANNEL c1 TYPE DISK; 3> ALLOCATE CHANNEL c2 TYPE DISK; 4> SET UNTIL TIME = ‘ :11:44:00'; 5> RESTORE DATABASE; 6> RECOVER DATABASE; 7> ALTER DATABASE OPEN RESETLOGS; }

15-6 Copyright © Oracle Corporation, All rights reserved.

15-7 Copyright © Oracle Corporation, All rights reserved. Specifying the Sequence

15-8 Copyright © Oracle Corporation, All rights reserved. RMAN Incomplete Recovery UNTIL SEQUENCE : Example RMAN> RUN { 2> SET UNTIL SEQUENCE 120 THREAD 1; 3> ALTER DATABASE MOUNT; 4> RESTORE DATABASE; 5> RECOVER DATABASE; # recovers through log 119 6> ALTER DATABASE OPEN RESESTLOGS; 7> }

15-9 Copyright © Oracle Corporation, All rights reserved. Summary In this lesson, you should have learned how to: Perform an incomplete database recovery by using UNTIL TIME Perform an incomplete database recovery by using UNTIL SEQUENCE

15-10 Copyright © Oracle Corporation, All rights reserved. Practice 15 Overview This practice covers recovery with lost archived redo log files.

15-11 Copyright © Oracle Corporation, All rights reserved.

15-12 Copyright © Oracle Corporation, All rights reserved.