Difference between revisions of "Template:SQWareProduction sqwsyb DumpDatabase.ksh help"
m (Updated by BatchUser) |
m (Updated by BatchUser) |
||
(21 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<pre> | <pre> | ||
− | Sourcing sqwsyb_Global.lib | + | Sourcing sqwsyb_Global.lib v2024.07 SQWareProduction for Sybase (dbSQWare) ... |
Usage: sqwsyb_DumpDatabase.ksh [-h] -I <dataserver> [+ options] | Usage: sqwsyb_DumpDatabase.ksh [-h] -I <dataserver> [+ options] | ||
Line 13: | Line 13: | ||
-D database : Database name. | -D database : Database name. | ||
OPTIONS | OPTIONS | ||
− | -h | + | -h : Display the full usage. |
-s : Display samples of usage. | -s : Display samples of usage. | ||
-NS Nb stripe : Force number of stripes. | -NS Nb stripe : Force number of stripes. | ||
-HI Nb : Nb of generations to keep (by default 2). | -HI Nb : Nb of generations to keep (by default 2). | ||
− | -RD directory : Directory to write 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). |
-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). | ||
-SMS Size : Size max of a stripe (Mb, by default 4096). | -SMS Size : Size max of a stripe (Mb, by default 4096). | ||
− | -FRT | + | -FRT code : Force return code value on error. |
-OldSyntax : Force dump old syntax (by default, 'NewSyntax'). | -OldSyntax : Force dump old syntax (by default, 'NewSyntax'). | ||
-NewSyntax : Force dump new syntax (by default, 'NewSyntax'). | -NewSyntax : Force dump new syntax (by default, 'NewSyntax'). | ||
-NoSyslogins : Do not backup syslogins tables. | -NoSyslogins : Do not backup syslogins tables. | ||
-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 | + | -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. | ||
− | -Type type : Type of Dump full,inc,stb,fstb (default full). | + | -TryCum : Try 'dump cumulative' if 'dump tran' error (need to customize lfsqw_TryCum function). |
− | -Locale | + | -Type type : Type of Dump full,inc,stb,fstb (by default full). |
− | -Exec : Run Dump $DumpType (default, display generated commands). | + | -Locale locale : Force Locale for help display (fr,en). |
+ | -Exec : Run Dump $DumpType (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_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).