I think there is no need to define restore_command in recovery.conf file if you are already creating a replication slot. please correct me if I am wrong as far as I know restore_command is needed when you are archiving xlog file to archive location but if you have replication slot then there is no need of restore_command . please correct me If I am wrong ?
pgbasebackup takes backup of whole cluster , whereas pgrewind synchronises timeline of main and replica by deleting records if inserted on main after promoting replica
thanks, great video
I think there is no need to define restore_command in recovery.conf file if you are already creating a replication slot. please correct me if I am wrong as far as I know restore_command is needed when you are archiving xlog file to archive location but if you have replication slot then there is no need of restore_command . please correct me If I am wrong ?
Hello
many thanks for all this good videos. I wonder if you have the failover and failback with postgres version 12 or 13 ?
Hi,
I am looking for that as well.!
Did you find any helpful document?
Hello, please do postgres 14
What is difference between pgbasebackup and pgrewind.. can you explain please
pgbasebackup takes backup of whole cluster , whereas pgrewind synchronises timeline of main and replica by deleting records if inserted on main after promoting replica
@@lonewolf796 Tanq bro 👍
If we have updates on new master. Does pg_rewind sync the data from new master to the new replica(old master)?
@@fardeenmirza8073 Yess