Hi all,
when I perform a restore from Commvault with a user configured as "sysbackup" I get a "logon denied" error:
#******DATA RESTORE SCRIPT******#
run {
allocate channel ch1 type 'sbt_tape' connect user/33c75edba964cf91c4a814f4b013056c1f391bec0d266622e@CDB021_BCK
PARMS="SBT_LIBRARY=/opt/commvault/Base/libobk.so, BLKSIZE=1048576 ENV=(CV_mmsApiVsn=2,CV_channelPar=ch1)"
TRACE 0;
#******** READINESS REPORT *********#
Agent Install Check:cOK]
Database Check:eFAILED]
Oracle reported the following error: ORA-01017: invalid username/password; logon denied.
RMAN SBT Channel Check:lFAILED]
rORA-01017: invalid username/password; logon denied]
RMAN Catalog Check:tOK]
Destination Storage Check:tOK]
I believe the problem is in the Rman script. In fact, in the restore Rman script there is no "as sysbackup" as in the backup script:
CONFIGURE CONTROLFILE AUTOBACKUP ON;
run {
allocate channel ch1 type 'sbt_tape' connect 'user/33c75edba964cf91c4a814f4b013056c1f391bec0d266622e@CDB021_BCK as sysbackup'
PARMS="SBT_LIBRARY=/opt/commvault/Base/libobk.so, BLKSIZE=1048576 ENV=(CV_mmsApiVsn=2,CV_channelPar=ch1)"
TRACE 0;
I tried to restore manually by adding the option "as sysbackup" to the "allocate channel ..." line and the restore works correctly with the "sysbackup" user.
Obviously if in the "connect string" I configure a "sysadmin" user everything works correctly even from Commvault.