Veritas Storage Foundation 5.1 SP1 Advanced Features Administrator"s Guide (5900-1503, April 2011)
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]
go
quit
!
Script to suspend I/O for a DB2 database
Use this script to suspend I/O for a DB2 database.
#!/bin/ksh
#
# script: backup_start.sh
#
# Sample script to suspend I/O for a DB2 database.
#
# Note: To recover a database using backups of snapshots, the database
# must be in LOGRETAIN mode.
db2 <<!
connect to database
set write suspend for database
quit
!
Files and scripts for sample scenarios
Script to quiesce a Sybase ASE database
516