Template:SQWareProduction sqwsyb DumpDatabase.ksh help

From Wiki_dbSQWare
Revision as of 15:56, 31 October 2024 by BatchUser (talk | contribs) (Updated by BatchUser)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Sourcing sqwsyb_Global.lib v2024.07 SQWareProduction for Sybase (dbSQWare) ... 

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

DESCRIPTION
   sqwsyb_DumpDatabase.ksh Dump $DumpType
SUPPORT
   Sybase supported versions: 12.5 <= v <= 16.0

PARAMETERS
     -I  dataserver     : Target dataserver.
     -D  database       : Database name.
OPTIONS
     -h                 : Display the full usage.
     -s                 : Display samples of usage.
     -NS Nb stripe      : Force number of stripes.
     -HI Nb             : Nb of generations to keep (by default 2).
     -RD directory      : Directory to write dump file (by default /$(echo ${HOME}|cut -d/ -f2)/syb_dump/$DSQUERY).
     -CL Level          : Compression level (by default 1).
     -CR Rate           : Estimated rate of compression (by default 22).
     -SMS Size          : Size max of a stripe (Mb, by default 4096).
     -FRT       code    : Force return code value on error.
     -OldSyntax         : Force dump old syntax (by default, 'NewSyntax').
     -NewSyntax         : Force dump new syntax (by default, 'NewSyntax').
     -NoSyslogins       : Do not backup syslogins tables.
     -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.
     -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).
     -Type type         : Type of Dump full,inc,stb,fstb (by default full).
     -Locale    locale  : Force Locale for help display (fr,en).
     -Exec              : Run Dump $DumpType (by default, display generated commands).