diff options
author | Magnus Hagander <magnus@hagander.net> | 2013-01-05 16:54:06 +0100 |
---|---|---|
committer | Magnus Hagander <magnus@hagander.net> | 2013-01-05 16:54:06 +0100 |
commit | 915a29a10cdabfbe301dc7201299841339b9798f (patch) | |
tree | f7fd692a6d638911bc6daf0b68355791822cb909 /doc/src | |
parent | 940d1366614a59713cdfd48daccd2ff9d26a4612 (diff) | |
download | postgresql-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.sgml | 14 |
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> |