Restore through CommVault
639316Sep 24 2008 — edited Sep 24 2008Hi All,
I am restoring database through Commvault and getting following issue. Please help me if any idea.
Regards,
Rman Script:
[run {
allocate channel ch1 type 'sbt_tape'
PARMS="BLKSIZE=262144,ENV=(CV_mmsApiVsn=2,CV_channelPar=ch1,ThreadCommandLine= RESTORE -jm 10 -a 2:0 -cl 102 -ins 146 -at 0 -j 388165 -bal 0 -bap 0 -rap 0 -rcp 0 -mav 0 -ms 1 -p 1 -cn abc123 -vm Instance001)"
TRACE 0;
restore spfile until time = "TO_DATE('09/23/2008 08:15:41','MM/DD/YYYY HH24:MI:SS')" ;
restore controlfile to '/opt/galaxy/Base/Temp/CtrlFile388165' until time = "TO_DATE('09/23/2008 08:15:41','MM/DD/YYYY HH24:MI:SS')" ;
replicate controlfile from '/opt/galaxy/Base/Temp/CtrlFile388165';
sql 'alter database mount';
release channel ch1;
}
exit;
]
Rman Log:[
Recovery Manager: Release 10.2.0.3.0 - Production on Wed Sep 24 08:48:27 2008
Copyright (c) 1982, 2005, Oracle. All rights reserved.
RMAN>
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-04004: error from recovery catalog database: ORA-12154: TNS:could not resolve the connect identifier specified
RMAN>
connected to target database: prodata (not mounted)
RMAN> 2> 3> 4> 5> 6> 7> 8> 9> 10>
using target database control file instead of recovery catalog
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of allocate command on ch1 channel at 09/24/2008 08:48:29
ORA-19554: error allocating device, device type: SBT_TAPE, device name:
ORA-27211: Failed to load Media Management Library
Additional information: 25
RMAN>
Recovery Manager complete.