|
10 | 10 | recovery of <span class="productname">PostgreSQL</span> database clusters.
|
11 | 11 | It is designed to perform periodic backups of the <span class="productname">PostgreSQL</span>
|
12 | 12 | 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. |
14 | 14 | </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>
|
15 | 15 | Overview
|
16 | 16 | </h2><p>
|
|
149 | 149 | </p></li><li class="listitem"><p>
|
150 | 150 | The remote mode is not supported on Windows systems.
|
151 | 151 | </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, |
153 | 153 | a backup can be made only by the same OS user that has started the <span class="productname">PostgreSQL</span>
|
154 | 154 | server. For example, if <span class="productname">PostgreSQL</span> server is started by
|
155 | 155 | user <code class="literal">postgres</code>, the <code class="literal">backup</code> command must also be run
|
|
181 | 181 | Add the <span class="application">pg_probackup</span> repository GPG key
|
182 | 182 | <pre class="programlisting">
|
183 | 183 | 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 |
186 | 186 | </pre></li><li class="listitem">
|
187 | 187 | Setup the binary package repository
|
188 | 188 | <pre class="programlisting">
|
|
395 | 395 | only in the database <span class="strong"><strong>used for
|
396 | 396 | connection</strong></span> to the <span class="productname">PostgreSQL</span> server:
|
397 | 397 | </p><p>
|
398 |
| - For <span class="productname">PostgreSQL</span> versions 10 — 14: |
| 398 | + For <span class="productname">PostgreSQL</span> versions 11 — 14: |
399 | 399 | </p><pre class="programlisting">
|
400 | 400 | BEGIN;
|
401 | 401 | CREATE ROLE backup WITH LOGIN;
|
|
1071 | 1071 | <a class="ulink" href="https://postgrespro.com/docs/postgresql/current/runtime-config-replication.html#GUC-PRIMARY-CONNINFO" target="_top">primary_conninfo</a>
|
1072 | 1072 | parameter; you have to add the password manually or use
|
1073 | 1073 | 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, |
1075 | 1075 | recovery settings are written into the <code class="filename">recovery.conf</code>
|
1076 | 1076 | file. Starting from <span class="productname">PostgreSQL</span> 12,
|
1077 | 1077 | <span class="application">pg_probackup</span> writes these settings into
|
|
0 commit comments