Template:SQWareProduction sqwsyb LoadAllDatabases.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_LoadAllDatabases.ksh [-h] -S|-I <dataserver> [+ options] | Usage: sqwsyb_LoadAllDatabases.ksh [-h] -S|-I <dataserver> [+ options] | ||
DESCRIPTION | DESCRIPTION | ||
sqwsyb_LoadAllDatabases.ksh | sqwsyb_LoadAllDatabases.ksh load all databases in // | ||
SUPPORT | SUPPORT | ||
Sybase supported versions: 12.5 <= v <= 15.7 | Sybase supported versions: 12.5 <= v <= 15.7 | ||
| Line 18: | Line 18: | ||
-IL likeclause : Like clause to generate databases list (example: 'db%'). | -IL likeclause : Like clause to generate databases list (example: 'db%'). | ||
-EL likeclause : Like clause to exclude databases (example: 'nodb%'). | -EL likeclause : Like clause to exclude databases (example: 'nodb%'). | ||
-RD directory : Directory to find | -RD directory : Directory to find dump file (default /$(echo ${HOME}|cut -d/ -f2)/syb_dump/$DSQUERY). | ||
-WCD whereclause : Where clause to generate databases list. | -WCD whereclause : Where clause to generate databases list. | ||
-ADM Adresse : Email Address to send report. | -ADM Adresse : Email Address to send report. | ||
-FRT return_code : Force return code value on error. | -FRT return_code : Force return code value on error. | ||
-AGR Nb sec : Nb of seconds between two run (by default 10s). | -AGR Nb sec : Nb of seconds between two run (by default 10s). | ||
-AGE Nb sec : Nb of seconds between two | -AGE Nb sec : Nb of seconds between two check of end (by default 10s). | ||
-Type type : Dump type full,inc,stb,fstb (defaut full). | -Type type : Dump type full,inc,stb,fstb (defaut full). | ||
-Lock : Lock all logins during | -Lock : Lock all logins during load. | ||
-Kill : Kill connexion on | -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). | ||
-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. | ||
-CrossPlatform : Execute | -CrossPlatform : Execute sp_post_xpload after load. | ||
-Upgrade : Execute | -Upgrade : Execute sp_checkreswords,sp_checksource,dbcc upgrade_object after load. | ||
-h help : Display the full usage. | -h help : Display the full usage. | ||
-s : Display samples of usage. | -s : Display samples of usage. | ||
Revision as of 20:28, 16 June 2014
Sourcing sqwsyb_Global.lib v3.1.02 SQWareProduction for Sybase (dbSQWare GPL v3) ...
Usage: sqwsyb_LoadAllDatabases.ksh [-h] -S|-I <dataserver> [+ options]
DESCRIPTION
sqwsyb_LoadAllDatabases.ksh load all databases in //
SUPPORT
Sybase supported versions: 12.5 <= v <= 15.7
PARAMETERS
-S|-I dataserver : Target dataserver.
OPTIONS
-P Nb threads : Number of threads in parallel (by default 2).
-O on,off,ostb : Type online (defaut on).
-ID listdb : Databases list for running analyze tables (by default all).
-ED listdb : Databases list to exclude.
-IL likeclause : Like clause to generate databases list (example: 'db%').
-EL likeclause : Like clause to exclude databases (example: 'nodb%').
-RD directory : Directory to find dump file (default /$(echo ${HOME}|cut -d/ -f2)/syb_dump/$DSQUERY).
-WCD whereclause : Where clause to generate databases list.
-ADM Adresse : Email Address to send report.
-FRT return_code : Force return code value on error.
-AGR Nb sec : Nb of seconds between two run (by default 10s).
-AGE Nb sec : Nb of seconds between two check of end (by default 10s).
-Type type : Dump type full,inc,stb,fstb (defaut full).
-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).
-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.
-CrossPlatform : Execute sp_post_xpload after load.
-Upgrade : Execute sp_checkreswords,sp_checksource,dbcc upgrade_object after load.
-h help : Display the full usage.
-s : Display samples of usage.
-Exec : Execute commands (default, display generated commands)