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)
 
(One intermediate revision by the same user not shown)
Line 5: Line 5:
 
<pre>
 
<pre>
 
gfsqw_BeginningCom
 
gfsqw_BeginningCom
lfsqw_BackupArchives =>
 
 
lfsqw_BackupDatas =>  
 
lfsqw_BackupDatas =>  
 
lfsqw_BackupDatas "$lvsqw_DataDirectory" "data_dir"
 
lfsqw_BackupDatas "$lvsqw_DataDirectory" "data_dir"
Line 12: Line 11:
 
lfsqw_CommandFormat =>  
 
lfsqw_CommandFormat =>  
 
lfsqw_ExecBackup =>  
 
lfsqw_ExecBackup =>  
 +
lfsqw_ExecBackupConfFile =>
 +
lfsqw_ExecBackupConfFile "$lvsqw_ConfigFile"
 +
lfsqw_ExecBackupConfFile "$lvsqw_HbaFile"
 +
lfsqw_ExecBackupConfFile "$lvsqw_IdentFile"
 
lfsqw_ExecSyncBgScript =>  
 
lfsqw_ExecSyncBgScript =>  
 
lfsqw_GenerateStartStopBackupScript =>  
 
lfsqw_GenerateStartStopBackupScript =>  

Latest revision as of 19:11, 2 June 2024

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

gfsqw_BeginningCom
lfsqw_BackupDatas => 
lfsqw_BackupDatas "$lvsqw_DataDirectory" "data_dir"
lfsqw_BckTool='PITR'
lfsqw_CommandFormat
lfsqw_CommandFormat => 
lfsqw_ExecBackup => 
lfsqw_ExecBackupConfFile => 
lfsqw_ExecBackupConfFile "$lvsqw_ConfigFile"
lfsqw_ExecBackupConfFile "$lvsqw_HbaFile"
lfsqw_ExecBackupConfFile "$lvsqw_IdentFile"
lfsqw_ExecSyncBgScript => 
lfsqw_GenerateStartStopBackupScript => 
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 .