Template:SQWareProduction sqwsyb LoadAllDatabases.ksh help

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

Usage: sqwsyb_LoadAllDatabases.ksh [-h] -I <dataserver> [+ options]

DESCRIPTION
   sqwsyb_LoadAllDatabases.ksh load all databases in parallel
SUPPORT
   Sybase supported versions: 12.5 <= v <= 16.0

PARAMETERS
     -I  dataserver     : Target dataserver.
OPTIONS
     -P    Nb threads   : Number of threads in parallel (by default 2).
     -O  on,off,ostb    : Type online (by default on).
     -ID   listdb       : List of databases to run load (by default all).
     -ED   listdb       : List of databases to exclude.
     -IL   likeclause   : Like clause to generate databases list (example: 'db%').
     -EL   likeclause   : Like clause to exclude databases (example: 'nodb%').
     -RD   directory    : Directory holding dump file (by default /$(echo ${HOME}|cut -d/ -f2)/syb_dump/$DSQUERY).
     -WCD  whereclause  : Where clause to generate databases list.
     -FRT       code    : Force return code value on error.
     -AGR Nb_sec        : Nb of seconds between two runs (by default 10s).
     -AGE Nb_sec        : Nb of seconds between two checks of end (by default 30s).
     -Type type         : Dump type full,inc,stb,fstb (by default full).
     -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.
     -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.
     -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.
     -h                 : Display the full usage.
     -s                 : Display samples of usage.
     -Locale    locale  : Force Locale for help display (fr,en).
     -Exec              : Execute commands (by default, display generated commands).