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

From Wiki_dbSQWare
Jump to: navigation, search
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 => 


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

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