HP Data Protector Software Cell Manager Failover Process (standby Cell Manager)

12
fi
Note
This script removes existing files within the IDB restore destination directory
on the standby Cell Manager.
site(A):dp_database1-post.sh
#!/bin/ksh
# This is a sample dp_database1-post.sh script
banner performing restore
/opt/omni/bin/omnir -omnidb site(A).yourdomain:/ "[Database]:
site(A).yourdomain" -session 2007/05/25-14 -tree / -into /IDBrestore -
target site(B).yourdomain
Note
This is an automatically generated script by the site(A):database2-post.sh
script. You must not create or edit this script.
site(A):dp_database2-post.sh
#!/bin/ksh
# This is a sample dp_database2-post.sh script
echo '#!/bin/ksh' > /opt/omni/lbin/dp_database1-post.sh
echo '# This is a sample dp_database1-post.sh script' >>
/opt/omni/lbin/dp_database1-post.sh
echo 'banner performing restore' >> /opt/omni/lbin/dp_database1-post.sh
echo /opt/omni/bin/omnir -omnidb site(A).yourdomain:/ \"[Database]:
site(A).yourdomain\" -session `echo ${SESSIONID}` -tree / -into
/IDBrestore -target site(B).yourdomain >> /opt/omni/lbin/dp_database1-
post.sh
chmod 744 /opt/omni/lbin/dp_database1-post.sh
Note
This script pipes its output into the site(A):dp_database1-post.sh script upon
finishing Backup Job2.
All scripts must reside in the /opt/omni/lbin directory of their relevant systems.
site(A).yourdomain dp_database1-pre.sh
dp_database1-post.sh
dp_database2-post.sh
site(B).yourdomain dp_database2-pre.sh
Data Protector datalist
To successfully run the IDB backup/replication task, a backup administrator needs to set up two
backup specifications (datalists) using the Data Protector GUI.