Does anyone know a battle-tested tool that would help with (almost)online migrations of postgresql servers to other hosts? I know it can be done by manually, but I'd like to avoid that
I believe that's a pretty standard way to provide "HA" postgres. (We use Patroni for our HA setup)
The clients will have to retry on-going transactions, but that's a basic fault tolerant requirement anyway.
I can't remember the name but I saw a Ruby based tool on Hacker News a few months ago that'd automate logical rep setup and failover for you
I am not entirely sure, but I think CloudNativePG (a Kubernetes operator) can also be used for that.