Difference between revisions of "SQWareProduction:postgres:lib:sqwpg BackupPitr.lib"

From Wiki_dbSQWare
Jump to: navigation, search
m (Updated by BatchUser)
m (Updated by BatchUser)
Line 4: Line 4:
 
Functions explanation:
 
Functions explanation:
 
<pre>
 
<pre>
 +
gfsqw_BeginningCom
 
lfsqw_BackupArchives =>  
 
lfsqw_BackupArchives =>  
 
lfsqw_BackupDatas =>  
 
lfsqw_BackupDatas =>  
Line 18: Line 19:
 
lfsqw_InsertMonitoringPitr =>  
 
lfsqw_InsertMonitoringPitr =>  
 
lfsqw_PitrCluster =>  
 
lfsqw_PitrCluster =>  
 +
lfsqw_PurgeHisto
 
lfsqw_PurgeHisto =>  
 
lfsqw_PurgeHisto =>  
 
lfsqw_SearchArchives
 
lfsqw_SearchArchives
Line 25: Line 27:
 
lfsqw_StopBackup =>  
 
lfsqw_StopBackup =>  
 
lfsqw_StopBackup 2>&1 > ${gvsqw_TmpFile}
 
lfsqw_StopBackup 2>&1 > ${gvsqw_TmpFile}
 +
lfsqw_Summary
 +
lfsqw_Summary =>
 
</pre>
 
</pre>
 
<br>
 
<br>
 
{{SQWareProductionSurchargeLib|postgres|Pg|sqwpg_BackupPitr.lib}}
 
{{SQWareProductionSurchargeLib|postgres|Pg|sqwpg_BackupPitr.lib}}
 
<br>
 
<br>

Revision as of 18:21, 24 January 2023

shell functions library $gvsqw_PgBin/../lib/sqwpg_BackupPitr.lib:
lib for sqwpg_BackupPitr.ksh
Functions explanation:

gfsqw_BeginningCom
lfsqw_BackupArchives => 
lfsqw_BackupDatas => 
lfsqw_BackupDatas "$lvsqw_DataDirectory" "data_dir"
lfsqw_BckTool='PITR'
lfsqw_CommandFormat
lfsqw_CommandFormat => 
lfsqw_ExecBackup => 
lfsqw_GetConf => 
lfsqw_GetConf 2>&1 > ${gvsqw_TmpFile}
lfsqw_GlobalBckDir=$gvsqw_RootPitr
lfsqw_InsertMonitoringBackupDirectory
lfsqw_InsertMonitoringBackupDirectory => 
lfsqw_InsertMonitoringPitr => 
lfsqw_PitrCluster => 
lfsqw_PurgeHisto
lfsqw_PurgeHisto => 
lfsqw_SearchArchives
lfsqw_SearchArchives => 
lfsqw_StartBackup => 
lfsqw_StartBackup 2>&1 > ${gvsqw_TmpFile}
lfsqw_StopBackup => 
lfsqw_StopBackup 2>&1 > ${gvsqw_TmpFile}
lfsqw_Summary
lfsqw_Summary => 


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

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