标题: pg_basebackup报错: failed: FATAL: no pg_hba.conf entry for replication conn [打印本页] 作者: 郑全 时间: 2023-6-9 21:03 标题: pg_basebackup报错: failed: FATAL: no pg_hba.conf entry for replication conn 我们在执行以下命令报错:
$ pg_basebackup -h 192.168.51.82 -D /postgresql/backup/data/$DATE -Ft -Pv -Upostgres -R
pg_basebackup: error: connection to server at "192.168.51.82", port 5432 failed: FATAL: no pg_hba.conf entry for replication connection from host "192.168.51.82", user "postgres", no encryption
failed to backup