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 | + | Sourcing sqwmys_Global.lib v4.0.01 SQWareProduction for MySQL (dbSQWare) ... |
Usage: sqwmys_RestoreAllDatabases.ksh [-h] -I instance [+ options] | Usage: sqwmys_RestoreAllDatabases.ksh [-h] -I instance [+ options] |
Revision as of 18:35, 22 December 2017
Sourcing sqwmys_Global.lib v4.0.01 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.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)