Difference between revisions of "Template:SQWareProduction sqwmys RestoreAllDatabases.ksh help"
m (Updated by BatchUser) |
m (Updated by BatchUser) |
||
Line 1: | Line 1: | ||
<pre> | <pre> | ||
− | Sourcing sqwmys_Global.lib v4.0. | + | Sourcing sqwmys_Global.lib v4.0.04 SQWareProduction for MySQL (dbSQWare) ... |
Usage: sqwmys_RestoreAllDatabases.ksh [-h] -I instance [+ options] | Usage: sqwmys_RestoreAllDatabases.ksh [-h] -I instance [+ options] | ||
Line 7: | Line 7: | ||
sqwmys_RestoreAllDatabases.ksh restore all databases in // | sqwmys_RestoreAllDatabases.ksh restore all databases in // | ||
SUPPORT | SUPPORT | ||
− | MySql supported versions: 5.0 <= v <= 5. | + | MySql supported versions: 5.0 <= v <= 5.7 |
PARAMETERS | PARAMETERS | ||
Line 22: | Line 22: | ||
-AGE Nb sec : Nb of seconds between two check of end (by default 10s). | -AGE Nb sec : Nb of seconds between two check of end (by default 10s). | ||
-FRT return_code : Force return code value on error. | -FRT return_code : Force return code value on error. | ||
+ | -Drop : Drop database before load (by default, Enable). | ||
-NoMail : Desactivate sendmail on error pmexpdba@gmail.com (by default, send on error). | -NoMail : Desactivate sendmail on error pmexpdba@gmail.com (by default, send on error). | ||
− | -NoDrop : No drop database before load. | + | -NoDrop : No drop database before load (by default, Enable). |
+ | -Create : Create database before load with instance default character set (by default, Enable). | ||
-Verbose : Add -vv option to mysql cmd when restore. | -Verbose : Add -vv option to mysql cmd when restore. | ||
− | -NoCreate : No create database before load. | + | -NoCreate : No create database before load (by default, Enable). |
-AddMail email : Email Address to add at 'pmexpdba@gmail.com'. | -AddMail email : Email Address to add at 'pmexpdba@gmail.com'. | ||
-SendReport : Send execution log report. | -SendReport : Send execution log report. |
Revision as of 17:58, 25 March 2018
Sourcing sqwmys_Global.lib v4.0.04 SQWareProduction for MySQL (dbSQWare) ... Usage: sqwmys_RestoreAllDatabases.ksh [-h] -I instance [+ options] DESCRIPTION sqwmys_RestoreAllDatabases.ksh restore all databases in // SUPPORT MySql supported versions: 5.0 <= v <= 5.7 PARAMETERS -I instance : Target instance for restore. OPTIONS -P Nb threads : Number of threads in parallel (by default 2). -ID listdb : Databases list for running restore (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 $HOME/mys_dump/$MYSQL_SID). -WCD whereclause : Where clause to generate databases list. -AGR Nb sec : Nb of seconds between two run (by default 1s). -AGE Nb sec : Nb of seconds between two check of end (by default 10s). -FRT return_code : Force return code value on error. -Drop : Drop database before load (by default, Enable). -NoMail : Desactivate sendmail on error pmexpdba@gmail.com (by default, send on error). -NoDrop : No drop database before load (by default, Enable). -Create : Create database before load with instance default character set (by default, Enable). -Verbose : Add -vv option to mysql cmd when restore. -NoCreate : No create database before load (by default, Enable). -AddMail email : Email Address to add at 'pmexpdba@gmail.com'. -SendReport : Send execution log report. -h help : Display the full usage. -s : Display samples of usage. -Exec : Execute commands (default, display generated commands)