RECOVER COPY OF DATABASE WITH TAG



Similar documents
Oracle 10g Feature: RMAN Incrementally Updated Backups

Oracle 12c Recovering a lost /corrupted table from RMAN Backup after user error or application issue

If you have not multiplexed your online redo logs, then you are only left with incomplete recovery. Your steps are as follows:

Oracle 11gR2 : Recover dropped tablespace using RMAN tablespace point in time recovery

Database Disaster Recovery using only RMAN Backups

HOW TO. RMAN Restore for Standby 10gR2

! " # #$ " " %" & "'( " "' ( ) " * ""! ). " / ( * ( "# 0! " ). '

Clonación de una Base de Datos Oracle 11gR2 Activa usando RMAN. CLONACIÓN DE UNA BASE DE DATOS ORACLE 11gR2 ACTIVA USANDO RMAN

RMAN BACKUP & RECOVERY. Recovery Manager. Veeratteshwaran Sridhar

BrightStor ARCserve Backup

Oracle Database 10g: Backup and Recovery

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

Database Recovery For Newbies

Using RMAN to restore a database to another server in an ASM environment

Use RMAN to relocate a 10TB RAC database with minimum downtime. Tao Zuo tao_zuo@npd.com NPD Inc. 9/2011

Backup/Restore Oracle 8i/9i/10g

Recreate Physical Standby Database after Recovery of Primary Database

Best Practices White Paper Using Oracle Database 10g Automatic Storage Management with FUJITSU Storage

12. User-managed and RMAN-based backups.

DOCUMENTATION ORACLE BACKUP & RESTORE OPERATIONS

Oracle Database 10g: Backup and Recovery 1-2

RMAN What is Rman Why use Rman Understanding The Rman Architecture Taking Backup in Non archive Backup Mode Taking Backup in archive Mode

This appendix describes the following procedures: Cisco ANA Registry Backup and Restore Oracle Database Backup and Restore

HP LeftHand SAN Solutions

ORACLE CORE DBA ONLINE TRAINING

Performing Database and File System Backups and Restores Using Oracle Secure Backup

Backing Up Oracle Databases with Handy Backup

Configuring Backup Settings. Copyright 2009, Oracle. All rights reserved.

PRM For Oracle Database 3.1 GUI:

Oracle Data Recovery Advisor

MAX_RMAN_08137_IGNORE=5 DISK_RETENTION_POLICY='RECOVERY WINDOW OF 7 DAYS'

Oracle 11g DBA Training Course Content

<Insert Picture Here> RMAN Configuration and Performance Tuning Best Practices

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

Zero Downtime Backup solution for Oracle10g

Strategies for Oracle Database Backup and Recovery: Case Studies. Mingguang Xu

11. Oracle Recovery Manager Overview and Configuration.

Demos - Workshop. -- Configure the RMAN

Oracle Recovery Manager

High Performance Oracle RAC Clusters A study of SSD SAN storage A Datapipe White Paper

Oracle Backup and Recovery Best Practices Dell Compellent Storage Center. Dell Compellent Technical Best Practices

TECHNICAL REPORT. Nimble Storage Oracle Backup and Recovery Guide

Oracle Recovery Manager 10g. An Oracle White Paper November 2003

Installation Companion Oracle Data Guard on Amazon EC2 Configuration Guide

Delivery Method: Instructor-led, group-paced, classroom-delivery learning model with structured, hands-on activities.

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

Restoring To A Different Location With EBU And RMAN An AppsDBA Consulting White Paper

MapGuide Open Source Repository Management Back up, restore, and recover your resource repository.

Using Recovery Manager with Oracle Data Guard in Oracle Database 10g. An Oracle White Paper April 2009

Recover Oracle Database upon losing all Control Files

Oracle9i Database: Advanced Backup and Recovery Using RMAN

D12CBR Oracle Database 12c: Backup and Recovery Workshop NEW

Using Recovery Manager with Oracle Data Guard in Oracle9i. An Oracle White Paper January 2007

Oracle Database 11g: Administration Workshop II DBA Release 2

Oracle Database 12c Recovery Manager New Features

Configuring Backup Settings Configuring and Managing Persistent Settings for RMAN Configuring Autobackup of Control File Backup optimization

Oracle Backup and Recover 101. Osborne Press ISBN

Oracle Backup, Recovery, and Performance Tuning using EMC Avamar and Oracle RMAN

