From 915a29a10cdabfbe301dc7201299841339b9798f Mon Sep 17 00:00:00 2001 From: Magnus Hagander Date: Sat, 5 Jan 2013 16:54:06 +0100 Subject: Add support for generating minimal recovery.conf when doing base backups Adds commandline option -R to pg_basebackup that creates a recovery.conf which enables standby mode using the same parameters that pg_basebackup used to connect to the master, and writes it into the output directory (or injects it in the tar file when tar format is used). Zoltan Boszormenyi, modified by Magnus Hagander, reviewed by Amit Kapila & Fujii Masao --- doc/src/sgml/ref/pg_basebackup.sgml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'doc/src') diff --git a/doc/src/sgml/ref/pg_basebackup.sgml b/doc/src/sgml/ref/pg_basebackup.sgml index 0bc3ca27b16..2f89f2c322e 100644 --- a/doc/src/sgml/ref/pg_basebackup.sgml +++ b/doc/src/sgml/ref/pg_basebackup.sgml @@ -188,6 +188,20 @@ PostgreSQL documentation + + + + + + + Write a minimal recovery.conf in the output directory (or into + the base archive file when using tar format) to ease setting + up a standby server. + + + + + -- cgit v1.2.3