Difference between revisions of "SQWareProduction:mssql:lib:sqwmsq BackupDatabase.lib"

From Wiki_dbSQWare
Jump to: navigation, search
m (Updated by Expdbtools)
 
m (Updated by BatchUser)
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Librairie de fonctions shell $gvsqw_MssBin/../lib/sqwmsq_BackupDatabase.lib:<br>
+
shell functions library $gvsqw_MsqBin/../lib/sqwmsq_BackupDatabase.lib:<br>
lib for sqwmsq_BackupDatabase.ksh
+
{{SQWareProduction_sqwmsq_BackupDatabase.lib_presentation}}
 
<br>
 
<br>
gfsqw_ExecSql ${gvsqw_TmpFile}_$lvsqw_DbName.sql |tee $gvsqw_TmpFile
+
Functions explanation:
gfsqw_ExecSql $gvsqw_TmpFile.purge > $gvsqw_TmpFile.fic
+
<pre>
 +
gfsqw_BeginningCom
 +
gfsqw_ConvertSlashToBackslash $gvsqw_TmpFile.purge
 +
gfsqw_ConvertSlashToBackslash $gvsqw_TmpFile.sql
 +
gfsqw_ConvertSlashToBackslash $gvsqw_TmpFile.trace
 +
gfsqw_ExecSql $gvsqw_TmpFile.sql >$gvsqw_TmpFile
 +
gfsqw_ExecXpCmdShell $gvsqw_TmpFile.purge| sed 's,  *$,,' | tee $gvsqw_TmpFile.fic
 +
gfsqw_ExecXpCmdShell $gvsqw_TmpFile.trace| sed 's,  *$,,' | tee $gvsqw_TmpFile
 +
gfsqw_IsXpCmdShellEnabledGlobal "sqwmsq_BackupDatabase.ksh $gvsqw_InputParameters"
 +
gfsqw_XpCmdShellGlobalDisable
 +
lfsqw_BackupDatabase =>
 +
lfsqw_BackupPath =>
 +
lfsqw_CheckIfFullExists =>
 
lfsqw_CommandFormat
 
lfsqw_CommandFormat
lfsqw_GetShared
+
lfsqw_CommandFormat =>
lfsqw_PurgeHistory
+
lfsqw_InsertMonitoringBackup =>
 +
lfsqw_PurgeDiff =>
 +
lfsqw_PurgeHistory =>
 +
</pre>
 
<br>
 
<br>
{{SQWareProductionSurchargeLib|mssql|Mss|sqwmsq_BackupDatabase.lib}}
+
{{SQWareProductionSurchargeLib|mssql|Msq|sqwmsq_BackupDatabase.lib}}
 
<br>
 
<br>

Latest revision as of 18:20, 24 January 2023

shell functions library $gvsqw_MsqBin/../lib/sqwmsq_BackupDatabase.lib:
lib for sqwmsq_BackupDatabase.ksh
Functions explanation:

gfsqw_BeginningCom
gfsqw_ConvertSlashToBackslash $gvsqw_TmpFile.purge
gfsqw_ConvertSlashToBackslash $gvsqw_TmpFile.sql
gfsqw_ConvertSlashToBackslash $gvsqw_TmpFile.trace
gfsqw_ExecSql $gvsqw_TmpFile.sql >$gvsqw_TmpFile
gfsqw_ExecXpCmdShell $gvsqw_TmpFile.purge| sed 's,  *$,,' | tee $gvsqw_TmpFile.fic
gfsqw_ExecXpCmdShell $gvsqw_TmpFile.trace| sed 's,  *$,,' | tee $gvsqw_TmpFile
gfsqw_IsXpCmdShellEnabledGlobal "sqwmsq_BackupDatabase.ksh $gvsqw_InputParameters"
gfsqw_XpCmdShellGlobalDisable
lfsqw_BackupDatabase => 
lfsqw_BackupPath => 
lfsqw_CheckIfFullExists => 
lfsqw_CommandFormat
lfsqw_CommandFormat => 
lfsqw_InsertMonitoringBackup => 
lfsqw_PurgeDiff => 
lfsqw_PurgeHistory => 


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

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