Difference between revisions of "SQWareProduction:postgres:lib:sqwpg BackupPitr.lib"
m (Updated by BatchUser) |
m (Updated by BatchUser) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
<pre> | <pre> | ||
gfsqw_BeginningCom | gfsqw_BeginningCom | ||
− | |||
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_GenerateStartStopBackupScript => | ||
lfsqw_GetConf => | lfsqw_GetConf => | ||
lfsqw_GetConf 2>&1 > ${gvsqw_TmpFile} | lfsqw_GetConf 2>&1 > ${gvsqw_TmpFile} |
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 =>