PowerProtect: RMAN AGENT: How to perform Oracle restore on RMAN Agent using ddutil utility
Summary: How to perform Oracle restore on RMAN Agent using ddutil utility
This article applies to
This article does not apply to
This article is not tied to any specific product.
Not all product versions are identified in this article.
Instructions
Step 1: On the target system go to the
Step 2: from <Rman_agent_install_directory>/bin
Step 3: Perform restore operation, here is an example script using RMAN.
<Rman_agent_install_directory>/bin
./ddutil -C
follow the prompts.
-enter the name or IP address of the Data Domain
-enter the user name for the Mtree (or DDboost user that owns the Mtree for non-ppdm driven backups)
-enter the corresponding password
./ddutil -C
follow the prompts.
-enter the name or IP address of the Data Domain
-enter the user name for the Mtree (or DDboost user that owns the Mtree for non-ppdm driven backups)
-enter the corresponding password
Step 2: from <Rman_agent_install_directory>/bin
run
./ddutil -f -z <dd_name>:<storage_unit_name>
this should present you with a list of available backups to restore. (if it does not please check to make sure lockbox creation was correct assuring user name and password details.)
./ddutil -f -z <dd_name>:<storage_unit_name>
this should present you with a list of available backups to restore. (if it does not please check to make sure lockbox creation was correct assuring user name and password details.)
Step 3: Perform restore operation, here is an example script using RMAN.
connect target *
run {
ALLOCATE CHANNEL C0 TYPE 'SBT_TAPE' PARMS 'BLKSIZE=1048576, SBT_LIBRARY=/home/oracle/opt/dpsapps/rmanagent/lib/libddobk.so, ENV=(STORAGE_UNIT=test, RMAN_AGENT_HOME=/home/oracle/opt/dpsapps/rmanagent/, BACKUP_HOST=blrv071a091.lss.emc.com)';
RESTORE DATABASE;
RECOVER DATABASE;
RELEASE CHANNEL C0;
}
run {
ALLOCATE CHANNEL C0 TYPE 'SBT_TAPE' PARMS 'BLKSIZE=1048576, SBT_LIBRARY=/home/oracle/opt/dpsapps/rmanagent/lib/libddobk.so, ENV=(STORAGE_UNIT=test, RMAN_AGENT_HOME=/home/oracle/opt/dpsapps/rmanagent/, BACKUP_HOST=blrv071a091.lss.emc.com)';
RESTORE DATABASE;
RECOVER DATABASE;
RELEASE CHANNEL C0;
}
Affected Products
Data ProtectionArticle Properties
Article Number: 000196147
Article Type: How To
Last Modified: 23 Oct 2024
Version: 6
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.