Difference between revisions of "SQWareProduction:mssql:lib:sqwmsq RestoreDatabase.lib"
m (Updated by Expdbtools) |
m (Updated by BatchUser) |
||
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | shell functions | + | shell functions library $gvsqw_MsqBin/../lib/sqwmsq_RestoreDatabase.lib:<br> |
{{SQWareProduction_sqwmsq_RestoreDatabase.lib_presentation}} | {{SQWareProduction_sqwmsq_RestoreDatabase.lib_presentation}} | ||
<br> | <br> | ||
Functions explanation: | Functions explanation: | ||
<pre> | <pre> | ||
− | + | gfsqw_BeginningCom | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
gfsqw_ConvertSlashToBackslash $gvsqw_TmpFile | gfsqw_ConvertSlashToBackslash $gvsqw_TmpFile | ||
− | |||
− | |||
gfsqw_ExecSql $gvsqw_TmpFile.sql | gfsqw_ExecSql $gvsqw_TmpFile.sql | ||
− | + | gfsqw_ExecXpCmdShell $gvsqw_TmpFile| sed 's, *$,,' | tee $gvsqw_TmpFile.fic | |
− | + | gfsqw_IsXpCmdShellEnabledGlobal "sqwmsq_RestoreDatabase.ksh $gvsqw_InputParameters" | |
− | + | gfsqw_XpCmdShellGlobalDisable | |
− | |||
lfsqw_BackupPath => | lfsqw_BackupPath => | ||
+ | lfsqw_GenerateMove | ||
+ | lfsqw_GenerateMove => | ||
lfsqw_GenerateSql => | lfsqw_GenerateSql => | ||
+ | lfsqw_ListBck | ||
lfsqw_ListBck => | lfsqw_ListBck => | ||
+ | lfsqw_RemoveWarningFromLog => | ||
+ | lfsqw_RestoreDatabase => | ||
lfsqw_RsyncOrphans => | lfsqw_RsyncOrphans => | ||
− | + | lfsqw_Summary | |
+ | lfsqw_Summary => | ||
</pre> | </pre> | ||
<br> | <br> | ||
− | {{SQWareProductionSurchargeLib|mssql| | + | {{SQWareProductionSurchargeLib|mssql|Msq|sqwmsq_RestoreDatabase.lib}} |
<br> | <br> |
Latest revision as of 18:21, 24 January 2023
shell functions library $gvsqw_MsqBin/../lib/sqwmsq_RestoreDatabase.lib:
lib for sqwmsq_RestoreDatabase.ksh
Functions explanation:
gfsqw_BeginningCom gfsqw_ConvertSlashToBackslash $gvsqw_TmpFile gfsqw_ExecSql $gvsqw_TmpFile.sql gfsqw_ExecXpCmdShell $gvsqw_TmpFile| sed 's, *$,,' | tee $gvsqw_TmpFile.fic gfsqw_IsXpCmdShellEnabledGlobal "sqwmsq_RestoreDatabase.ksh $gvsqw_InputParameters" gfsqw_XpCmdShellGlobalDisable lfsqw_BackupPath => lfsqw_GenerateMove lfsqw_GenerateMove => lfsqw_GenerateSql => lfsqw_ListBck lfsqw_ListBck => lfsqw_RemoveWarningFromLog => lfsqw_RestoreDatabase => lfsqw_RsyncOrphans => lfsqw_Summary lfsqw_Summary =>