Hi Julien,
Thanks for the reply. My log in addition. I did;
1- rm -fr /var/lib/pgsql/12/data/*
2- /usr/pgsql-12/bin/pg_basebackup --host=master_ip --pgdata=/var/lib/pgsql/12/data/ --username=replica_user --verbose --progress --wal-method=stream --write-recovery-conf --checkpoint=fast --create-slot --slot=ha_slot
3- systemctl restart postgresql-12
4- Crush :/
But I tried same steps and all of this and avarage 8-success, 2-this fail. I don't understand because I did same everthing of steps.
Thank you for now.
Hi,
On Tue, Sep 22, 2020 at 4:09 PM İsmet BALAT <bcalbatros@gmail.com> wrote:
>
> Hi,
>
> Hi, I have an #bug #problem. It's occur pg_basebackup and systemctl restart postgresql-12 . How can I repair it?
The reason for this problem should be given in the postgres logs.
Could you show us the relevant extract?