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

From Wiki_dbSQWare
Jump to: navigation, search
m (Updated by BatchUser)
m (Updated by BatchUser)
 
(44 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<pre>
 
<pre>
Sourcing sqwsyb_Global.lib v3.1.14 SQWareProduction for Sybase (dbSQWare GPL v3) ...  
+
Sourcing sqwsyb_Global.lib v2024.07 SQWareProduction for Sybase (dbSQWare) ...  
  
Usage: sqwsyb_DumpAllDatabases.ksh [-h] -S|-I <dataserver> [+ options]
+
Usage: sqwsyb_DumpAllDatabases.ksh [-h] -I <dataserver> [+ options]
  
 
DESCRIPTION
 
DESCRIPTION
   sqwsyb_DumpAllDatabases.ksh Dump all databases in //
+
   sqwsyb_DumpAllDatabases.ksh Dump all databases in parallel
 
SUPPORT
 
SUPPORT
   Sybase supported versions: 12.5 <= v <= 15.7
+
   Sybase supported versions: 12.5 <= v <= 16.0
  
 
PARAMETERS
 
PARAMETERS
     -S|-I  dataserver : Target dataserver to Dump.
+
     -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).
     -ID  listdb      : Databases list for running analyze tables (by default all).
+
     -ID  listdb      : List of databases holding tables to analyze (by default all).
     -ED  listdb      : Databases list 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%').
 
     -WCD  whereclause  : Where clause to generate databases list.
 
     -WCD  whereclause  : Where clause to generate databases list.
     -FRT return_code  : Force return code value on error.
+
     -FRT       code    : Force return code value on error.
     -RD directory      : Directory to put Dump file (default /$(echo ${HOME}|cut -d/ -f2)/syb_dump/$DSQUERY).
+
     -RD directory      : Directory to write dump file (by default /$(echo ${HOME}|cut -d/ -f2)/syb_dump/$DSQUERY).
 
     -HI Nb            : Nb of generations to keep (by default 2).
 
     -HI Nb            : Nb of generations to keep (by default 2).
 
     -CL Level          : Compression level (by default 1).
 
     -CL Level          : Compression level (by default 1).
 
     -CR Rate          : Estimated rate of compression (by default 22).
 
     -CR Rate          : Estimated rate of compression (by default 22).
     -AGR Nb sec      : Nb of seconds between two run (by default 10s).
+
     -AGR Nb_sec        : Nb of seconds between two runs (by default 10s).
     -AGE Nb sec      : Nb of seconds between two check of end (by default 30s).
+
     -AGE Nb_sec        : Nb of seconds between two checks of end (by default 30s).
     -SMS  SizeMax      : Size Max Stripe (default 4096 Mo).
+
     -SMS  SizeMax      : Size Max Stripe (by default 4096 Mo).
     -Type type        : Dump type full,inc,stb,fstb (defaut full).
+
     -Type type        : Dump type full,inc,stb,fstb (by default full).
     -NoMail            : Desactivate sendmail on error pmexpdba@gmail.com (by default, send on error).
+
     -NoMail            : Deactivate sendmail on error pmexpdba@gmail.com (by default, send on error).
     -OldSyntax        : Force old syntax for Dump (by default, 'NewSyntax').
+
     -OldSyntax        : Force dump old syntax (by default, 'NewSyntax').
     -NewSyntax        : Force new syntax for Dump (by default, 'NewSyntax').
+
     -NewSyntax        : Force dump new syntax (by default, 'NewSyntax').
     -NoSyslogins      : No backup syslogins table.
+
     -NoSyslogins      : Do not backup syslogins tables.
     -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.
 +
    -AddFlagName mflag : Put '.mflag' at end of dump name.
 
     -CrossPlatform    : Put db in 'single user' mode and execute sp_flushstats before Dump.
 
     -CrossPlatform    : Put db in 'single user' mode and execute sp_flushstats before Dump.
     -h help          : Display the full usage.
+
    -TryCum            : Try 'dump cumulative' if 'dump tran' error (need to customize lfsqw_TryCum function).
 +
     -h                 : Display the full usage.
 
     -s                : Display samples of usage.
 
     -s                : Display samples of usage.
     -Exec              : Execute commands (default, display generated commands)
+
    -Locale    locale  : Force Locale for help display (fr,en).
 +
     -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_DumpAllDatabases.ksh [-h] -I <dataserver> [+ options]

DESCRIPTION
   sqwsyb_DumpAllDatabases.ksh Dump 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).
     -ID   listdb       : List of databases holding tables to analyze (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%').
     -WCD  whereclause  : Where clause to generate databases list.
     -FRT       code    : Force return code value on error.
     -RD directory      : Directory to write dump file (by default /$(echo ${HOME}|cut -d/ -f2)/syb_dump/$DSQUERY).
     -HI Nb             : Nb of generations to keep (by default 2).
     -CL Level          : Compression level (by default 1).
     -CR Rate           : Estimated rate of compression (by default 22).
     -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).
     -SMS  SizeMax      : Size Max Stripe (by default 4096 Mo).
     -Type type         : Dump type full,inc,stb,fstb (by default full).
     -NoMail            : Deactivate sendmail on error pmexpdba@gmail.com (by default, send on error).
     -OldSyntax         : Force dump old syntax (by default, 'NewSyntax').
     -NewSyntax         : Force dump new syntax (by default, 'NewSyntax').
     -NoSyslogins       : Do not backup syslogins tables.
     -AddMail   email   : Email address to add at 'pmexpdba@gmail.com'.
     -SendReport        : Send execution log report.
     -AddFlagName mflag : Put '.mflag' at end of dump name.
     -CrossPlatform     : Put db in 'single user' mode and execute sp_flushstats before Dump.
     -TryCum            : Try 'dump cumulative' if 'dump tran' error (need to customize lfsqw_TryCum function).
     -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).