Using HP StoreOnce Backup systems for Oracle database backups

An Oracle White Paper January Oracle Database Backup Service A Technical White Paper

Integrating Network Appliance Snapshot and SnapRestore with VERITAS NetBackup in an Oracle Backup Environment

Oracle Database Backups and Disaster Autodesk

Best Practices White Paper Using Oracle Database 11g R2 Automatic Storage Management with FUJITSU Storage (Windows version)

Oracle Database B

Backup Types. Backup and Recovery. Categories of Failures. Issues. Logical. Cold. Hot. Physical With. Statement failure

Oracle Database 11g: Administration Workshop II DBA Release 2

Implementing an Enterprise Class Database Backup and Recovery Plan

Oracle Database 11g: Administration Workshop II Release 2

WHITE PAPER. Oracle RMAN Design Best Practices with Data Domain. Storage. Deduplication

How To Backup A Database

Why Not Oracle Standard Edition? A Dbvisit White Paper By Anton Els

How to Best Configure, Size, and Monitor the Oracle Database Fast Recovery Area

OCP: Oracle Database 12c Administrator Certified Professional Study Guide. Exam 1Z0-063

Redefining Oracle Database Management

DB2 backup and recovery

CA ARCserve Backup for Linux

Oracle Database Cross Platform Migration Lucy Feng, DBAK

RMAN in the Trenches: To Go Forward, We Must Backup

EMC Data Domain Boost for Oracle Recovery Manager (RMAN)

Getting all the pieces: Reliable Backup/Recovery

UNIVERSITY AUTHORISED EDUCATION PARTNER (WDP)

Oracle 11g Database Administration

EMC NetWorker Module for Oracle Release 5.0

Feature. Database Backup and Recovery Best Practices

FOCUS ON: FDR/UPSTREAM S ONLINE DATABASE SOLUTIONS

Restore and Recovery Tasks. Copyright 2009, Oracle. All rights reserved.

An Oracle White Paper June Protecting Oracle Database Appliance Tape Backup with Oracle Secure Backup

Oracle Database 11g: Administration And Backup & Recover

Oracle Database Backup Cloud Service. Copyright 2015 Oracle and/or its affiliates. All rights reserved.

Oracle Database 12c: Admin, Install and Upgrade Accelerated

About the Author About the Technical Contributors About the Technical Reviewers Acknowledgments. How to Use This Book

Oracle Database. Backup and Recovery Basics 10g Release 1 (10.1) Part No. B

RMAN Recipes for Oracle Database 11g : A Problem-Solution Approach by Darl Kuhn, Sam Alapati and Arup Nanda Apress. (c) Copying Prohibited.

EMC Data Domain Boost for Oracle Recovery Manager (RMAN)

D12C-AIU Oracle Database 12c: Admin, Install and Upgrade Accelerated NEW

EMC Replication Manager Integration with Oracle Database Server

Backup and Recovery. Oracle RMAN 11 g. Oracle Press ORACLG. Matthew Hart. Robert G. Freeman. Mc Graw Hill. Lisbon London Madrid Mexico City Milan

The safer, easier way to help you pass any IT exams. Exam : 1Z Upgrade Oracle9i/10g/11g OCA to Oracle Database 12c OCP.

Oracle Database B

Oracle 10g release 1. Administration. Database Outsourcing Experts

Transcription:

File: IncrementallyUpdateableImageCopyBackups.doc Purpose: Demonstrates how Oracle 10gR2 Recovery Manager (RMAN) implements incrementally updateable image copies over three running cycles. Results from 1st run: - Incremental Level 0 image copies of datafiles 1-5 now exist because even though a Level 1 incremental backup was requested, no Level 0 incremental backup has yet been created with the tag of img_cpy_upd. RMAN> RUN { RMAN Script: IncrementallyUpdatedImageCopyBackups.rcv Creates a daily image copy of all datafiles and Level 1 incremental backups for use by the daily image copies. Note that the PLUS ARCHIVELOG command will handle archival of any archived redo logs. Roll forward any available changes to image copy files from the previous set of incremental Level 1 backups RECOVER COPY OF DATABASE WITH TAG 'img_cpy_upd'; Create incremental level 1 backup of all datafiles in the database for roll-forward application against image copies BACKUP INCREMENTAL LEVEL 1 FOR RECOVER OF COPY WITH TAG 'img_cpy_upd' DATABASE PLUS ARCHIVELOG; } 2> 3> 4> 5> 6> 7> 8> 9> 10> 11> 12> 13> 14> 15> 16> 17> 18> 19> 20> 21> 22> 23> 24> Starting recover at 2009-05-05.12:35:50 using target database control file instead of recovery catalog allocated channel: ORA_DISK_1 channel ORA_DISK_1: SID=117 device type=disk no copy of datafile 1 found to recover no copy of datafile 2 found to recover no copy of datafile 3 found to recover no copy of datafile 4 found to recover no copy of datafile 5 found to recover Finished recover at 2009-05-05.12:35:55 Starting backup at 2009-05-05.12:35:56 input archived log thread=1 sequence=29 RECID=18 STAMP=686061359 channel ORA_DISK_1: starting 1 at 2009-05-05.12:36:16 channel ORA_DISK_1: finished 1 at 2009-05-05.12:36:17

