Difference between revisions of "SQWareProduction:mysql:lib:sqwmys RestoreDatabase.lib"

From Wiki_dbSQWare
Jump to: navigation, search
m (Updated by BatchUser)
m (Updated by BatchUser)
 
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
 
lfsqw_Summary =>  
 
lfsqw_Summary =>  

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 => 


Nuvola apps information.png
Note:
You can overload functions contained in $gvsqw_MysBin/../lib/sqwmys_RestoreDatabase.lib

by function with same name in $gvsqw_MysBin/../lib_cust/sqwmys_RestoreDatabase.lib for all your environnement
or by $HOME/sqwConfig/sqwmys_RestoreDatabase.lib specifically for this user .