I was setting up pg_auto_failover. Have successfully set up and monitor and primary instance. While setting up secondary it's failing with below :
ERROR Failed to ensure empty directory "//backup" : Permission denied Error Failed initialise standby server , see above for details. Where is it located? Can someone please help