commvalut oracle backup command
作者:互联网
run {
allocate channel ch1 type 'sbt_tape'
PARMS="SBT_LIBRARY=<software_installation_path>/Base/libobk.so,BLKSIZE=1048576"
}
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
标签:commvalut,sbt,libobk,tape,allocate,oracle,command,type,channel 来源: https://www.cnblogs.com/yaoyangding/p/13367921.html