Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
postgresql_barman_configuration [2025/05/09 19:30] andonovjpostgresql_barman_configuration [2025/05/11 18:12] (current) – [Backup to OCI] andonovj
Line 582: Line 582:
 case ${environment} in case ${environment} in
     "dev")     "dev")
-        REPLICA_HOST=postgres-dev-mel-001.mel.adi.netsuite.com+        
     ;;     ;;
     "stg")     "stg")
-        REPLICA_HOST=postgres-stg-mel-001.mel.adi.netsuite.com+        
     ;;     ;;
     "prod")     "prod")
-        REPLICA_HOST=postgres-prod-mel-001.mel.adi.netsuite.com+        
     ;;     ;;
     *)     *)
Line 618: Line 618:
 echo "Return placeholder" echo "Return placeholder"
 sed -i "s/${v_first_replica}/REPLICA_IP_PLACEHOLDER/g" /etc/barman.d/${environment}/streaming-server.conf sed -i "s/${v_first_replica}/REPLICA_IP_PLACEHOLDER/g" /etc/barman.d/${environment}/streaming-server.conf
-} 
- 
-clean_old_backups(){ 
-    find /var/log/mbackups -depth -mtime +7 -type f -print 
 } }
  
  • postgresql_barman_configuration.1746819027.txt.gz
  • Last modified: 2025/05/09 19:30
  • by andonovj