commvalut oracle backup command

run {
allocate channel ch1 type 'sbt_tape'
PARMS="SBT_LIBRARY=<software_installation_path>/Base/libobk.so,BLKSIZE=1048576"
}

 https://documentation.commvault.com/commvault/v11_sp10/article?p=products/oracle/t_ora_full_rman.htm

CvOraSID ENV=(CvClientName=lab04,CvOraSID=SID2,CvInstanceName=instance_name)";

Procedure

  • On the RMAN command line, run the following sample script, substituting any required or optional Oracle SBT parameters.

    For information on required and optional SBT parameters, see SBT Parameters.

run {
allocate channel ch1 type 'sbt_tape';
allocate channel ch2 type 'sbt_tape';
allocate channel ch3 type 'sbt_tape';
allocate channel ch4 type 'sbt_tape';

setlimit channel ch1 maxopenfiles 8;
setlimit channel ch2 maxopenfiles 8;
setlimit channel ch3 maxopenfiles 8;
setlimit channel ch4 maxopenfiles 8;

backup incremental level = 0
filesperset = 4 format '%d_%U_%t'
database include current controlfile;
}

The SBT_LIBRARY path for the various platforms are listed below:

    • AIX with 64 bit Oracle - <Client Agent Install Path>/Base64/libobk.a(shr.o)
    • Solaris with 64 bit Oracle -<Client Agent Install Path>/Base64/libobk.so
    • Linux on System Z with 64 bit Oracle - <Client Agent Install Path>/Base64/libobk.so
    • All Other UNIX platforms -<Client Agent Install Path>/Base/libobk.so
posted @ 2020-07-23 18:25  耀阳居士  阅读(183)  评论(0编辑  收藏  举报