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 v3.1. | + | Sourcing sqwmys_Global.lib v3.1.12 SQWareProduction for MySQL (dbSQWare GPL v3) ... |
Usage: sqwmys_RestoreAllDatabases.ksh [-h] -I instance [+ options] | Usage: sqwmys_RestoreAllDatabases.ksh [-h] -I instance [+ options] | ||
Line 17: | Line 17: | ||
-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 dump file (default $ | + | -RD directory : Directory to find dump file (default $HOME/mys_dump/$MYSQL_SID). |
-WCD whereclause : Where clause to generate databases list. | -WCD whereclause : Where clause to generate databases list. | ||
-AGR Nb sec : Nb of seconds between two run (by default 1s). | -AGR Nb sec : Nb of seconds between two run (by default 1s). |
Revision as of 14:52, 8 March 2017
Sourcing sqwmys_Global.lib v3.1.12 SQWareProduction for MySQL (dbSQWare GPL v3) ... Usage: sqwmys_RestoreAllDatabases.ksh [-h] -I instance [+ options] DESCRIPTION sqwmys_RestoreAllDatabases.ksh restore all databases in // SUPPORT MySql supported versions: 5.0 <= v <= 5.6 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. -NoMail : Desactivate sendmail on error pmexpdba@gmail.com (by default, send on error). -NoDrop : No drop database before load. -Verbose : Add -vv option to mysql cmd when restore. -NoCreate : No create database before load. -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)