Template:SQWareProduction sqwsyb LoadDatabase.ksh help

From Wiki_dbSQWare
Jump to: navigation, search
Sourcing sqwsyb_Global.lib v2024.07 SQWareProduction for Sybase (dbSQWare) ... 

Usage: sqwsyb_LoadDatabase.ksh [[-h]] -I <dataserver> -DT <DatabaseTarget> [[+ options]]

DESCRIPTION
   sqwsyb_LoadDatabase.ksh load $lvsqw_LoadType 
SUPPORT
   Sybase supported versions: 12.5 <= v <= 16.0

PARAMETERS
     -I  dataserver     : Target dataserver.
     -DT DatabaseTarget : Target database.
OPTIONS
     -h                 : Display the full usage.
     -s                 : Display samples of usage.
     -NoMail            : Deactivate sendmail on error pmexpdba@gmail.com (by default, send on error).
     -AddMail   email   : Email address to add at 'pmexpdba@gmail.com'.
     -SendReport        : Send execution log report.
     -DS DatabaseSource : Source database (by default same than -DT).
     -O on,off,ostb     : Type online (by default on).
     -F file            : Dump file to load (by default take the latest).
     -DD date_dump      : Dump date to load (by default take the latest).
     -RD directory      : Directory holding dump file (by default /$(echo ${HOME}|cut -d/ -f2)/syb_dump/$DSQUERY).
     -FRT       code    : Force return code value on error.
     -Before  script    : Script to execute before load.
     -After   script    : Script to execute after load.
     -Type type         : Type de load full,inc,stb,fstb (by default full).
     -Chk               : Check database size before load.
     -Lock              : Lock all logins during load.
     -Kill              : Kill connexion on loaded database.
     -Shut              : Run "dbcc dbreboot('shutdown_load',dbname)" before load database (12.5.4 ESD1 and 15.0.2).
     -Rsync             : Synchronize sysusers and sysalternates with master..syslogins (by default no).
     -LtmIgnore         : Execute 'dbcc settrunc (ltm,ignore)' after load.
     -CrossPlatform     : Execute sp_post_xpload after load.
     -AddFlagName mflag : Search dumps with '.mflag' at end of name.
     -Upgrade           : Execute sp_checkreswords,sp_checksource,dbcc upgrade_object after load.
     -Locale    locale  : Force Locale for help display (fr,en).
     -Exec              : Run load $lvsqw_LoadType (by default, display generated commands).