In this article, we find the solution for Fatal error.
FATAL: no pg_hba.conf entry for replication connection from host "[local]", user "postgres", SSL off
Reason: The database name has to be replication as all does not cover replication connections.
Add below lines in pg_hba.conf file.
host replication postgres 127.0.0.1/0 trust local replication postgres peer
Dont forgot to reload. Run either of below commands to reload.
pt_ctl reload() systemctl reload postgresql