SQWareProduction:mysql:lib:sqwmys DumpDatabase.lib

From Wiki_dbSQWare
Revision as of 21:30, 24 May 2011 by BatchUser (talk | contribs) (Updated by BatchUser)
Jump to: navigation, search

shell functions library $gvsqw_MysBin/../lib/sqwmys_DumpDatabase.lib:
lib for sqwmys_DumpDatabase.ksh
Functions explanation:

echo "\nDump file: $lfsqw_DumpFile"
	gfsqw_InsertIndicatorsSql
lfsqw_CommandFormat => 
lfsqw_DumpFile="$gvsqw_RootDump/${lvsqw_DbName}_${lvsqw_DumpDate}.dump.gz"
lfsqw_InsertMonitoringDump => 
	lfsqw_SqlOpt=""
		lfsqw_SqlOpt="$gvsqw_ConsistentInnoDb"
		lfsqw_SqlOpt="$gvsqw_ConsistentOthers"
ls -al $lfsqw_DumpFile
lvsqw_DumpSize=$du -sk $lfsqw_DumpFile|awk '{print $1}' => 


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

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