Just wondering how does this postgres wal archive command works in replication:
rsync -z -a --contimeout=120 --partial-dir=.rsync-partial %p db-slave.sr1.net::primary-wal-archive-share/%f
what does this %p
and %f
mean here?
postgresqlreplication
Just wondering how does this postgres wal archive command works in replication:
rsync -z -a --contimeout=120 --partial-dir=.rsync-partial %p db-slave.sr1.net::primary-wal-archive-share/%f
what does this %p
and %f
mean here?
Best Answer
from docs:
(emphasis mine)
Also take a look at setting WAL archiving