Template:SQWareProduction sqwsyb LoadAllDatabases.ksh help: Difference between revisions
Jump to navigation
Jump to search
m Updated by BatchUser |
No edit summary |
||
(54 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<pre> | <pre> | ||
Sourcing sqwsyb_Global.lib | Sourcing sqwsyb_Global.lib v2025.06 SQWareProduction for Sybase (dbSQWare) ... | ||
Usage: sqwsyb_LoadAllDatabases.ksh [-h] | Usage: sqwsyb_LoadAllDatabases.ksh [-h] -I <dataserver> [+ options] | ||
DESCRIPTION | DESCRIPTION | ||
sqwsyb_LoadAllDatabases.ksh load all databases in | sqwsyb_LoadAllDatabases.ksh load all databases in parallel | ||
SUPPORT | SUPPORT | ||
Sybase supported versions: 12.5 <= v <= | Sybase supported versions: 12.5 <= v <= 16.0 | ||
PARAMETERS | PARAMETERS | ||
-I dataserver : Target dataserver. | |||
OPTIONS | OPTIONS | ||
-P | -P Nb threads : Number of threads in parallel (by default 2). | ||
-O on,off,ostb : Type online ( | -O on,off,ostb : Type online (by default on). | ||
-ID listdb : | -ID listdb : List of databases to run load (by default all). | ||
-ED listdb : | -ED listdb : List of databases to exclude. | ||
-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 | -RD directory : Directory holding dump file (by 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. | ||
-FRT code : Force return code value on error. | |||
-FRT | -AGR Nb_sec : Nb of seconds between two runs (by default 10s). | ||
-AGR | -AGE Nb_sec : Nb of seconds between two checks of end (by default 30s). | ||
-AGE | -Type type : Dump type full,inc,stb,fstb (by default full). | ||
-Type type : Dump type full,inc,stb,fstb ( | |||
-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). | ||
-NoMail : | -LtmIgnore : Execute 'dbcc settrunc (ltm,ignore)' after load. | ||
-AddMail email | -NoMail : Deactivate sendmail on error demo-sqwarebox@dbsqware.com (by default, send on error). | ||
-AddMail email : Email address to add at 'demo-sqwarebox@dbsqware.com'. | |||
-SendReport : Send execution log report. | -SendReport : Send execution log report. | ||
-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. | ||
-h | -h : Display the full usage. | ||
-s : Display samples of usage. | -s : Display samples of usage. | ||
-Exec : Execute commands (default, display generated commands) | -Locale locale : Force Locale for help display (fr,en). | ||
-Exec : Execute commands (by default, display generated commands). | |||
</pre> | </pre> |
Revision as of 18:53, 1 July 2025
Sourcing sqwsyb_Global.lib v2025.06 SQWareProduction for Sybase (dbSQWare) ... Usage: sqwsyb_LoadAllDatabases.ksh [-h] -I <dataserver> [+ options] DESCRIPTION sqwsyb_LoadAllDatabases.ksh load all databases in parallel SUPPORT Sybase supported versions: 12.5 <= v <= 16.0 PARAMETERS -I dataserver : Target dataserver. OPTIONS -P Nb threads : Number of threads in parallel (by default 2). -O on,off,ostb : Type online (by default on). -ID listdb : List of databases to run load (by default all). -ED listdb : List of databases to exclude. -IL likeclause : Like clause to generate databases list (example: 'db%'). -EL likeclause : Like clause to exclude databases (example: 'nodb%'). -RD directory : Directory holding dump file (by default /$(echo ${HOME}|cut -d/ -f2)/syb_dump/$DSQUERY). -WCD whereclause : Where clause to generate databases list. -FRT code : Force return code value on error. -AGR Nb_sec : Nb of seconds between two runs (by default 10s). -AGE Nb_sec : Nb of seconds between two checks of end (by default 30s). -Type type : Dump type full,inc,stb,fstb (by default 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 (by default no). -LtmIgnore : Execute 'dbcc settrunc (ltm,ignore)' after load. -NoMail : Deactivate sendmail on error demo-sqwarebox@dbsqware.com (by default, send on error). -AddMail email : Email address to add at 'demo-sqwarebox@dbsqware.com'. -SendReport : Send execution log report. -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. -h : Display the full usage. -s : Display samples of usage. -Locale locale : Force Locale for help display (fr,en). -Exec : Execute commands (by default, display generated commands).