Gabriel you are thinking this in the correct way, but its really :
pg_basebackup -D <your data dir> --write-recovery-conf --progress --xlog-method=stream -h <your primary db server> then you just edit recovery.conf (if needed), tweak postgersql.conf (if needed) and start the standby .
On 17/02/2017 15:09, Gunnar "Nick" Bluth wrote:
(sorry for the toppost, mobile device) What you're looking for is pg_basebackup with - - xlog=stream, I guess.