[1] https://www.postgresql.org/docs/current/warm-standby.html [2] https://www.postgresql.org/docs/current/logical-replication....
pg_dump -U postgres db | ssh user@rsync.net "dd of=db_dump"