pg.ddx.io pgsql-bugs@postgresql.org mailing list archivehelp / color / mirror / Atom feed
BUG #13599: Backup/Restore Documentation Bug 2+ messages / 2 participants [nested] [flat]
* BUG #13599: Backup/Restore Documentation Bug @ 2015-08-31 15:19 jkemp@arinc.com 0 siblings, 1 reply; 2+ messages in thread From: jkemp@arinc.com @ 2015-08-31 15:19 UTC (permalink / raw) To: pgsql-bugs The following bug has been logged on the website: Bug reference: 13599 Logged by: Joe Kemp Email address: jkemp@arinc.com PostgreSQL version: 9.4.0 Operating system: N/A Description: After troubleshooting some legacy backup/restore scripts in our infrastructure it became clear a useful bit of information is missing from the "24.3.4. Recovering Using a Continuous Archive Backup" section. Earlier in this section there is a mention that the backup_label file is critical but no mention of how it is used. I propose the second sentence of step #8 be modified so it reads “The server will go into recovery mode and proceed to read through the archived WAL files it needs as identified in the backup_label file.” This would make it clear that the backup_label file is used during the restore process rather than being an informational file that is available if needed. -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs ^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: BUG #13599: Backup/Restore Documentation Bug @ 2015-09-01 02:46 Michael Paquier <michael.paquier@gmail.com> parent: jkemp@arinc.com 0 siblings, 0 replies; 2+ messages in thread From: Michael Paquier @ 2015-09-01 02:46 UTC (permalink / raw) To: jkemp@arinc.com; +Cc: pgsql-bugs On Tue, Sep 1, 2015 at 12:19 AM, <jkemp@arinc.com> wrote: > After troubleshooting some legacy backup/restore scripts in our > infrastructure it became clear a useful bit of information is missing from > the "24.3.4. Recovering Using a Continuous Archive Backup" section. Earlier > in this section there is a mention that the backup_label file is critical > but no mention of how it is used. I propose the second sentence of step #8 > be modified so it reads “The server will go into recovery mode and proceed > to read through the archived WAL files it needs as identified in the > backup_label file.” This would make it clear that the backup_label file is > used during the restore process rather than being an informational file that > is available if needed. This sounds like a good suggestion. Attached is a patch. -- Michael -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs Attachments:^ permalink raw reply [nested|flat] 2+ messages in thread20150901_backuplabel_doc.patch (application/x-patch, 1.3K) download
diff --git a/doc/src/sgml/backup.sgml b/doc/src/sgml/backup.sgml index 75dabe9..4eec116 100644 --- a/doc/src/sgml/backup.sgml +++ b/doc/src/sgml/backup.sgml @@ -1063,13 +1063,13 @@ SELECT pg_stop_backup(); <listitem> <para> Start the server. The server will go into recovery mode and - proceed to read through the archived WAL files it needs. Should the - recovery be terminated because of an external error, the server can - simply be restarted and it will continue recovery. Upon completion - of the recovery process, the server will rename - <filename>recovery.conf</> to <filename>recovery.done</> (to prevent - accidentally re-entering recovery mode later) and then - commence normal database operations. + proceed to read through the archived WAL files it needs as identified + by <filename>backup_label</> file. Should the recovery be terminated + because of an external error, the server can simply be restarted and + it will continue recovery. Upon completion of the recovery process, + the server will rename <filename>recovery.conf</> to + <filename>recovery.done</> (to prevent accidentally re-entering recovery + mode later) and then commence normal database operations. </para> </listitem> <listitem>
end of thread, other threads:[~2015-09-01 02:46 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2015-08-31 15:19 BUG #13599: Backup/Restore Documentation Bug jkemp@arinc.com 2015-09-01 02:46 ` Michael Paquier <michael.paquier@gmail.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox