Difference between revisions of "SQWareProduction:mssql:lib:sqwmsq RestoreDatabase.lib"
m (Updated by BatchUser) |
m (Updated by BatchUser) |
||
Line 7: | Line 7: | ||
gfsqw_ConvertSlashToBackslash $gvsqw_TmpFile | gfsqw_ConvertSlashToBackslash $gvsqw_TmpFile | ||
gfsqw_ExecSql $gvsqw_TmpFile.sql | gfsqw_ExecSql $gvsqw_TmpFile.sql | ||
− | gfsqw_ExecXpCmdShell $gvsqw_TmpFile | + | gfsqw_ExecXpCmdShell $gvsqw_TmpFile| sed 's, *$,,' | tee $gvsqw_TmpFile.fic |
lfsqw_BackupPath => | lfsqw_BackupPath => | ||
lfsqw_GenerateSql => | lfsqw_GenerateSql => | ||
+ | lfsqw_ListBck | ||
lfsqw_ListBck => | lfsqw_ListBck => | ||
+ | lfsqw_RestoreDatabase => | ||
lfsqw_RsyncOrphans => | lfsqw_RsyncOrphans => | ||
</pre> | </pre> |
Revision as of 17:33, 5 April 2014
shell functions library $gvsqw_MssBin/../lib/sqwmsq_RestoreDatabase.lib:
lib for sqwmsq_RestoreDatabase.ksh
Functions explanation:
gfsqw_ConvertBackslashToSlash $lvsqw_BackupPath|read lvsqw_BackupPath gfsqw_ConvertSlashToBackslash $gvsqw_TmpFile gfsqw_ExecSql $gvsqw_TmpFile.sql gfsqw_ExecXpCmdShell $gvsqw_TmpFile| sed 's, *$,,' | tee $gvsqw_TmpFile.fic lfsqw_BackupPath => lfsqw_GenerateSql => lfsqw_ListBck lfsqw_ListBck => lfsqw_RestoreDatabase => lfsqw_RsyncOrphans =>