At a minimum:
Check to see if there is going to be a permission error BEFORE the base backup begins:
starting basebackup: checking perms: ERROR no access to pg_hba.conf~ base backup will fail
JD