Difference between revisions of "SQWareProduction:postgres:lib:sqwpg BackupPitr.lib"
m (Updated by BatchUser) |
m (Updated by BatchUser) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
Functions explanation: | Functions explanation: | ||
<pre> | <pre> | ||
− | + | gfsqw_BeginningCom | |
lfsqw_BackupDatas => | lfsqw_BackupDatas => | ||
lfsqw_BackupDatas "$lvsqw_DataDirectory" "data_dir" | lfsqw_BackupDatas "$lvsqw_DataDirectory" "data_dir" | ||
+ | lfsqw_BckTool='PITR' | ||
lfsqw_CommandFormat | lfsqw_CommandFormat | ||
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} | ||
+ | lfsqw_GlobalBckDir=$gvsqw_RootPitr | ||
+ | lfsqw_InsertMonitoringBackupDirectory | ||
+ | lfsqw_InsertMonitoringBackupDirectory => | ||
lfsqw_InsertMonitoringPitr => | lfsqw_InsertMonitoringPitr => | ||
lfsqw_PitrCluster => | lfsqw_PitrCluster => | ||
+ | lfsqw_PurgeHisto | ||
lfsqw_PurgeHisto => | lfsqw_PurgeHisto => | ||
lfsqw_SearchArchives | lfsqw_SearchArchives | ||
Line 21: | Line 32: | ||
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> |
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 =>