|
|
|
|
In
this practice you will restore and recover a tablespace to a new location, and
an incomplete recovery.
ASSUMPTIONS:
·
These
practices are written for NT. Alternate solutions for UNIX will be noted but
have not been tested. File names
and paths will need to be adjusted for use on UNIX platforms.
·
The
database version for these practices is assumed to be 8.1.5 or higher. The
solutions have been tested at 8.1.6.
·
These
practices assume that two databases are available. A catalog database that
will hold the RMAN catalog, and is referred to as CAT in the exercises. And a
target database that will be called TGT. Please make the appropriate
substitutions in the solutions for your database names.
·
These
practices assume the NET8 connectivity to both the CAT and TGT databases is
already available.
INSTRUCTIONS:
C:\>sqlplus system/manager@db02 SQL> Create table new_emp tablespace USER_DATA
As select * from scott.emp; Table
created. SQL>
select * from v$tablespace;
TS# NAME ----------
------------------------------
0 SYSTEM
1 RBS
2 USER_DATA
3 TEMP
4 INDX
5 DATA01
6 DATA02
7 DATA
8 INDX01
9 QUERY_DATA
10 FRED 11
rows selected. SQL>
select name from v$datafile where TS#=2; NAME ------------------------------------------------------------- C:\ORACLASS\DATA\DISK6\USER01.DBF SQL>
shutdown abort ORACLE
instance shut down. SQL>EXIT C:> erase C:\ORACLASS\DATA\DISK6\USER01.DBF |
C:\>set ORACLE_SID=DB02 C:\>rman target / catalog rman/rman@DB01 Recovery
Manager: Release 8.1.6.0.0 - Production RMAN-06193:
connected to target database (not started) RMAN-06008:
connected to recovery catalog database RMAN>
startup mount RMAN-06196:
Oracle instance started RMAN-06199:
database mounted Total
System Global Area
26014988 bytes Fixed
Size
70924 bytes Variable
Size
24842240 bytes Database
Buffers
1024000 bytes Redo
Buffers
77824 bytes |
RMAN>
run { 2>
allocate channel d1 type disk; 3>
set newname for datafile 'c:\oraclass\data\disk6\user01.dbf' to
'c:\oraclass\data\disk5\user01.dbf'; 4>
restore tablespace user_data; 5>
switch datafile all; 6>
recover tablespace USER_DATA; 7>
release CHANNEL d1;} RMAN-03022:
compiling command: allocate RMAN-03023:
executing command: allocate RMAN-08030:
allocated channel: d1 RMAN-08500:
channel d1: sid=10 devtype=DISK RMAN-03022:
compiling command: set RMAN-03022:
compiling command: restore RMAN-03025:
performing implicit partial resync of recovery catalog RMAN-03023:
executing command: partial resync RMAN-08003:
starting partial resync of recovery catalog RMAN-08005:
partial resync complete RMAN-03022:
compiling command: IRESTORE RMAN-03023:
executing command: IRESTORE RMAN-08016:
channel d1: starting datafile backupset restore RMAN-08502:
set_count=19 set_stamp=426898191 creation_time=12-APR-01 RMAN-08089:
channel d1: specifying datafile(s) to restore from backup set RMAN-08523:
restoring datafile 00003 to C:\ORACLASS\DATA\DISK5\USER01.DBF RMAN-08023:
channel d1: restored backup piece 1 RMAN-08511:
piece handle=C:\ORACLASS\BACKUP\INCR0_DB02_19_1.BKP tag=null params=NULL RMAN-08024:
channel d1: restore complete RMAN-03023:
executing command: partial resync RMAN-08003:
starting partial resync of recovery catalog RMAN-08005:
partial resync complete RMAN-03022:
compiling command: switch RMAN-03023:
executing command: switch RMAN-08015:
datafile 3 switched to datafile copy RMAN-08507:
input datafilecopy recid=23 stamp=427156370 filename=C:\ORACLASS\DATA\DISK5\USER01.DBF RMAN-03023:
executing command: full resync RMAN-08002:
starting full resync of recovery catalog RMAN-08004:
full resync complete RMAN-03022:
compiling command: recover RMAN-03022:
compiling command: recover(1) RMAN-03022:
compiling command: recover(2) RMAN-03023:
executing command: recover(2) RMAN-08039:
channel d1: starting incremental datafile backupset restore RMAN-08502:
set_count=25 set_stamp=426898653 creation_time=12-APR-01 RMAN-08089:
channel d1: specifying datafile(s) to restore from backup set RMAN-08509:
destination for restore of datafile 00003: C:\ORACLASS\DATA\DISK5\USER01.DBF RMAN-08023:
channel d1: restored backup piece 1 RMAN-08511:
piece handle=C:\ORACLASS\BACKUP\INCR1_DB02_25_1.BKP tag=null params=NULL RMAN-08024:
channel d1: restore complete RMAN-03022:
compiling command: recover(3) RMAN-03023:
executing command: recover(3) RMAN-08054:
starting media recovery RMAN-03022:
compiling command: recover(4) RMAN-06050:
archivelog thread 1 sequence 3 is already on disk as file C:\ORACLASS\ARCHIVE\ARCH_3.LOG RMAN-06050:
archivelog thread 1 sequence 4 is already on disk as file C:\ORACLASS\ARCHIVE\ARCH_4.LOG RMAN-06050:
archivelog thread 1 sequence 5 is already on disk as file C:\ORACLASS\ARCHIVE\ARCH_5.LOG RMAN-06050:
archivelog thread 1 sequence 6 is already on disk as file C:\ORACLASS\ARCHIVE\ARCH_6.LOG RMAN-06050:
archivelog thread 1 sequence 7 is already on disk as file C:\ORACLASS\ARCHIVE\ARCH_7.LOG RMAN-06050:
archivelog thread 1 sequence 8 is already on disk as file C:\ORACLASS\ARCHIVE\ARCH_8.LOG RMAN-06050:
archivelog thread 1 sequence 9 is already on disk as file C:\ORACLASS\ARCHIVE\ARCH_9.LOG RMAN-06050:
archivelog thread 1 sequence 10 is already on disk as file C:\ORACLASS\ARCHIVE\ARCH_10.LOG RMAN-06050:
archivelog thread 1 sequence 11 is already on disk as file C:\ORACLASS\ARCHIVE\ARCH_11.LOG RMAN-06050:
archivelog thread 1 sequence 12 is already on disk as file C:\ORACLASS\ARCHIVE\ARCH_12.LOG RMAN-06050:
archivelog thread 1 sequence 13 is already on disk as file C:\ORACLASS\ARCHIVE\ARCH_13.LOG RMAN-06050:
archivelog thread 1 sequence 14 is already on disk as file C:\ORACLASS\ARCHIVE\ARCH_14.LOG RMAN-06050:
archivelog thread 1 sequence 15 is already on disk as file C:\ORACLASS\ARCHIVE\ARCH_15.LOG RMAN-06050:
archivelog thread 1 sequence 16 is already on disk as file C:\ORACLASS\ARCHIVE\ARCH_16.LOG RMAN-06050:
archivelog thread 1 sequence 17 is already on disk as file C:\ORACLASS\ARCHIVE\ARCH_17.LOG RMAN-06050:
archivelog thread 1 sequence 18 is already on disk as file C:\ORACLASS\ARCHIVE\ARCH_18.LOG RMAN-06050:
archivelog thread 1 sequence 19 is already on disk as file C:\ORACLASS\ARCHIVE\ARCH_19.LOG RMAN-06050:
archivelog thread 1 sequence 20 is already on disk as file C:\ORACLASS\ARCHIVE\ARCH_20.LOG RMAN-03023:
executing command: recover(4) RMAN-08515:
archivelog filename=C:\ORACLASS\ARCHIVE\ARCH_3.LOG thread=1 sequence=3 RMAN-08515:
archivelog filename=C:\ORACLASS\ARCHIVE\ARCH_4.LOG thread=1 sequence=4 RMAN-08515:
archivelog filename=C:\ORACLASS\ARCHIVE\ARCH_5.LOG thread=1 sequence=5 RMAN-08515:
archivelog filename=C:\ORACLASS\ARCHIVE\ARCH_6.LOG thread=1 sequence=6 RMAN-08515:
archivelog filename=C:\ORACLASS\ARCHIVE\ARCH_7.LOG thread=1 sequence=7 RMAN-08515:
archivelog filename=C:\ORACLASS\ARCHIVE\ARCH_8.LOG thread=1 sequence=8 RMAN-08515:
archivelog filename=C:\ORACLASS\ARCHIVE\ARCH_9.LOG thread=1 sequence=9 RMAN-08515:
archivelog filename=C:\ORACLASS\ARCHIVE\ARCH_10.LOG thread=1
sequence=10 RMAN-08515:
archivelog filename=C:\ORACLASS\ARCHIVE\ARCH_11.LOG thread=1
sequence=11 RMAN-08515:
archivelog filename=C:\ORACLASS\ARCHIVE\ARCH_12.LOG thread=1
sequence=12 RMAN-08515:
archivelog filename=C:\ORACLASS\ARCHIVE\ARCH_13.LOG thread=1
sequence=13 RMAN-08515:
archivelog filename=C:\ORACLASS\ARCHIVE\ARCH_14.LOG thread=1
sequence=14 RMAN-08515:
archivelog filename=C:\ORACLASS\ARCHIVE\ARCH_15.LOG thread=1
sequence=15 RMAN-08515:
archivelog filename=C:\ORACLASS\ARCHIVE\ARCH_16.LOG thread=1
sequence=16 RMAN-08515:
archivelog filename=C:\ORACLASS\ARCHIVE\ARCH_17.LOG thread=1
sequence=17 RMAN-08515:
archivelog filename=C:\ORACLASS\ARCHIVE\ARCH_18.LOG thread=1
sequence=18 RMAN-08515:
archivelog filename=C:\ORACLASS\ARCHIVE\ARCH_19.LOG thread=1
sequence=19 RMAN-08055:
media recovery complete RMAN-03022:
compiling command: release RMAN-03023:
executing command: release RMAN-08031:
released channel: d1 |
RMAN>
Alter database open; RMAN-03022:
compiling command: alter db RMAN-06400:
database opened |
In
the practice you will restore and recover a database to a point to the end of
a selected archive log file.
This
will simulate the situation where an archived logfile is missing or corrupt.
ASSUMPTIONS:
·
These
practices are written for NT; alternate solutions for UNIX will be noted but
have not been tested. File names
and paths will need to be adjusted for use on UNIX platforms.
·
The
database version for these practices is assumed to be 8.1.5 or higher. The
solutions have been tested at 8.1.6.
·
These
practices assume that two databases are available. A catalog database that
will hold the RMAN catalog, and is referred to as CAT in the exercises. And a
target database that will be called TGT. Please make the appropriate
substitutions in the solutions for your database names.
·
These
practices assume the NET8 connectivity to both the CAT and TGT databases
is already available.
INSTRUCTIONS:
1.
The database must be in archivelog mode.
There must be multiple archive logfiles since the last backup; this may
be accomplished by doing a small update and doing several logswitches.
SQLPLUS system/manager@TGT
SQL> insert
into newemp
Select * from SCOTT.EMP; SQL>
ALTER SYSTEM SWITCH LOGFILE; |
2.
Decide which logfile to recover will be the last.
Pick a log sequence nnumber that is older than the oldest online log
sequence.
SQL> connect / as sysdbaSQL> archive log listDatabase
log mode
Archive Mode Automatic
archival
Enabled Archive
destination
c:\oraclass\archive\ Oldest
online log sequence
20 Next
log sequence to archive 21 Current
log sequence
21 |
3.
Shutdown the target database without taking a checkpoint.
SQL> CONNECT / AS SYSDBA SQL>
SHUTDOWN ABORT |
4.
Do a restore until log sequence chosen in the step 2.
C:\>rman target / catalog rman/rman@DB01 Recovery
Manager: Release 8.1.6.0.0 - Production RMAN-06193:
connected to target database (not started) RMAN-06008:
connected to recovery catalog database RMAN> startup mount RMAN-06196:
Oracle instance started RMAN-06199:
database mounted Total
System Global Area
26014988 bytes Fixed
Size
70924 bytes Variable
Size
24842240
bytes Database
Buffers
1024000 bytes Redo
Buffers
77824 bytes RMAN>
run { 2>
allocate channel d1 type disk; 3>
set until logseq 18 thread 1; 4>
restore database; 5>
recover database; 6>
alter database open resetlogs; 7>
release channel d1;} RMAN-03022:
compiling command: allocate RMAN-03023:
executing command: allocate RMAN-08030:
allocated channel: d1 RMAN-08500:
channel d1: sid=10 devtype=DISK RMAN-03022:
compiling command: set RMAN-03022:
compiling command: restore RMAN-03025:
performing implicit partial resync of recovery catalog RMAN-03023:
executing command: partial resync RMAN-08003:
starting partial resync of recovery catalog RMAN-08005:
partial resync complete RMAN-03022:
compiling command: IRESTORE RMAN-06179:
datafile 10 not processed because file is read only RMAN-03023:
executing command: IRESTORE RMAN-08016:
channel d1: starting datafile backupset restore RMAN-08502:
set_count=16 set_stamp=426898183 creation_time=12-APR-01 RMAN-08089:
channel d1: specifying datafile(s) to restore from backup set RMAN-08523:
restoring datafile 00005 to C:\ORACLASS\DATA\DISK6\INDX_01.DBF RMAN-08523:
restoring datafile 00006 to C:\ORACLASS\DATA\DISK6\DATA01.DBF RMAN-08023:
channel d1: restored backup piece 1 RMAN-08511:
piece handle=C:\ORACLASS\BACKUP\INCR0_DB02_16_1.BKP tag=null params=NULL RMAN-08024:
channel d1: restore complete RMAN-08016:
channel d1: starting datafile backupset restore RMAN-08502:
set_count=17 set_stamp=426898183 creation_time=12-APR-01 RMAN-08089:
channel d1: specifying datafile(s) to restore from backup set RMAN-08523:
restoring datafile 00007 to C:\ORACLASS\DATA\DISK5\DATA02.DBF RMAN-08523:
restoring datafile 00008 to C:\ORACLASS\DATA\DISK4\DATA_01.DBF RMAN-08023:
channel d1: restored backup piece 1 RMAN-08511:
piece handle=C:\ORACLASS\BACKUP\INCR0_DB02_17_1.BKP tag=null params=NULL RMAN-08024:
channel d1: restore complete RMAN-08016:
channel d1: starting datafile backupset restore RMAN-08502:
set_count=18 set_stamp=426898191 creation_time=12-APR-01 RMAN-08089:
channel d1: specifying datafile(s) to restore from backup set RMAN-08523:
restoring datafile 00002 to C:\ORACLASS\DATA\DISK2\RBS01.DBF RMAN-08523:
restoring datafile 00009 to C:\ORACLASS\DATA\DISK2\INDX01.DBF RMAN-08023:
channel d1: restored backup piece 1 RMAN-08511:
piece handle=C:\ORACLASS\BACKUP\INCR0_DB02_18_1.BKP tag=null params=NULL RMAN-08024:
channel d1: restore complete RMAN-08016:
channel d1: starting datafile backupset restore RMAN-08502:
set_count=19 set_stamp=426898191 creation_time=12-APR-01 RMAN-08089:
channel d1: specifying datafile(s) to restore from backup set RMAN-08523:
restoring datafile 00003 to C:\ORACLASS\DATA\DISK5\USER01.DBF RMAN-08023:
channel d1: restored backup piece 1 RMAN-08511:
piece handle=C:\ORACLASS\BACKUP\INCR0_DB02_19_1.BKP tag=null params=NULL RMAN-08024:
channel d1: restore complete RMAN-08016:
channel d1: starting datafile backupset restore RMAN-08502:
set_count=20 set_stamp=426898207 creation_time=12-APR-01 RMAN-08089:
channel d1: specifying datafile(s) to restore from backup set RMAN-08523:
restoring datafile 00004 to C:\ORACLASS\DATA\DISK1\TEMP01.DBF RMAN-08023:
channel d1: restored backup piece 1 RMAN-08511:
piece handle=C:\ORACLASS\BACKUP\INCR0_DB02_20_1.BKP tag=null params=NULL RMAN-08024:
channel d1: restore complete RMAN-08016:
channel d1: starting datafile backupset restore RMAN-08502:
set_count=21 set_stamp=426898207 creation_time=12-APR-01 RMAN-08089:
channel d1: specifying datafile(s) to restore from backup set RMAN-08523:
restoring datafile 00001 to C:\ORACLASS\DATA\DISK1\SYSTEM01.DBF RMAN-08023:
channel d1: restored backup piece 1 RMAN-08511:
piece handle=C:\ORACLASS\BACKUP\INCR0_DB02_21_1.BKP tag=null params=NULL RMAN-08024:
channel d1: restore complete RMAN-03023:
executing command: partial resync RMAN-08003:
starting partial resync of recovery catalog RMAN-08005:
partial resync complete RMAN-03022:
compiling command: recover RMAN-03022:
compiling command: recover(1) RMAN-03022:
compiling command: recover(2) RMAN-06179:
datafile 10 not processed because file is read only RMAN-03023:
executing command: recover(2) RMAN-08039:
channel d1: starting incremental datafile backupset restore RMAN-08502:
set_count=22 set_stamp=426898649 creation_time=12-APR-01 RMAN-08089:
channel d1: specifying datafile(s) to restore from backup set RMAN-08509:
destination for restore of datafile 00005: C:\ORACLASS\DATA\DISK6\INDX_01.DBF RMAN-08509:
destination for restore of datafile 00006: C:\ORACLASS\DATA\DISK6\DATA01.DBF RMAN-08023:
channel d1: restored backup piece 1 RMAN-08511:
piece handle=C:\ORACLASS\BACKUP\INCR1_DB02_22_1.BKP tag=null params=NULL RMAN-08024:
channel d1: restore complete RMAN-08039:
channel d1: starting incremental datafile backupset restore RMAN-08502:
set_count=23 set_stamp=426898649 creation_time=12-APR-01 RMAN-08089:
channel d1: specifying datafile(s) to restore from backup set RMAN-08509:
destination for restore of datafile 00007: C:\ORACLASS\DATA\DISK5\DATA02.DBF RMAN-08509:
destination for restore of datafile 00008: C:\ORACLASS\DATA\DISK4\DATA_01.DBF RMAN-08023:
channel d1: restored backup piece 1 RMAN-08511:
piece handle=C:\ORACLASS\BACKUP\INCR1_DB02_23_1.BKP tag=null params=NULL RMAN-08024:
channel d1: restore complete RMAN-08039:
channel d1: starting incremental datafile backupset restore RMAN-08502:
set_count=24 set_stamp=426898653 creation_time=12-APR-01 RMAN-08089:
channel d1: specifying datafile(s) to restore from backup set RMAN-08509:
destination for restore of datafile 00002: C:\ORACLASS\DATA\DISK2\RBS01.DBF RMAN-08509:
destination for restore of datafile 00009: C:\ORACLASS\DATA\DISK2\INDX01.DBF RMAN-08023:
channel d1: restored backup piece 1 RMAN-08511:
piece handle=C:\ORACLASS\BACKUP\INCR1_DB02_24_1.BKP tag=null params=NULL RMAN-08024:
channel d1: restore complete RMAN-08039:
channel d1: starting incremental datafile backupset restore RMAN-08502:
set_count=25 set_stamp=426898653 creation_time=12-APR-01 RMAN-08089:
channel d1: specifying datafile(s) to restore from backup set RMAN-08509:
destination for restore of datafile 00003: C:\ORACLASS\DATA\DISK5\USER01.DBF RMAN-08023:
channel d1: restored backup piece 1 RMAN-08511:
piece handle=C:\ORACLASS\BACKUP\INCR1_DB02_25_1.BKP tag=null params=NULL RMAN-08024:
channel d1: restore complete RMAN-08039:
channel d1: starting incremental datafile backupset restore RMAN-08502:
set_count=26 set_stamp=426898661 creation_time=12-APR-01 RMAN-08089:
channel d1: specifying datafile(s) to restore from backup set RMAN-08509:
destination for restore of datafile 00004: C:\ORACLASS\DATA\DISK1\TEMP01.DBF RMAN-08023:
channel d1: restored backup piece 1 RMAN-08511:
piece handle=C:\ORACLASS\BACKUP\INCR1_DB02_26_1.BKP tag=null params=NULL RMAN-08024:
channel d1: restore complete RMAN-08039:
channel d1: starting incremental datafile backupset restore RMAN-08502:
set_count=27 set_stamp=426898661 creation_time=12-APR-01 RMAN-08089:
channel d1: specifying datafile(s) to restore from backup set RMAN-08509:
destination for restore of datafile 00001: C:\ORACLASS\DATA\DISK1\SYSTEM01.DBF RMAN-08023:
channel d1: restored backup piece 1 RMAN-08511:
piece handle=C:\ORACLASS\BACKUP\INCR1_DB02_27_1.BKP tag=null params=NULL RMAN-08024:
channel d1: restore complete RMAN-03022:
compiling command: recover(3) RMAN-03023:
executing command: recover(3) RMAN-08054:
starting media recovery RMAN-03022:
compiling command: recover(4) RMAN-06050:
archivelog thread 1 sequence 3 is already on disk as file C:\ORACLASS\ARCHIVE\ARCH_3.LOG RMAN-06050:
archivelog thread 1 sequence 4 is already on disk as file C:\ORACLASS\ARCHIVE\ARCH_4.LOG RMAN-06050:
archivelog thread 1 sequence 5 is already on disk as file C:\ORACLASS\ARCHIVE\ARCH_5.LOG RMAN-06050:
archivelog thread 1 sequence 6 is already on disk as file C:\ORACLASS\ARCHIVE\ARCH_6.LOG RMAN-06050:
archivelog thread 1 sequence 7 is already on disk as file C:\ORACLASS\ARCHIVE\ARCH_7.LOG RMAN-06050:
archivelog thread 1 sequence 8 is already on disk as file C:\ORACLASS\ARCHIVE\ARCH_8.LOG RMAN-06050:
archivelog thread 1 sequence 9 is already on disk as file C:\ORACLASS\ARCHIVE\ARCH_9.LOG RMAN-06050:
archivelog thread 1 sequence 10 is already on disk as file C:\ORACLASS\ARCHIVE\ARCH_10.LOG RMAN-06050:
archivelog thread 1 sequence 11 is already on disk as file C:\ORACLASS\ARCHIVE\ARCH_11.LOG RMAN-06050:
archivelog thread 1 sequence 12 is already on disk as file C:\ORACLASS\ARCHIVE\ARCH_12.LOG RMAN-06050:
archivelog thread 1 sequence 13 is already on disk as file C:\ORACLASS\ARCHIVE\ARCH_13.LOG RMAN-06050:
archivelog thread 1 sequence 14 is already on disk as file C:\ORACLASS\ARCHIVE\ARCH_14.LOG RMAN-06050:
archivelog thread 1 sequence 15 is already on disk as file C:\ORACLASS\ARCHIVE\ARCH_15.LOG RMAN-06050:
archivelog thread 1 sequence 16 is already on disk as file C:\ORACLASS\ARCHIVE\ARCH_16.LOG RMAN-06050:
archivelog thread 1 sequence 17 is already on disk as file C:\ORACLASS\ARCHIVE\ARCH_17.LOG RMAN-03023:
executing command: recover(4) RMAN-08515:
archivelog filename=C:\ORACLASS\ARCHIVE\ARCH_3.LOG thread=1 sequence=3 RMAN-08515:
archivelog filename=C:\ORACLASS\ARCHIVE\ARCH_4.LOG thread=1 sequence=4 RMAN-08515:
archivelog filename=C:\ORACLASS\ARCHIVE\ARCH_5.LOG thread=1 sequence=5 RMAN-08515:
archivelog filename=C:\ORACLASS\ARCHIVE\ARCH_6.LOG thread=1 sequence=6 RMAN-08515:
archivelog filename=C:\ORACLASS\ARCHIVE\ARCH_7.LOG thread=1 sequence=7 RMAN-08515:
archivelog filename=C:\ORACLASS\ARCHIVE\ARCH_8.LOG thread=1 sequence=8 RMAN-08515:
archivelog filename=C:\ORACLASS\ARCHIVE\ARCH_9.LOG thread=1 sequence=9 RMAN-08515:
archivelog filename=C:\ORACLASS\ARCHIVE\ARCH_10.LOG thread=1
sequence=10 RMAN-08515:
archivelog filename=C:\ORACLASS\ARCHIVE\ARCH_11.LOG thread=1
sequence=11 RMAN-08515:
archivelog filename=C:\ORACLASS\ARCHIVE\ARCH_12.LOG thread=1
sequence=12 RMAN-08515:
archivelog filename=C:\ORACLASS\ARCHIVE\ARCH_13.LOG thread=1
sequence=13 RMAN-08515:
archivelog filename=C:\ORACLASS\ARCHIVE\ARCH_14.LOG thread=1
sequence=14 RMAN-08515:
archivelog filename=C:\ORACLASS\ARCHIVE\ARCH_15.LOG thread=1
sequence=15 RMAN-08515:
archivelog filename=C:\ORACLASS\ARCHIVE\ARCH_16.LOG thread=1
sequence=16 RMAN-08515:
archivelog filename=C:\ORACLASS\ARCHIVE\ARCH_17.LOG thread=1
sequence=17 RMAN-08055:
media recovery complete RMAN-03022:
compiling command: alter db RMAN-06400:
database opened RMAN-03023:
executing command: alter db RMAN-08006:
database registered in recovery catalog RMAN-03023:
executing command: full resync RMAN-08002:
starting full resync of recovery catalog RMAN-08004:
full resync complete RMAN-03022:
compiling command: release RMAN-03023:
executing command: release RMAN-08031:
released channel: d1 |
5.
List the incarnations of the Target database.
RMAN>
list incarnation of database; RMAN-03022:
compiling command: list List
of Database Incarnations DB
Key Inc Key DB Name
DB ID
CUR Reset SCN Reset
Time -------
------- -------- ---------------- --- ---------- ---------- 1
2
DB02 1171165975
NO 102768
16-MAR-01 1
261 DB02
1171165975
YES 163253
15-APR-01 RMAN> |