Difference between revisions of "Template:SQWareProduction sqwsyb LoadDatabase.ksh help"
m (Updated by BatchUser) |
m (Updated by BatchUser) |
||
(23 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_LoadDatabase.ksh [[-h]] -I <dataserver> -DT <DatabaseTarget> [[+ options]] | Usage: sqwsyb_LoadDatabase.ksh [[-h]] -I <dataserver> -DT <DatabaseTarget> [[+ options]] | ||
Line 13: | Line 13: | ||
-DT DatabaseTarget : Target database. | -DT DatabaseTarget : Target database. | ||
OPTIONS | OPTIONS | ||
− | -h | + | -h : Display the full usage. |
-s : Display samples of usage. | -s : Display samples of usage. | ||
-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. | ||
-DS DatabaseSource : Source database (by default same than -DT). | -DS DatabaseSource : Source database (by default same than -DT). | ||
− | -O on,off,ostb : Type online (default on). | + | -O on,off,ostb : Type online (by default on). |
− | -F file : Dump file to load (default take the latest). | + | -F file : Dump file to load (by default take the latest). |
− | -DD date_dump : Dump date to load (default take the latest). | + | -DD date_dump : Dump date to load (by default take the latest). |
− | -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). |
− | -FRT | + | -FRT code : Force return code value on error. |
-Before script : Script to execute before load. | -Before script : Script to execute before load. | ||
-After script : Script to execute after load. | -After script : Script to execute after load. | ||
− | -Type type : Type de load full,inc,stb,fstb (default full) | + | -Type type : Type de load full,inc,stb,fstb (by default full). |
− | |||
-Chk : Check database size before load. | -Chk : Check database size before load. | ||
-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. | ||
-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. | ||
− | -Locale | + | -Locale locale : Force Locale for help display (fr,en). |
− | -Exec : Run load $lvsqw_LoadType (default, display generated commands). | + | -Exec : Run load $lvsqw_LoadType (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_LoadDatabase.ksh [[-h]] -I <dataserver> -DT <DatabaseTarget> [[+ options]] DESCRIPTION sqwsyb_LoadDatabase.ksh load $lvsqw_LoadType SUPPORT Sybase supported versions: 12.5 <= v <= 16.0 PARAMETERS -I dataserver : Target dataserver. -DT DatabaseTarget : Target database. OPTIONS -h : Display the full usage. -s : Display samples of usage. -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. -DS DatabaseSource : Source database (by default same than -DT). -O on,off,ostb : Type online (by default on). -F file : Dump file to load (by default take the latest). -DD date_dump : Dump date to load (by default take the latest). -RD directory : Directory holding dump file (by default /$(echo ${HOME}|cut -d/ -f2)/syb_dump/$DSQUERY). -FRT code : Force return code value on error. -Before script : Script to execute before load. -After script : Script to execute after load. -Type type : Type de load full,inc,stb,fstb (by default full). -Chk : Check database size before load. -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. -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. -Locale locale : Force Locale for help display (fr,en). -Exec : Run load $lvsqw_LoadType (by default, display generated commands).