On 21/02/2017 01:49, Venkata B Nagothi
wrote:
Ok but between pg_basebackup and service postgresql start you must configure the db as a stand by. You need to copy a pre-configured recovery file into the data dir (or whatever debian demands) and then start. In 9.3 there is --write-recovery-conf which does this for you. Apparently 9.1. In 9.2 you can always use -X stream , thus making increasing of the wal_keep_segments redundant.
-- Achilleas Mantzios IT DEV Lead IT DEPT Dynacom Tankers Mgmt |