EnterpriseDB / barman

Barman - Backup and Recovery Manager for PostgreSQL
https://www.pgbarman.org/
GNU General Public License v3.0
2.06k stars 191 forks source link

[WIP] Allow WAL streaming from a different host to the backup source #867

Closed mikewallace1979 closed 9 months ago

mikewallace1979 commented 11 months ago

This is a work-in-progress for BAR-120 where we add the ability for users to define conninfo strings to be used for streaming WALs. This allows WALs to be streamed from a different host than the host from which backups are streamed.

The implementation is a lot more complicated than I'd like and I feel like there are opportunities for simplifying things which I'm not seeing, so suggestions along these lines are particularly welcome.

edb-sonar-app[bot] commented 11 months ago

SonarQube Quality Gate

Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 3 Code Smells

58.4% 58.4% Coverage
0.0% 0.0% Duplication

mikewallace1979 commented 9 months ago

Closing in favour of https://github.com/EnterpriseDB/barman/pull/868