Difference between revisions of "SQWareProduction:mysql:lib:sqwmys RestoreDatabase.lib"
m (Updated by BatchUser) |
m (Updated by BatchUser) |
||
(One intermediate revision by the same user not shown) | |||
Line 10: | Line 10: | ||
lfsqw_SearchDumpFile | lfsqw_SearchDumpFile | ||
lfsqw_SearchDumpFile => | lfsqw_SearchDumpFile => | ||
+ | lfsqw_SendCmdRestore => | ||
+ | lfsqw_SendCmdRestore | mysql $gvsqw_ConnectString $lvsqw_OptionsMySQL $lvsqw_Options --force -D ${lvsqw_DatabaseTarget} 2>&1|tr -d '\r' | ||
+ | lfsqw_Summary | ||
+ | lfsqw_Summary => | ||
</pre> | </pre> | ||
<br> | <br> | ||
{{SQWareProductionSurchargeLib|mysql|Mys|sqwmys_RestoreDatabase.lib}} | {{SQWareProductionSurchargeLib|mysql|Mys|sqwmys_RestoreDatabase.lib}} | ||
<br> | <br> |
Latest revision as of 17:32, 15 September 2024
shell functions library $gvsqw_MysBin/../lib/sqwmys_RestoreDatabase.lib:
lib for sqwmys_RestoreDatabase.ksh
Functions explanation:
lfsqw_ExecMySQL => lfsqw_ExecMySQL 2>&1 |tee $gvsqw_TmpFile lfsqw_ExecRestoreDatabase => lfsqw_RestoreDatabase => lfsqw_SearchDumpFile lfsqw_SearchDumpFile => lfsqw_SendCmdRestore => lfsqw_SendCmdRestore | mysql $gvsqw_ConnectString $lvsqw_OptionsMySQL $lvsqw_Options --force -D ${lvsqw_DatabaseTarget} 2>&1|tr -d '\r' lfsqw_Summary lfsqw_Summary =>