Difference between revisions of "SQWareProduction:mssql:lib:sqwmsq RestoreDatabase.lib"
m (Updated by BatchUser) |
m (Updated by BatchUser) |
||
Line 7: | Line 7: | ||
gfsqw_ExecSql $gvsqw_TmpFile.sql | gfsqw_ExecSql $gvsqw_TmpFile.sql | ||
gfsqw_ExecXpCmdShell $gvsqw_TmpFile| sed 's, *$,,' | tee $gvsqw_TmpFile.fic | 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 |
Revision as of 18:40, 20 July 2020
shell functions library $gvsqw_MsqBin/../lib/sqwmsq_RestoreDatabase.lib:
lib for sqwmsq_RestoreDatabase.ksh
Functions explanation:
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 =>