handle=+fra/orcl/backupset/2009_05_05/annnf0_tag20090505t123559_0.263.686061377 tag=tag20090505t123559 comment=none channel ORA_DISK_1: backup set complete, elapsed time: 00:00:02 Finished backup at 2009-05-05.12:36:18 Starting backup at 2009-05-05.12:36:18 no parent backup or copy of datafile 1 found no parent backup or copy of datafile 2 found no parent backup or copy of datafile 3 found no parent backup or copy of datafile 5 found no parent backup or copy of datafile 4 found input datafile file number=00001 name=+data/orcl/datafile/system.257.685971885 output file name=+fra/orcl/datafile/system.264.686061393 tag=img_cpy_upd RECID=14 STAMP=686061458 channel ORA_DISK_1: datafile copy complete, elapsed time: 00:01:15 input datafile file number=00002 name=+data/orcl/datafile/sysaux.258.685971937 output file name=+fra/orcl/datafile/sysaux.265.686061485 tag=img_cpy_upd RECID=15 STAMP=686061549 channel ORA_DISK_1: datafile copy complete, elapsed time: 00:01:16 input datafile file number=00003 name=+data/orcl/datafile/undotbs1.259.685971971 output file name=+fra/orcl/datafile/undotbs1.274.686061573 tag=img_cpy_upd RECID=16 STAMP=686061588 channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:26 input datafile file number=00005 name=+data/orcl/datafile/example.260.685971993 output file name=+fra/orcl/datafile/example.276.686061613 tag=img_cpy_upd RECID=17 STAMP=686061625 channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:16 including current control file in backup set including current SPFILE in backup set channel ORA_DISK_1: starting 1 at 2009-05-05.12:40:46 channel ORA_DISK_1: finished 1 at 2009-05-05.12:40:50 handle=+fra/orcl/backupset/2009_05_05/ncsnn1_tag20090505t123619_0.277.686061647 tag=tag20090505t123619 comment=none input datafile file number=00004 name=+data/orcl/datafile/users.262.685972137 output file name=+fra/orcl/datafile/users.278.686061661 tag=img_cpy_upd RECID=18 STAMP=686061663 channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:04 Finished backup at 2009-05-05.12:41:05 Starting backup at 2009-05-05.12:41:05 input archived log thread=1 sequence=30 RECID=20 STAMP=686061669 channel ORA_DISK_1: starting 1 at 2009-05-05.12:41:21 channel ORA_DISK_1: finished 1 at 2009-05-05.12:41:25 handle=+fra/orcl/backupset/2009_05_05/annnf0_tag20090505t124110_0.280.686061681 tag=tag20090505t124110 comment=none

