aboutsummaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorMagnus Hagander <magnus@hagander.net>2013-01-05 16:54:06 +0100
committerMagnus Hagander <magnus@hagander.net>2013-01-05 16:54:06 +0100
commit915a29a10cdabfbe301dc7201299841339b9798f (patch)
treef7fd692a6d638911bc6daf0b68355791822cb909 /doc/src
parent940d1366614a59713cdfd48daccd2ff9d26a4612 (diff)
downloadpostgresql-915a29a10cdabfbe301dc7201299841339b9798f.tar.gz
postgresql-915a29a10cdabfbe301dc7201299841339b9798f.zip
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
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/ref/pg_basebackup.sgml14
1 files changed, 14 insertions, 0 deletions
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
@@ -189,6 +189,20 @@ PostgreSQL documentation
</varlistentry>
<varlistentry>
+ <term><option>-R</option></term>
+ <term><option>--write-recovery-conf</option></term>
+ <listitem>
+
+ <para>
+ 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.
+ </para>
+
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
<term><option>-x</option></term>
<term><option>--xlog</option></term>
<listitem>