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 14: Line 14:
 
lfsqw_ListBck
 
lfsqw_ListBck
 
lfsqw_ListBck =>  
 
lfsqw_ListBck =>  
 +
lfsqw_RemoveWarningFromLog =>
 
lfsqw_RestoreDatabase =>  
 
lfsqw_RestoreDatabase =>  
 
lfsqw_RsyncOrphans =>  
 
lfsqw_RsyncOrphans =>  

Revision as of 19:10, 30 November 2015

shell functions library $gvsqw_MsqBin/../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_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 .