Modèle:SQWareProduction sqwmys RestoreDatabase.ksh help : Différence entre versions
m (Updated by BatchUser) |
m (Updated by BatchUser) |
||
Ligne 1 : | Ligne 1 : | ||
<pre> | <pre> | ||
− | Sourcing sqwmys_Global.lib | + | Sourcing sqwmys_Global.lib v2020.01 SQWareProduction for MySQL (dbSQWare) ... |
Utilisation: sqwmys_RestoreDatabase.ksh [[-h]] -I instance -DT <DatabaseTarget> [[+ options]] | Utilisation: sqwmys_RestoreDatabase.ksh [[-h]] -I instance -DT <DatabaseTarget> [[+ options]] | ||
Ligne 7 : | Ligne 7 : | ||
sqwmys_RestoreDatabase.ksh restore $lvsqw_CopyType | sqwmys_RestoreDatabase.ksh restore $lvsqw_CopyType | ||
SUPPORT | SUPPORT | ||
− | MySql versions supportees: 5.0 <= v <= | + | MySql versions supportees: 5.0 <= v <= 8 |
MariaDB versions supportees: 5.5 <= v <= 11.3 | MariaDB versions supportees: 5.5 <= v <= 11.3 | ||
Ligne 16 : | Ligne 16 : | ||
-h help : Affichage de l'aide complete. | -h help : Affichage de l'aide complete. | ||
-s : Affichage des exemples d'utilisation. | -s : Affichage des exemples d'utilisation. | ||
− | -F file : | + | -F file : Dump file to restore (defaut take the latest). |
-DS DatabaseSource : Source database (par defaut same than -DT). | -DS DatabaseSource : Source database (par defaut same than -DT). | ||
− | -DD date_dump : | + | -DD date_dump : Dump date to restore (defaut take the latest). |
− | -RD directory : Directory | + | -RD directory : Directory holding dump file (defaut $HOME/mys_dump/$MYSQL_SID). |
-Drop : Drop database before load (by default, Enable). | -Drop : Drop database before load (by default, Enable). | ||
-NoMail : Desactive l'envoi de mail sur erreur a pmexpdba@gmail.com (par defaut, envoi sur erreur). | -NoMail : Desactive l'envoi de mail sur erreur a pmexpdba@gmail.com (par defaut, envoi sur erreur). | ||
− | -NoDrop : | + | -NoDrop : Do not drop database before load (by default, Enable). |
-Create : Create database before load with instance default character set (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. |
Version du 8 mars 2020 à 18:31
Sourcing sqwmys_Global.lib v2020.01 SQWareProduction for MySQL (dbSQWare) ... Utilisation: sqwmys_RestoreDatabase.ksh [[-h]] -I instance -DT <DatabaseTarget> [[+ options]] DESCRIPTION sqwmys_RestoreDatabase.ksh restore $lvsqw_CopyType SUPPORT MySql versions supportees: 5.0 <= v <= 8 MariaDB versions supportees: 5.5 <= v <= 11.3 PARAMETERS -I instance : Instance cible pour restore. -DT DatabaseTarget : Target database. OPTIONS -h help : Affichage de l'aide complete. -s : Affichage des exemples d'utilisation. -F file : Dump file to restore (defaut take the latest). -DS DatabaseSource : Source database (par defaut same than -DT). -DD date_dump : Dump date to restore (defaut take the latest). -RD directory : Directory holding dump file (defaut $HOME/mys_dump/$MYSQL_SID). -Drop : Drop database before load (by default, Enable). -NoMail : Desactive l'envoi de mail sur erreur a pmexpdba@gmail.com (par defaut, envoi sur erreur). -NoDrop : Do not 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 : Adresse Email a ajouter a 'pmexpdba@gmail.com'. -SendReport : Envoi du rapport d'execution. -Locale locale : Force la Locale d'affichage de l'aide (fr,en). -Exec : Copy files $lvsqw_CopyType (default, display generated commands).