Beware, the echo command always returns the same exit status, whether the
archiving had succeeded or not. You might lose WAL files!
Regarding the restore command: It will be executed only if the slave is not
capable of receiving all WALs via streaming replication, e. g. in case the
slave was of
Hey all,
I have a questions regarding streaming replication that I would like to
ask in order to understand the feature better :
I have 2 nodes configured with replication (primary + secondary).
In my primary I configured streaming replcation + archiving. My archive
command :
gzip < %p > /var/lib/