Finished backup at 2009-05-05.12:41:25 Results from 2nd run: - Incremental Level 0 image copies of datafiles 1-5 now exist but since no Incremental Level 1 image copy backups yet exist with a tag of img_cpy_upd, none will be applied to the existing Level 0 backups. - Incremental Level 1 backups of datafiles 1-5 will be taken because Incremental Level 0 backups (their eventual parents ) now exist. - Datafile 6 is a new datafile, so RMAN will create an Incremental Level 0 backup for it. RMAN> RUN { RMAN Script: IncrementallyUpdatedImageCopyBackups.rcv Creates a daily image copy of all datafiles and Level 1 incremental backups for use by the daily image copies. Note that the PLUS ARCHIVELOG command will handle archival of any archived redo logs. Roll forward any available changes to image copy files from the previous set of incremental Level 1 backups RECOVER COPY OF DATABASE WITH TAG 'img_cpy_upd'; Create incremental level 1 backup of all datafiles in the database for roll-forward application against image copies BACKUP INCREMENTAL LEVEL 1 FOR RECOVER OF COPY WITH TAG 'img_cpy_upd' DATABASE PLUS ARCHIVELOG; } 2> 3> 4> 5> 6> 7> 8> 9> 10> 11> 12> 13> 14> 15> 16> 17> 18> 19> 20> 21> 22> 23> 24> Starting recover at 2009-05-05.12:49:33 no copy of datafile 1 found to recover no copy of datafile 2 found to recover no copy of datafile 3 found to recover no copy of datafile 4 found to recover no copy of datafile 5 found to recover no copy of datafile 6 found to recover Finished recover at 2009-05-05.12:49:35 Starting backup at 2009-05-05.12:49:36 input archived log thread=1 sequence=29 RECID=18 STAMP=686061359 input archived log thread=1 sequence=30 RECID=20 STAMP=686061669 input archived log thread=1 sequence=31 RECID=22 STAMP=686062181 channel ORA_DISK_1: starting 1 at 2009-05-05.12:50:07 channel ORA_DISK_1: finished 1 at 2009-05-05.12:50:11

handle=+fra/orcl/backupset/2009_05_05/annnf0_tag20090505t124942_0.282.686062209 tag=tag20090505t124942 comment=none Finished backup at 2009-05-05.12:50:11 Starting backup at 2009-05-05.12:50:12 no parent backup or copy of datafile 6 found input datafile file number=00001 name=+data/orcl/datafile/system.257.685971885 input datafile file number=00002 name=+data/orcl/datafile/sysaux.258.685971937 input datafile file number=00003 name=+data/orcl/datafile/undotbs1.259.685971971 input datafile file number=00005 name=+data/orcl/datafile/example.260.685971993 input datafile file number=00004 name=+data/orcl/datafile/users.262.685972137 channel ORA_DISK_1: starting 1 at 2009-05-05.12:50:27 channel ORA_DISK_1: finished 1 at 2009-05-05.12:52:02 handle=+fra/orcl/backupset/2009_05_05/nnndn1_tag20090505t125012_0.283.686062227 tag=tag20090505t125012 comment=none channel ORA_DISK_1: backup set complete, elapsed time: 00:01:35 input datafile file number=00006 name=+data/orcl/datafile/data1.261.686061729 output file name=+fra/orcl/datafile/data1.284.686062335 tag=img_cpy_upd RECID=19 STAMP=686062338 channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:08 including current control file in backup set including current SPFILE in backup set channel ORA_DISK_1: starting 1 at 2009-05-05.12:52:38 channel ORA_DISK_1: finished 1 at 2009-05-05.12:52:42 handle=+fra/orcl/backupset/2009_05_05/ncsnn1_tag20090505t125012_0.285.686062359 tag=tag20090505t125012 comment=none Finished backup at 2009-05-05.12:52:42 Starting backup at 2009-05-05.12:52:42 input archived log thread=1 sequence=32 RECID=24 STAMP=686062365 channel ORA_DISK_1: starting 1 at 2009-05-05.12:52:58 channel ORA_DISK_1: finished 1 at 2009-05-05.12:53:02 handle=+fra/orcl/backupset/2009_05_05/annnf0_tag20090505t125246_0.287.686062379 tag=tag20090505t125246 comment=none Finished backup at 2009-05-05.12:53:02 Results from 3rd run: - The previous night s Incremental Level 1 backups for datafiles 1 5 will now be applied to their Incremental Level 0 image copy parents. - Incremental Level 1 backups of datafiles 1-6 will be taken. - The Incremental Level 0 image copy backup of datafile 6 will not yet be updated from Incremental Level 1 backups until the next run.

