Closed freedbka closed 1 year ago
Decision. Maybe it will be useful to someone. At the time of basabackup, we create configs: postgresql.base.conf postgresql.conf
We copy the contents from some working cluster
Then everything according to the instructions: https://github.com/zalando/postgres-operator/blob/master/docs/user.md#setting-up-a-standby-cluster
Please, answer some short questions which should help us to understand your problem / question better?
I hope I'm posting in the right thread
Hello. I am trying to migrate postgres from VM to zalando. I have version 12 of postgres on both sides. I also have streaming, asynchronous replication on both sides. I am trying to use the standby cluster functionality https://github.com/zalando/postgres-operator/blob/master/docs/user.md#setting-up-a-standby-cluster
And in the first case with replication with s3
And in the second case, with a direct replica
I find the same error. Replication is successful through basebacup. But then when it tries to start, it can't find the postgresql config. Then it marks the base as data.failed and starts doing basebackup on a regular basis, up to 5 times. Attempts to push the config to him were unsuccessful. writes that the configuration is not correct, but does not write in what exact line.
Questions:
I will be very grateful for any answer
restore form standby host: