It is a simple, yet elegant, set of scripts to take daily, weekly and monthly backups of PostgreSQL on Linux. I wanted that on Windows! So I asked ChatGPT... Which gave me some pointers, but did not ...
# socket, "host" is either a plain or SSL-encrypted TCP/IP socket, # "hostssl" is an SSL-encrypted TCP/IP socket, and "hostnossl" is a # plain TCP/IP socket.