pgbackrest.git / summary / log / commit / refs
commit a82f0179cdd5742e5c5b1e0bdfd23166753fdb38
Author: Reid Thompson <1116827+jreidthompson@users.noreply.github.com>
Commit: GitHub <noreply@github.com>
Date: Tue Jan 04 21:11:27 2022 +0000
Note that replications slots are not restored.
Update documentation and help to note that replication slots are not restored and reference the PostgreSQL documentation to explain why.
doc/xml/release.xml | 17 +++++++++++++++++
src/build/help/help.xml | 2 ++
test/src/module/command/helpTest.c | 4 ++++
3 files changed, 23 insertions(+)
diff --git a/doc/xml/release.xml b/doc/xml/release.xml
index 29bfa64fd..0c318b754 100644
--- a/doc/xml/release.xml
+++ b/doc/xml/release.xml
@@ -15,6 +15,23 @@
<release-list>
<release date="XXXX-XX-XX" version="2.38dev" title="UNDER DEVELOPMENT">
+ <release-doc-list>
+ <release-improvement-list>
+ <release-item>
+ <github-issue id="1585"/>
+ <github-pull-request id="1601"/>
+
+ <release-item-contributor-list>
+ <release-item-ideator id="christophe.courtois"/>
+ <release-item-contributor id="reid.thompson"/>
+ <release-item-reviewer id="david.steele"/>
+ <release-item-reviewer id="stefan.fercot"/>
+ </release-item-contributor-list>
+
+ <p>Note that replications slots are not restored.</p>
+ </release-item>
+ </release-improvement-list>
+ </release-doc-list>
</release>
<release date="2022-01-03" version="2.37" title="TLS Server">
diff --git a/src/build/help/help.xml b/src/build/help/help.xml
index 462c499eb..430260d35 100644
--- a/src/build/help/help.xml
+++ b/src/build/help/help.xml
@@ -2112,6 +2112,8 @@
<p>The restore command automatically defaults to selecting the latest backup from the first repository where backups exist (see <link page="user-guide" section="/quickstart/perform-restore">Quick Start - Restore a Backup</link>). The order in which the repositories are checked is dictated by the <file>pgbackrest.conf</file> (e.g. repo1 will be checked before repo2). To select from a specific repository, the <br-option>{[dash]}-repo</br-option> option can be passed (e.g. <br-option>{[dash]}-repo=1</br-option>). The <br-option>{[dash]}-set</br-option> option can be passed if a backup other than the latest is desired.</p>
<p>When PITR of <br-option>{[dash]}-type=time</br-option> is specified, then the target time must be specified with the <br-option>{[dash]}-target</br-option> option. If a backup is not specified via the <br-option>{[dash]}-set</br-option> option, then the configured repositories will be checked, in order, for a backup that contains the requested time. If no backup can be found, the latest backup from the first repository containing backups will be used. For other types of PITR, e.g. <id>xid</id>, the <br-option>{[dash]}-set</br-option> option must be provided if the target is prior to the latest backup. See <link page="user-guide" section="/pitr">Point-in-Time Recovery</link> for more details and examples.</p>
+
+ <p>Replication slots are not included per recommendation of <postgres/>. See <link url="https://www.postgresql.org/docs/current/continuous-archiving.html#BACKUP-LOWLEVEL-BASE-BACKUP-DATA">Backing Up The Data Directory</link> in the <postgres/> documentation for more information.</p>
</text>
<option-list>
diff --git a/test/src/module/command/helpTest.c b/test/src/module/command/helpTest.c
index cb6fa3000..2ed4294c9 100644
--- a/test/src/module/command/helpTest.c
+++ b/test/src/module/command/helpTest.c
@@ -185,6 +185,10 @@ testRun(void)
"e.g. xid, the --set option must be provided if the target is prior to the\n"
"latest backup. See Point-in-Time Recovery for more details and examples.\n"
"\n"
+ "Replication slots are not included per recommendation of PostgreSQL. See\n"
+ "Backing Up The Data Directory in the PostgreSQL documentation for more\n"
+ "information.\n"
+ "\n"
"Command Options:\n"
"\n"
" --archive-mode preserve or disable archiving on restored\n"
[parent: 226cfbdcde55]