RMAN> run {
2> allocate channel c1 device type sbt parms=‘ENV=(NB_ORA_SERV=nbuserevr,NB_ORA_CLIENT=mhdb1),SBT_LIBRARY=/usr/openv/netbackup/bin/libobk.so64’;
3> allocate channel c2 device type sbt parms=‘ENV=(NB_ORA_SERV=nbuserevr,NB_ORA_CLIENT=mhdb1),SBT_LIBRARY=/usr/openv/netbackup/bin/libobk.so64’;
4> allocate channel c3 device type sbt parms=‘ENV=(NB_ORA_SERV=nbuserevr,NB_ORA_CLIENT=mhdb2),SBT_LIBRARY=/usr/openv/netbackup/bin/libobk.so64’;
5> allocate channel c4 device type sbt parms=‘ENV=(NB_ORA_SERV=nbuserevr,NB_ORA_CLIENT=mhdb2),SBT_LIBRARY=/usr/openv/netbackup/bin/libobk.so64’;
6> recover database root;
7> release channel c1;
8> release channel c2;
9> release channel c3;
10> release channel c4;
11> }
allocated channel: c1
channel c1: SID=3516 device type=SBT_TAPE
channel c1: Veritas NetBackup for Oracle - Release 7.5 (2012020801)
allocated channel: c2
channel c2: SID=3611 device type=SBT_TAPE
channel c2: Veritas NetBackup for Oracle - Release 7.5 (2012020801)
allocated channel: c3
channel c3: SID=3706 device type=SBT_TAPE
channel c3: Veritas NetBackup for Oracle - Release 7.5 (2012020801)
allocated channel: c4
channel c4: SID=3801 device type=SBT_TAPE
channel c4: Veritas NetBackup for Oracle - Release 7.5 (2012020801)
Starting recover at 27-DEC-19
released channel: c1
released channel: c2
released channel: c3
released channel: c4
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of recover command at 12/27/2019 15:14:23
RMAN-06067: RECOVER DATABASE required with a backup or created control file
始终有这个报错
RMAN> switch database to copy;
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of switch to copy command at 12/27/2019 15:13:58
RMAN-06571: datafile 1 does not have recoverable copy
墨值悬赏

评论
