SQWareProduction:mysql:lib:sqwmys DumpDatabase.lib
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}' =>