Veritas Storage Foundation 5.1 SP1 Advanced Features Administrator"s Guide (5900-1503, April 2011)

Table C-1
Files and scripts for sample scenarios (continued)
Used for...File or script
Decision support.
See Creating an off-host replica database on page 184.
Sample script to create
off-host replica Oracle
database.
See Script to create an
off-host replica Oracle
database on page 519.
Decision support.
See Creating an off-host replica database on page 184.
Sample scripts to start
replica Oracle database or
replica Sybase database.
See Script to complete,
recover and start a replica
Oracle database on page 521.
See Script to start a replica
Sybase ASE database
on page 523.
Script to initiate online off-host backup of an Oracle
database
Use this script to initiate online off-host backup of an Oracle database.
#!/bin/ksh
#
# script: backup_online.sh <dbnode>
#
# Sample script for online, off-host backup.
#
# Note: This is not a production level script, its intention is to help
# you understand the procedure and commands for implementing
# an off-host point-in-time copy solution.
export ORACLE_SID=dbase
export ORACLE_HOME=/oracle/816
export PATH=$ORACLE_HOME/bin:$PATH
dbnode=$1
dbasedg=dbasedg
snapvoldg=snapdbdg
513Files and scripts for sample scenarios
Script to initiate online off-host backup of an Oracle database