9I R2控制文件没有单独备份时,恢复时会找不到备份集
上一篇 / 下一篇 2008-06-10 15:41:44 / 个人分类:rman备份与恢复
C:\Documents and Settings\Paul Yi>rman target /
Recovery Manager: Release 9.2.0.8.0 - Production
Copyright (c) 1995, 2002, Oracle Corporation. All rights reserved.
connected to target database: PUBTEST (DBID=799229701)
RMAN> backup database include current controlfile;
Starting backup at 10-JUN-08
3mza
sC'NG0using target database controlfile instead of recovery catalog
*oyL:Y1^%{~0allocated channel: ORA_DISK_1
EI+F#EZPAL0channel ORA_DISK_1: sid=9 devtype=DISK
H7TIz3Bd$qk
m0channel ORA_DISK_1: starting full datafile backupset
)N
}W~I0channel ORA_DISK_1: specifying datafile(s) in backupset
K4sV-qt"i/X0including current SPFILE in backupsetITPUB个人空间%Zz9F%FQK3{.Q
including current controlfile in backupsetITPUB个人空间]V+|E*g&w
input datafile fno=00001 name=D:\ORACLE\ORADATA\PUBTEST\SYSTEM01.DBFITPUB个人空间Htk0miQ{q8j
input datafile fno=00002 name=D:\ORACLE\ORADATA\PUBTEST\UNDOTBS01.DBF
5{(Rd:P7r0input datafile fno=00004 name=D:\ORACLE\ORADATA\PUBTEST\INDX01.DBF
3C+f8z1l0k {p0input datafile fno=00006 name=D:\ORACLE\ORADATA\PUBTEST\USERS01.DBFITPUB个人空间Tz&_&],]/g;O*P
input datafile fno=00005 name=D:\ORACLE\ORADATA\PUBTEST\TOOLS01.DBFITPUB个人空间5R ru-~ q/q(h?I
input datafile fno=00003 name=D:\ORACLE\ORADATA\PUBTEST\EXAMPLE01.DBFITPUB个人空间2HO!L,CpE
@t2`f
channel ORA_DISK_1: starting piece 1 at 10-JUN-08ITPUB个人空间Q6IY%X*V]%D7Z
channel ORA_DISK_1: finished piece 1 at 10-JUN-08
3V&sQSdu%c0piece handle=D:\BACKUP\3SJIJA02_1_1 comment=NONEITPUB个人空间${O r^;Iix2HK'z1X
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:36ITPUB个人空间
N%ya0{D7{L T(NT
Finished backup at 10-JUN-08
RMAN> exit
ITPUB个人空间/y:I5{"B?t.Ii
Recovery Manager complete.
C:\Documents and Settings\Paul Yi>sqlplus "/as sysdba"
SQL*Plus: Release 9.2.0.8.0 - Production on Tue Jun 10 15:39:33 2008
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
ITPUB个人空间h2@iwM2D-S~
Connected to:ITPUB个人空间3s`*X!cc\ e'wO u
Oracle9i Enterprise Edition Release 9.2.0.8.0 - ProductionITPUB个人空间)H-\dzHB%]
With the Partitioning, OLAP and Oracle Data Mining optionsITPUB个人空间.Q}gs'y@#M&pK1E
JServer Release 9.2.0.8.0 - Production
SQL> shutdown abort;ITPUB个人空间7o
y5`n(C1`
ORACLE instance shut down.
l4@T,zS0SQL> exitITPUB个人空间K+d ga+pG~
Disconnected from Oracle9i Enterprise Edition Release 9.2.0.8.0 - Production
`f;gg+G
CjF3v0With the Partitioning, OLAP and Oracle Data Mining options
C*Z5YOM1N0JServer Release 9.2.0.8.0 - Production
C:\Documents and Settings\Paul Yi>sqlplus "/as sysdba"
SQL*Plus: Release 9.2.0.8.0 - Production on Tue Jun 10 15:39:46 2008
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Connected to an idle instance.
SQL> exit
:? gcE}OKE;t0Disconnected
C:\Documents and Settings\Paul Yi>rman target /
Recovery Manager: Release 9.2.0.8.0 - Production
Copyright (c) 1995, 2002, Oracle Corporation. All rights reserved.
connected to target database (not started)
RMAN> startup nomount;
Oracle instance started
Total System Global Area 101785012 bytes
Fixed Size 454068 bytesITPUB个人空间G:R'Mkz
Variable Size 75497472 bytes
bi!? o/J_t5a.l0Database Buffers 25165824 bytesITPUB个人空间W8s4LM V
Redo Buffers 667648 bytes
RMAN> restore controlfile from 'd:\backup\3SJIJA02_1_1';
Starting restore at 10-JUN-08
using target database controlfile instead of recovery catalog
@g3]:i;Yr0allocated channel: ORA_DISK_1
|y+@1e.N-o"@sJ;k.c0channel ORA_DISK_1: sid=11 devtype=DISK