Difference between revisions of "Template:SQWareProduction sqwsyb LoadAllDatabases.ksh help"

From Wiki_dbSQWare
Jump to: navigation, search
m (Updated by BatchUser)
m (Updated by BatchUser)
Line 1: Line 1:
 
<pre>
 
<pre>
Sourcing sqwsyb_Global.lib v2023.07 SQWareProduction for Sybase (dbSQWare) ...  
+
Sourcing sqwsyb_Global.lib v2023.08 SQWareProduction for Sybase (dbSQWare) ...  
  
 
Usage: sqwsyb_LoadAllDatabases.ksh [-h] -I <dataserver> [+ options]
 
Usage: sqwsyb_LoadAllDatabases.ksh [-h] -I <dataserver> [+ options]
Line 29: Line 29:
 
     -Shut              : Run "dbcc dbreboot('shutdown_load',dbname)" before load database (12.5.4 ESD1 and 15.0.2).
 
     -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 (default no).
 
     -Rsync            : Synchronize sysusers and sysalternates with master..syslogins (default no).
 +
    -LtmIgnore        : Execute 'dbcc settrunc (ltm,ignore)' after load.
 
     -NoMail            : Deactivate sendmail on error pmexpdba@gmail.com (by default, send on error).
 
     -NoMail            : Deactivate sendmail on error pmexpdba@gmail.com (by default, send on error).
 
     -AddMail email    : Email address to add at 'pmexpdba@gmail.com'.
 
     -AddMail email    : Email address to add at 'pmexpdba@gmail.com'.

Revision as of 18:02, 6 November 2023

Sourcing sqwsyb_Global.lib v2023.08 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 (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 (default /$(echo ${HOME}|cut -d/ -f2)/syb_dump/$DSQUERY).
     -WCD  whereclause  : Where clause to generate databases list.
     -ADM  Adresse      : Email address to send report.
     -FRT  return_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 (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 (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  help           : Display the full usage.
     -s                 : Display samples of usage.
     -Locale   locale   : Force Locale for help display (fr,en).
     -Exec              : Execute commands (default, display generated commands)