Following the Commvault documentation (https://documentation.commvault.com/commvault/v11_sp20/article?p=134884.htm) regarding table restore on Oracle CDB environment I get the following error when I run the RMAN script:
channel ORA_AUX_SBT_TAPE_1: starting datafile backup set restore
channel ORA_AUX_SBT_TAPE_1: restoring control file
channel ORA_AUX_SBT_TAPE_1: reading from backup piece c-2205816741-20210402-00
channel ORA_AUX_SBT_TAPE_1: ORA-19870: error while restoring backup piece c-2205816741-20210402-00
ORA-19507: failed to retrieve sequential file, handle="c-2205816741-20210402-00", parms=""
ORA-27029: skgfrtrv: sbtrestore returned error
ORA-19511: non RMAN, but media manager or vendor specific failure, error text:
sbtrestore: Job[0] thread[26902]: Restore: GetBackupInfo() for Archive File[c-2205816741-20210402-00] failed.
failover to previous backup
below the RMAN script executed:
RUN {
ALLOCATE CHANNEL dev0 DEVICE TYPE SBT_TAPE PARMS 'SBT_LIBRARY=/opt/commvault/Base/libobk.so,ENV=(CvInstanceName=Instance001)' ;
RECOVER table EXAMPLE.TESTCOMMVAULT OF PLUGGABLE DATABASE test14b
UNTIL SCN 13599650128869
AUXILIARY DESTINATION '/tmp';
release channel dev0;
}
Here is the complete output of the script:
Starting recover at 06-APR-21
using channel ORA_SBT_TAPE_1
using channel ORA_DISK_1
RMAN-05026: warning: presuming following set of tablespaces applies to specified point-in-time
List of tablespaces expected to have UNDO segments
Tablespace SYSTEM
Tablespace TEST14B:SYSTEM
Tablespace UNDOTBS1
Tablespace TEST14B:UNDOTBS1
Tablespace UNDOTBS2
Tablespace TEST14B:UNDOTBS2
Creating automatic instance, with SID='oEzm'
initialization parameters used for automatic instance:
db_name=CTEST14
db_unique_name=oEzm_pitr_test14b_CTEST14
compatible=12.2.0
db_block_size=8192
db_files=200
diagnostic_dest=/orasw/app/oracle
_system_trig_enabled=FALSE
sga_target=34176M
processes=200
db_create_file_dest=/tmp
log_archive_dest_1='location=/tmp'
enable_pluggable_database=true
_clone_one_pdb_recovery=true
#No auxiliary parameter file used
starting up automatic instance CTEST14
Oracle instance started
Total System Global Area 35836133376 bytes
Fixed Size 30035200 bytes
Variable Size 5502927616 bytes
Database Buffers 30198988800 bytes
Redo Buffers 104181760 bytes
Automatic instance created
contents of Memory Script:
{
# set requested point in time
set until scn 13599650128869;
# restore the controlfile
restore clone controlfile;
# mount the controlfile
sql clone 'alter database mount clone database';
# archive current online log
sql 'alter system archive log current';
}
executing Memory Script
executing command: SET until clause
Starting restore at 06-APR-21
allocated channel: ORA_AUX_SBT_TAPE_1
channel ORA_AUX_SBT_TAPE_1: SID=23 device type=SBT_TAPE
channel ORA_AUX_SBT_TAPE_1: CommVault Systems for Oracle: Version 11.0.0(BUILD80)
allocated channel: ORA_AUX_DISK_1
channel ORA_AUX_DISK_1: SID=30 device type=DISK
channel ORA_AUX_SBT_TAPE_1: starting datafile backup set restore
channel ORA_AUX_SBT_TAPE_1: restoring control file
channel ORA_AUX_SBT_TAPE_1: reading from backup piece c-2205816741-20210402-00
channel ORA_AUX_SBT_TAPE_1: ORA-19870: error while restoring backup piece c-2205816741-20210402-00
ORA-19507: failed to retrieve sequential file, handle="c-2205816741-20210402-00", parms=""
ORA-27029: skgfrtrv: sbtrestore returned error
ORA-19511: non RMAN, but media manager or vendor specific failure, error text:
sbtrestore: Job[0] thread[26902]: Restore: GetBackupInfo() for Archive File[c-2205816741-20210402-00] failed.
failover to previous backup
Removing automatic instance
shutting down automatic instance
Oracle instance shut down
Automatic instance removed
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of recover command at 04/06/2021 15:09:33
RMAN-03015: error occurred in stored script Memory Script
RMAN-06026: some targets not found - aborting restore
RMAN-06024: no backup or copy of the control file found to restore
RMAN>
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00558: error encountered while parsing input commands
RMAN-01009: syntax error: found "identifier": expecting one of: ";"
RMAN-01008: the bad identifier was: dev0
RMAN-01007: at line 1 column 17 file: standard input