Template:SQWareProduction sqwsyb LoadDatabase.ksh help: Difference between revisions
Jump to navigation
Jump to search
m Updated by BatchUser |
m Updated by BatchUser |
||
| Line 1: | Line 1: | ||
<pre> | <pre> | ||
Sourcing sqwsyb_Global.lib v3.1. | Sourcing sqwsyb_Global.lib v3.1.02 SQWareProduction for Sybase (dbSQWare GPL v3) ... | ||
Usage: sqwsyb_LoadDatabase.ksh [[-h]] -S|-I <dataserver> -DT <DatabaseTarget> [[+ options]] | Usage: sqwsyb_LoadDatabase.ksh [[-h]] -S|-I <dataserver> -DT <DatabaseTarget> [[+ options]] | ||
DESCRIPTION | DESCRIPTION | ||
sqwsyb_LoadDatabase.ksh | sqwsyb_LoadDatabase.ksh load $lvsqw_LoadType | ||
SUPPORT | SUPPORT | ||
Sybase supported versions: 12.5 <= v <= 15.7 | Sybase supported versions: 12.5 <= v <= 15.7 | ||
| Line 15: | Line 15: | ||
-h help : Display the full usage. | -h help : Display the full usage. | ||
-s : Display samples of usage. | -s : Display samples of usage. | ||
-NoMail : Desactivate sendmail on error | -NoMail : Desactivate sendmail on error pmexpdba@gmail.com (by default, send on error). | ||
-AddMail email : Email Address to add at ' | -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 (defaut on). | -O on,off,ostb : Type online (defaut on). | ||
-F file : File of | -F file : File of dump to load (default take the latest). | ||
-DD | -DD date_dump : Date of dump to load (default take the latest). | ||
-RD directory : Directory to find | -RD directory : Directory to find 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 | -Before script : Script to execute before load. | ||
-After script : Script to execute after | -After script : Script to execute after load. | ||
-Type type : Type de | -Type type : Type de load full,inc,stb,fstb (default full). | ||
-ADM Adresse : Email Address to send report. | -ADM Adresse : Email Address to send report. | ||
-Lock : Lock all logins during | -Chk : Check database size before load. | ||
-Lock : Lock all logins during load. | |||
-Kill : Kill connexion on Loaded database. | -Kill : Kill connexion on Loaded database. | ||
-Shut : Run " | -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). | ||
-CrossPlatform : Execute | -CrossPlatform : Execute sp_post_xpload after load. | ||
-Upgrade : Execute | -Upgrade : Execute sp_checkreswords,sp_checksource,dbcc upgrade_object after load. | ||
-Exec : Run | -Exec : Run load $lvsqw_LoadType (default, display generated commands). | ||
</pre> | </pre> | ||
Revision as of 20:28, 16 June 2014
Sourcing sqwsyb_Global.lib v3.1.02 SQWareProduction for Sybase (dbSQWare GPL v3) ...
Usage: sqwsyb_LoadDatabase.ksh [[-h]] -S|-I <dataserver> -DT <DatabaseTarget> [[+ options]]
DESCRIPTION
sqwsyb_LoadDatabase.ksh load $lvsqw_LoadType
SUPPORT
Sybase supported versions: 12.5 <= v <= 15.7
PARAMETERS
-S|-I dataserver : Target dataserver.
-DT DatabaseTarget : Target database.
OPTIONS
-h help : Display the full usage.
-s : Display samples of usage.
-NoMail : Desactivate 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 (defaut on).
-F file : File of dump to load (default take the latest).
-DD date_dump : Date of dump to load (default take the latest).
-RD directory : Directory to find 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.
-Exec : Run load $lvsqw_LoadType (default, display generated commands).