Performing the RMAN backup directly to MSDP server
Prerequisites to perform the RMAN backup directly to MSDP server:
Plug-in is installed correctly.
Plug-in installation path is added to OS environment variable LD_LIBRARY_PATH.
The MSDP application user and password are created on MSDP server and added as OS environment variable.
NetBackup Dedupe Direct for Oracle plug-in includes a set of library of functions that enable RMAN to work with NetBackup MSDP storage server. On UNIX, NetBackup uses the RMAN SBT_LIBRARY parameter to link the RMAN server software with the media management API library that NetBackup Dedupe Direct for Oracle plug-in installs.
Before you perform backup, use the SBT_LIBRARY parameter in the PARMS section of the allocate channel in the RMAN script. In the RMAN script, modify the ALLOCATE statement so that the SBT_LIBRARY parameter points to the NetBackup Dedupe Direct for Oracle library, and specify the rman.cfg location in script. The rman.cfg location is in etc directory under installed path.
For example,
RUN
{
ALLOCATE CHANNEL c1 DEVICE TYPE 'SBT_TAPE' PARMS 'SBT_LIBRARY=<plugin_install_path>
/lib/libmsdp_sbt.so, SBT_PARMS=(SBTCONFIG=<plugin_install_path>/etc/rman.cfg)';
backup FORMAT 'bk_d%d_u%u_s%s_p%p_t%t' DATABASE filesperset 1;
backup archivelog all format 'archlog_%d_%T_%s_%p';
RELEASE CHANNEL c1;
}To perform the RMAN backup directly to MSDP server:
- Set the environment variables LD_LIBRARY_PATH, App user, and password.
- Update the default values.
- Perform RMAN backup directly to MSDP storage server.