Hello,
We are trying to perform Oracle backups from a script on the client. We have tested running the script from rman and the backup works perfectly.
But executing it from the Commcell in the pre backup option, but it always fails indicating the following errors:
Failed with Oracle DB/RMAN error [RMAN-00558: error encountered while parsing input commands RMAN-01006: error signaled during parse RMAN-02001: unrecognized punctuation symbol "/" RMAN-00558: error encountered while parsing input commands RMAN-01009: syntax error: found "}": expecting one of: "advise, allocate, alter, analyze, associate statistics, audit, backup, begin, @, call, catalog, change, comment, commit, configure, connect, convert, copy, create, create catalog, create global, create script, create virtual, crosscheck, declare, delete, delete from, describe, describe catalog, disassociate statistics, drop, drop catalog, drop database, duplicate, exit, explain plan, flashback, flashback table, grant, grant catalog, grant register, host, import, insert, list, lock, merge, mount, noaudit, open, print, purge, quit, recover, register, release, rename, repair, replace, report, " RMAN-01007: at line 1 column 1
Oracle backup scripts from commcell
Best answer by Gowri Shankar
Hi
Please remove the parameters marked in green and replace them with the SBT parameters
CvInstanceName=Instance001
allocate channel ch1 type 'sbt_tape'
PARMS="SBT_LIBRARY=/exp/BKP12/commvault_zaintza/commvault2/Base/libobk.so, BLKSIZE=1048576 ENV=(CV_mmsApiVsn=2,ThreadCommandLine= -cn v99SRH-009908 -vm Instance002)"
How to find CvInstanceName on the Linux server.
Connect to the linux server as root and run commvault status
The very first line will show the instance name.
By default if there is only 1 commvault instance running on the server then it would be Instance001
SBT Parameters → https://documentation.commvault.com/2022e/expert/20672_oracle_agent_sbt_parameters.html
Regards,
Gowri Shankar
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.