I need a solution
I executed the following command via RMAN:
run { allocate auxiliary channel ch4 device type 'SBT' parms='SBT_LIBRARY=/usr/openv/netbackup/bin/libobk.so64.1 ENV=(NB_ORA_CLIENT= server01-nbu, NB_ORA_SERVER=nbumaster,NB_ORA_CLASS=ORA_RMAN_SERVER01_5WK)'; allocate auxiliary channel ch5 device type 'SBT' parms='SBT_LIBRARY=/usr/openv/netbackup/bin/libobk.so64.1 ENV=(NB_ORA_CLIENT= server02-nbu, NB_ORA_SERVER=nbumaster,NB_ORA_CLASS=ORA_RMAN_SERVER02_5WK)'; allocate auxiliary channel ch6 device type 'SBT' parms='SBT_LIBRARY=/usr/openv/netbackup/bin/libobk.so64.1 ENV=(NB_ORA_CLIENT= server03-nbu, NB_ORA_SERVER=nbumaster,NB_ORA_CLASS=ORA_RMAN_SERVER03_5WK)'; set database ; set dbid 1647326992; duplicate database DATABASE01P to DATABASE01T; release channel ch1; release channel ch2; release channel ch3; }
It restores the control file fine:
channel ch3: starting datafile backup set restore channel ch3: restoring control file channel ch3: reading from backup piece c-1647326992-20140117-07 channel ch3: piece handle=c-1647326992-20140117-07 tag=TAG20140117T152226 channel ch3: restored backup piece 1 channel ch3: restore complete, elapsed time: 00:02:26 output file name=+DATA/DATABASE01T/controlfile/current.529.838113321 output file name=+FRA/DATABASE01T/controlfile/current.529.838113321 Finished restore at 29-JAN-14
However when it gets to the Datafiles it craps out:
channel ch1: starting datafile backup set restore channel ch1: specifying datafile(s) to restore from backup set channel ch1: restoring datafile 00010 to +DATA/DATABASE01T/datafile/xxxxxxxx.539.838113951 channel ch1: restoring section 1 of 3 channel ch1: reading from backup piece ohoua7s8_1_2 ... channel ch1: ORA-19870: error while restoring backup piece ohoua7s8_1_2 ORA-19507: failed to retrieve sequential file, handle="ohoua7s8_1_2", parms="" ORA-27029: skgfrtrv: sbtrestore returned error ORA-19511: Error received from media manager layer, error text: Backup file <ohoua7s8_1_2> not found in NetBackup catalog
I've run a cross check on the backup pieces and they are present on the allocated channels.
I have noticed however the on the netbackup client log files that nothing was restored and it says the restore was sucessful:
EG: controlfile restore:
09:16:36 (2843594.001) INF - Waiting for mount of media id CM1284 on server nbual03 for reading. 09:17:10 (2843594.001) INF - Waiting for positioning of media id CM1284 on server nbual03 for reading. 09:18:32 (2843594.001) INF - Beginning restore from server nbual03 to client vsoraomt2-nbu. 09:18:34 /c-1647326992-20140117-07 09:18:34 /c-1647326992-20140117-07 09:18:35 (2843594.001) Status of restore from copy 2 of image created Fri Jan 17 15:22:31 2014 = the requested operation was successfully completed
Datafile restore:
09:26:17 (2843606.001) INF - Waiting for mount of media id CM1071 on server nbual03 for reading. 09:26:46 (2843606.001) INF - Waiting for positioning of media id CM1071 on server nbual03 for reading. 09:27:38 (2843606.001) INF - Beginning restore from server nbual03 to client vsoraomt2-nbu. 09:27:40 (2843606.001) Status of restore from copy 2 of image created Fri Jan 17 07:59:49 2014 = the requested operation was successfully completed
The second restore initiated for the Database files returns nothing
Any ideas what could be wrong?