Template:SQWareProduction sqwmys RestoreAllDatabases.ksh help

From Wiki_dbSQWare
Revision as of 18:54, 23 February 2018 by BatchUser (talk | contribs) (Updated by BatchUser)
Jump to: navigation, search
Sourcing sqwmys_Global.lib v4.0.03 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)