Skip to content

Commit 7d8dd36

Browse files
committed
[Issue #206] Improve 'Setting up STREAM Backups' documentation section by, add note about '.pgpass' file
1 parent 74e9282 commit 7d8dd36

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

doc/pgprobackup.xml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -740,6 +740,16 @@ ALTER ROLE backup WITH REPLICATION;
740740
DELTA, and PTRACK backups in the
741741
<link linkend="pbk-stream-mode">STREAM</link> WAL mode.
742742
</para>
743+
<note>
744+
<para>
745+
If you are planning to rely on
746+
<ulink url="https://postgrespro.com/docs/postgresql/current/libpq-pgpass.html">.pgpass</ulink>
747+
for authentication when running backup in STREAM mode,
748+
then .pgpass must contain credentials for <literal>replication</literal> database,
749+
used to establish connection via replication protocol. Example:
750+
pghost:5432:replication:backup_user:my_strong_password
751+
</para>
752+
</note>
743753
</refsect2>
744754
<refsect2 id="pbk-setting-up-continuous-wal-archiving">
745755
<title>Setting up Continuous WAL Archiving</title>
@@ -4714,7 +4724,7 @@ pg_probackup archive-get -B <replaceable>backup_dir</replaceable> --instance <re
47144724
<term><option>--password</option></term>
47154725
<listitem>
47164726
<para>
4717-
Forces a password prompt.
4727+
Forces a password prompt. (Deprecated)
47184728
</para>
47194729
</listitem>
47204730
</varlistentry>

0 commit comments

Comments
 (0)