diff --git a/doc/xml/release.xml b/doc/xml/release.xml index 03b18ebc0..d85f0a898 100644 --- a/doc/xml/release.xml +++ b/doc/xml/release.xml @@ -109,6 +109,18 @@ + + + + + + + + + +

Add warning about using recovery type=none.

+
+ diff --git a/src/build/help/help.xml b/src/build/help/help.xml index dddee3691..52c2b7b28 100644 --- a/src/build/help/help.xml +++ b/src/build/help/help.xml @@ -2370,6 +2370,8 @@ none - no recovery.conf file is written so will attempt to achieve consistency using WAL segments present in pg_xlog/pg_wal. Provide the required WAL segments or use the archive-copy setting to include them with the backup. + Recovery type=none should be avoided because the timeline will not be incremented at the end of recovery. This can lead to, for example, attempting to archive duplicate WAL, which will be rejected, and may cause the disk to fill up and result in a panic. In addition, tools like pg_rewind may not work correctly or may cause corruption. +

Note that the default restore type for offline backups is none since Point-in-Time-Recovery is not possible if wal_level=minimal. If type is set explicitly then it will be honored since Point-in-Time-Recovery is possible from offline backups as long as wal_level > minimal.