Veritas FlashSnap Point-In-Time Copy Solutions 5.0 AdministratorÆs Guide, HP-UX 11i v3, First Edition, May 2008
65Files and scripts for sample scenarios
Script to put an Oracle database into hot backup mode
Script to put an Oracle database into hot backup
mode
#!/bin/ksh
#
# script: backup_start.sh
#
# Sample script to put example Oracle database into hot backup mode.
export ORACLE_SID=dbase
export ORACLE_HOME=/oracle/816
export PATH=$ORACLE_HOME/bin:$PATH
svrmgrl <<!
connect internal
archive log list;
alter tablespace ts1 begin backup;
# .
# . Put all required tablespaces into hot backup mode
# .
alter tablespace tsN begin backup;
quit
!