Closed pengliaoye closed 11 months ago
want config ip address instead of hostname in restore_command
You can already configure an IP address for the restore_command in Barman, and socket.getfqdn() will give you the FQDN if it's available, or the IP if the IP doesn't resolve to a domain name.
socket.getfqdn()
want config ip address instead of hostname in restore_command