pg_basebackup ... | tee -- Also, the output from pg_basebackup does not get logged in $logfile even on those days when the backup works fine.
I would conclude that pg-basebackup is placing its output in stderr instead of stdout then...
David J.
pg_basebackup ... | tee -- Also, the output from pg_basebackup does not get logged in $logfile even on those days when the backup works fine.