Difference between revisions of "SQWareProduction:mssql:lib:sqwmsq BackupDatabase.lib"
m (Updated by BatchUser) |
m (Updated by BatchUser) |
||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | shell functions library $ | + | shell functions library $gvsqw_MsqBin/../lib/sqwmsq_BackupDatabase.lib:<br> |
{{SQWareProduction_sqwmsq_BackupDatabase.lib_presentation}} | {{SQWareProduction_sqwmsq_BackupDatabase.lib_presentation}} | ||
<br> | <br> | ||
Functions explanation: | Functions explanation: | ||
<pre> | <pre> | ||
− | + | gfsqw_BeginningCom | |
+ | gfsqw_ConvertSlashToBackslash $gvsqw_TmpFile.purge | ||
gfsqw_ConvertSlashToBackslash $gvsqw_TmpFile.sql | gfsqw_ConvertSlashToBackslash $gvsqw_TmpFile.sql | ||
− | + | gfsqw_ConvertSlashToBackslash $gvsqw_TmpFile.trace | |
− | gfsqw_ExecXpCmdShell | + | 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_BackupPath => | ||
+ | lfsqw_CheckIfFullExists => | ||
+ | lfsqw_CommandFormat | ||
lfsqw_CommandFormat => | lfsqw_CommandFormat => | ||
lfsqw_InsertMonitoringBackup => | lfsqw_InsertMonitoringBackup => | ||
+ | lfsqw_PurgeDiff => | ||
lfsqw_PurgeHistory => | lfsqw_PurgeHistory => | ||
</pre> | </pre> | ||
<br> | <br> | ||
− | {{SQWareProductionSurchargeLib|mssql| | + | {{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 =>