Master postgres server:10.31.159.199(Administrator/Password@123) Prerequisite :create a archive folder and share with full permissions PostgreSQL.conf(location:C:\Program Files\PostgreSQL\9.4\data) wal_level = hot_standby archive_mode = on archive_command = archive_command = 'copy %p \\\\10.31.159.199\\archive %f' max_wal_senders = 1 wal_keep_segments = 10 pb_hbf.conf Add...below entry host replication replication 10.31.159.204/32 trust Slave: PostgreSQL.conf: hot_standby = on Create recovery.conf(location:C:\Program Files\PostgreSQL\9.4\data) and add below entries restore_command = 'copy \\\\10.31.159.199\\archive %f %p' standby_mode = 'on' primary_conninfo = 'host=10.31.159.199 port=5432 user=postgres password=password' pb_hbf.conf Add...below entry host replication postgres 10.31.159.199/32 md5 Go to master and create a backup login to postgres and execute the below command SELECT pg_start_backup('base'); Copy postgres data folder excluding some configuration files from master to slave stop the postgres backup SELECT pg_stop_backup(); try to restart the slave postgresservice