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)
 
(29 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<pre>
 
<pre>
Sourcing sqwsyb_Global.lib v2020.02 SQWareProduction for Sybase (dbSQWare) ...  
+
Sourcing sqwsyb_Global.lib v2024.07 SQWareProduction for Sybase (dbSQWare) ...  
  
 
Usage: sqwsyb_LoadAllDatabases.ksh [-h] -I <dataserver> [+ options]
 
Usage: sqwsyb_LoadAllDatabases.ksh [-h] -I <dataserver> [+ options]
Line 12: Line 12:
 
     -I  dataserver    : Target dataserver.
 
     -I  dataserver    : Target dataserver.
 
OPTIONS
 
OPTIONS
     -P Nb threads     : Number of threads in parallel (by default 2).
+
     -P   Nb threads   : Number of threads in parallel (by default 2).
     -O  on,off,ostb    : Type online (default on).
+
     -O  on,off,ostb    : Type online (by default on).
 
     -ID  listdb      : List of databases to run load (by default all).
 
     -ID  listdb      : List of databases to run load (by default all).
 
     -ED  listdb      : List of databases to exclude.
 
     -ED  listdb      : List of databases to exclude.
 
     -IL  likeclause  : Like clause to generate databases list (example: 'db%').
 
     -IL  likeclause  : Like clause to generate databases list (example: 'db%').
 
     -EL  likeclause  : Like clause to exclude databases (example: 'nodb%').
 
     -EL  likeclause  : Like clause to exclude databases (example: 'nodb%').
     -RD  directory    : Directory holding dump file (default /$(echo ${HOME}|cut -d/ -f2)/syb_dump/$DSQUERY).
+
     -RD  directory    : Directory holding dump file (by default /$(echo ${HOME}|cut -d/ -f2)/syb_dump/$DSQUERY).
 
     -WCD  whereclause  : Where clause to generate databases list.
 
     -WCD  whereclause  : Where clause to generate databases list.
    -ADM  Adresse      : Email address to send report.
+
     -FRT       code    : Force return code value on error.
     -FRT return_code  : Force return code value on error.
+
     -AGR Nb_sec        : Nb of seconds between two runs (by default 10s).
     -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).
     -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).
     -Type type        : Dump type full,inc,stb,fstb (default full).
 
 
     -Lock              : Lock all logins during load.
 
     -Lock              : Lock all logins during load.
 
     -Kill              : Kill connexion on loaded database.
 
     -Kill              : Kill connexion on loaded database.
 
     -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 (by 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'.
 
     -SendReport        : Send execution log report.
 
     -SendReport        : Send execution log report.
 
     -CrossPlatform    : Execute sp_post_xpload 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.
 
     -Upgrade          : Execute sp_checkreswords,sp_checksource,dbcc upgrade_object after load.
     -h help          : Display the full usage.
+
     -h                 : Display the full usage.
 
     -s                : Display samples of usage.
 
     -s                : Display samples of usage.
     -Locale   locale   : Force Locale for help display (fr,en).
+
     -Locale   locale : Force Locale for help display (fr,en).
     -Exec              : Execute commands (default, display generated commands)
+
     -Exec              : Execute commands (by default, display generated commands).
  
 
</pre>
 
</pre>

Latest revision as of 15:56, 31 October 2024

Sourcing sqwsyb_Global.lib v2024.07 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).