Template:SQWareProduction sqwsyb CopyDumpDatabase.ksh example

From Wiki_dbSQWare
Revision as of 12:33, 17 December 2014 by BatchUser (talk | contribs) (Updated by BatchUser)
Jump to: navigation, search
Sourcing sqwsyb_Global.lib v3.1.05 SQWareProduction for Sybase (dbSQWare GPL v3) ... 

#Standard help for script sqwsyb_CopyDumpDatabase.ksh:


$gvsqw_SybBin/sqwsyb_CopyDumpDatabase.ksh -h
#Display online help for this script

$gvsqw_SybBin/sqwsyb_CopyDumpDatabase.ksh -S $DSQUERY -DT <DbName> -SS $DSQUERY_SOURCE -UC <hostname> -NoMail
#Desactivate sendmail on error to $gvsqw_GlobalMail (by default, send on error)

$gvsqw_SybBin/sqwsyb_CopyDumpDatabase.ksh -S $DSQUERY -DT <DbName> -SS $DSQUERY_SOURCE -UC <hostname> -Exec
#Execute generated commands

$gvsqw_SybBin/sqwsyb_CopyDumpDatabase.ksh -S $DSQUERY -DT <DbName> -SS $DSQUERY_SOURCE -UC <hostname>
#Generate commands but don't execute them !