Skip to content

Commit 7e2ad50

Browse files
committed
Store the GPG key in the recommended way
1 parent ced3be9 commit 7e2ad50

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Diff for: pg_probackup/index.html

+6-6
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
recovery of <span class="productname">PostgreSQL</span> database clusters.
1111
It is designed to perform periodic backups of the <span class="productname">PostgreSQL</span>
1212
instance that enable you to restore the server in case of a failure.
13-
<span class="application">pg_probackup</span> supports PostgreSQL 10 or higher.
13+
<span class="application">pg_probackup</span> supports PostgreSQL 11 or higher.
1414
</p><div class="itemizedlist"><ul class="itemizedlist compact" style="list-style-type: disc; "><li class="listitem"><p><a class="link" href="#pbk-overview" title="Overview">Overview</a></p></li><li class="listitem"><p><a class="link" href="#pbk-install" title="Installation">Installation</a></p></li><li class="listitem"><p><a class="link" href="#pbk-setup" title="Setup">Setup</a></p></li><li class="listitem"><p><a class="link" href="#pbk-reference" title="Command-Line Reference">Command-Line Reference</a></p></li><li class="listitem"><p><a class="link" href="#pbk-usage" title="Usage">Usage</a></p></li></ul></div></div><div class="refsect1"><a id="pbk-overview"></a><h2>
1515
Overview
1616
</h2><p>
@@ -149,7 +149,7 @@
149149
</p></li><li class="listitem"><p>
150150
The remote mode is not supported on Windows systems.
151151
</p></li><li class="listitem"><p>
152-
On Unix systems, for <span class="productname">PostgreSQL</span> 10,
152+
On Unix systems, for <span class="productname">PostgreSQL</span> 11,
153153
a backup can be made only by the same OS user that has started the <span class="productname">PostgreSQL</span>
154154
server. For example, if <span class="productname">PostgreSQL</span> server is started by
155155
user <code class="literal">postgres</code>, the <code class="literal">backup</code> command must also be run
@@ -181,8 +181,8 @@
181181
Add the <span class="application">pg_probackup</span> repository GPG key
182182
<pre class="programlisting">
183183
sudo apt install gpg wget
184-
wget -O - https://repo.postgrespro.ru/pg_probackup/keys/GPG-KEY-PG_PROBACKUP | \
185-
sudo apt-key add -
184+
wget -qO - https://repo.postgrespro.ru/pg_probackup/keys/GPG-KEY-PG_PROBACKUP | \
185+
sudo tee /etc/apt/trusted.gpg.d/pg_probackup.asc
186186
</pre></li><li class="listitem">
187187
Setup the binary package repository
188188
<pre class="programlisting">
@@ -395,7 +395,7 @@
395395
only in the database <span class="strong"><strong>used for
396396
connection</strong></span> to the <span class="productname">PostgreSQL</span> server:
397397
</p><p>
398-
For <span class="productname">PostgreSQL</span> versions 10 — 14:
398+
For <span class="productname">PostgreSQL</span> versions 11 — 14:
399399
</p><pre class="programlisting">
400400
BEGIN;
401401
CREATE ROLE backup WITH LOGIN;
@@ -1071,7 +1071,7 @@
10711071
<a class="ulink" href="https://postgrespro.com/docs/postgresql/current/runtime-config-replication.html#GUC-PRIMARY-CONNINFO" target="_top">primary_conninfo</a>
10721072
parameter; you have to add the password manually or use
10731073
the <code class="literal">--primary-conninfo</code> option, if required.
1074-
For <span class="productname">PostgreSQL</span> 11 or lower,
1074+
For <span class="productname">PostgreSQL</span> 11,
10751075
recovery settings are written into the <code class="filename">recovery.conf</code>
10761076
file. Starting from <span class="productname">PostgreSQL</span> 12,
10771077
<span class="application">pg_probackup</span> writes these settings into

0 commit comments

Comments
 (0)