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 7: Line 7:
 
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 =>  
Line 12: Line 13:
 
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 =>  

Revision as of 15:49, 23 December 2016

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

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_SearchArchives
lfsqw_SearchArchives => 
lfsqw_StartBackup => 
lfsqw_StartBackup 2>&1 > ${gvsqw_TmpFile}
lfsqw_StopBackup => 
lfsqw_StopBackup 2>&1 > ${gvsqw_TmpFile}


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 .