Performing the RMAN restore directly from the MSDP storage server
Make sure that a backup using the NetBackup Dedupe Direct for Oracle plug-in has completed successfully before you attempt a restore. You can run the rman command from a command prompt on the client. Use the appropriate RMAN command file as a parameter.
Before you perform restore, 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 ch00 TYPE 'SBT_TAPE' PARMS 'SBT_LIBRARY=<plugin_install_path>
/lib/libmsdp_sbt.so, SBT_PARMS=(SBTCONFIG=<plugin_install_path>/etc/rman.cfg)';
RESTORE DATABASE;
RECOVER DATABASE;
RELEASE CHANNEL ch00;
}To perform the RMAN backup:
- Set the environment variables SBT_LIBRARY, SBTCONFIG.
- Update the default values.
- Perform RMAN restore directly from the MSDP storage server.