SQWareProduction:mysql:lib:sqwmys DumpDatabase.lib

From Wiki_dbSQWare
Revision as of 23:26, 15 December 2010 by Exploit (talk | contribs) (Updated by Expdbtools)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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

echo "\nDump file: $lfsqw_DumpFile"
	gfsqw_EndMailError 12 "Failed to mkdir $gvsqw_RootDump !"
	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 .