Veritas FlashSnap Point-In-Time Copy Solutions 5.0.1 Administrators Guide, HP-UX 11i v3, First Edition, November 2009

Script to put an Oracle database into hot backup mode
Use this 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
!
Script to quiesce a Sybase ASE database
Use this script to quiesce a Sybase ASE database.
#!/bin/ksh
#
# script: backup_start.sh
#
# Sample script to quiesce example Sybase ASE database.
#
# Note: The “for external dump” clause was introduced in Sybase
# ASE 12.5 to allow a snapshot database to be rolled forward.
# See the Sybase ASE 12.5 documentation for more information.
isql -Usa -Ppassword -SFMR <<!
quiesce database tag hold database1[, database2]... [for external dump]
87Files and scripts for sample scenarios
Script to put an Oracle database into hot backup mode