Difference between revisions of "Template:SQWareProduction sqwsyb LoadDatabase.ksh help"
m (Updated by BatchUser) |
m (Updated by BatchUser) |
||
Line 1: | Line 1: | ||
<pre> | <pre> | ||
− | Sourcing sqwsyb_Global.lib | + | Sourcing sqwsyb_Global.lib v2020.01 SQWareProduction for Sybase (dbSQWare) ... |
− | Usage: sqwsyb_LoadDatabase.ksh [[-h]] | + | Usage: sqwsyb_LoadDatabase.ksh [[-h]] -I <dataserver> -DT <DatabaseTarget> [[+ options]] |
DESCRIPTION | DESCRIPTION | ||
Line 10: | Line 10: | ||
PARAMETERS | PARAMETERS | ||
− | + | -I dataserver : Target dataserver. | |
-DT DatabaseTarget : Target database. | -DT DatabaseTarget : Target database. | ||
OPTIONS | OPTIONS | ||
-h help : Display the full usage. | -h help : Display the full usage. | ||
-s : Display samples of usage. | -s : Display samples of usage. | ||
− | -NoMail : | + | -NoMail : Deactivate sendmail on error pmexpdba@gmail.com (by default, send on error). |
− | -AddMail email : 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 ( | + | -O on,off,ostb : Type online (default on). |
− | -F file : | + | -F file : Dump file to load (default take the latest). |
− | -DD date_dump : | + | -DD date_dump : Dump date to load (default take the latest). |
− | -RD directory : Directory | + | -RD directory : Directory holding dump file (default /$(echo ${HOME}|cut -d/ -f2)/syb_dump/$DSQUERY). |
-FRT return_code : Force return code value on error. | -FRT return_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 (default full). | ||
− | -ADM Adresse : Email | + | -ADM Adresse : Email address to send report. |
-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 | + | -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 (default no). |
Revision as of 18:36, 8 March 2020
Sourcing sqwsyb_Global.lib v2020.01 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 help : 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 (default on). -F file : Dump file to load (default take the latest). -DD date_dump : Dump date to load (default take the latest). -RD directory : Directory holding dump file (default /$(echo ${HOME}|cut -d/ -f2)/syb_dump/$DSQUERY). -FRT return_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 (default full). -ADM Adresse : Email address to send report. -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 (default no). -CrossPlatform : Execute sp_post_xpload after load. -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 (default, display generated commands).