RMAN> RUN { RMAN Script: IncrementallyUpdatedImageCopyBackups.rcv Creates a daily image copy of all datafiles and Level 1 incremental backups for use by the daily image copies. Note that the PLUS ARCHIVELOG command will handle archival of any archived redo logs. Roll forward any available changes to image copy files from the previous set of incremental Level 1 backups RECOVER COPY OF DATABASE WITH TAG 'img_cpy_upd'; Create incremental level 1 backup of all datafiles in the database for roll-forward application against image copies BACKUP INCREMENTAL LEVEL 1 FOR RECOVER OF COPY WITH TAG 'img_cpy_upd' DATABASE PLUS ARCHIVELOG; } 2> 3> 4> 5> 6> 7> 8> 9> 10> 11> 12> 13> 14> 15> 16> 17> 18> 19> 20> 21> 22> 23> 24> Starting recover at 2009-05-05.13:28:26 no copy of datafile 6 found to recover channel ORA_DISK_1: starting incremental datafile backup set restore channel ORA_DISK_1: specifying datafile copies to recover recovering datafile copy file number=00001 name=+fra/orcl/datafile/system.264.686061393 recovering datafile copy file number=00002 name=+fra/orcl/datafile/sysaux.265.686061485 recovering datafile copy file number=00003 name=+fra/orcl/datafile/undotbs1.274.686061573 recovering datafile copy file number=00004 name=+fra/orcl/datafile/users.278.686061661 recovering datafile copy file number=00005 name=+fra/orcl/datafile/example.276.686061613 channel ORA_DISK_1: reading from backup +FRA/orcl/backupset/2009_05_05/nnndn1_tag20090505t125012_0.283.686062227 channel ORA_DISK_1: handle=+fra/orcl/backupset/2009_05_05/nnndn1_tag20090505t125012_0.283.686062227 tag=tag20090505t125012 channel ORA_DISK_1: restored backup 1 channel ORA_DISK_1: restore complete, elapsed time: 00:00:08 Finished recover at 2009-05-05.13:28:37 Starting backup at 2009-05-05.13:28:39 input archived log thread=1 sequence=29 RECID=18 STAMP=686061359 input archived log thread=1 sequence=30 RECID=20 STAMP=686061669 input archived log thread=1 sequence=31 RECID=22 STAMP=686062181 input archived log thread=1 sequence=32 RECID=24 STAMP=686062365 input archived log thread=1 sequence=33 RECID=26 STAMP=686064523 channel ORA_DISK_1: starting 1 at 2009-05-05.13:29:00 channel ORA_DISK_1: finished 1 at 2009-05-05.13:29:01

handle=+fra/orcl/backupset/2009_05_05/annnf0_tag20090505t132844_0.289.686064541 tag=tag20090505t132844 comment=none channel ORA_DISK_1: backup set complete, elapsed time: 00:00:02 Finished backup at 2009-05-05.13:29:02 Starting backup at 2009-05-05.13:29:02 input datafile file number=00001 name=+data/orcl/datafile/system.257.685971885 input datafile file number=00002 name=+data/orcl/datafile/sysaux.258.685971937 input datafile file number=00003 name=+data/orcl/datafile/undotbs1.259.685971971 input datafile file number=00005 name=+data/orcl/datafile/example.260.685971993 input datafile file number=00006 name=+data/orcl/datafile/data1.261.686061729 input datafile file number=00004 name=+data/orcl/datafile/users.262.685972137 channel ORA_DISK_1: starting 1 at 2009-05-05.13:29:14 channel ORA_DISK_1: finished 1 at 2009-05-05.13:30:50 handle=+fra/orcl/backupset/2009_05_05/nnndn1_tag20090505t132902_0.290.686064555 tag=tag20090505t132902 comment=none channel ORA_DISK_1: backup set complete, elapsed time: 00:01:36 including current control file in backup set including current SPFILE in backup set channel ORA_DISK_1: starting 1 at 2009-05-05.13:31:05 channel ORA_DISK_1: finished 1 at 2009-05-05.13:31:09 handle=+fra/orcl/backupset/2009_05_05/ncsnn1_tag20090505t132902_0.291.686064665 tag=tag20090505t132902 comment=none Finished backup at 2009-05-05.13:31:09 Starting backup at 2009-05-05.13:31:09 input archived log thread=1 sequence=34 RECID=28 STAMP=686064673 channel ORA_DISK_1: starting 1 at 2009-05-05.13:31:26 channel ORA_DISK_1: finished 1 at 2009-05-05.13:31:29 handle=+fra/orcl/backupset/2009_05_05/annnf0_tag20090505t133114_0.293.686064687 tag=tag20090505t133114 comment=none channel ORA_DISK_1: backup set complete, elapsed time: 00:00:03 Finished backup at 2009-05-05.13:31:30