Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
075c0caa
Commit
075c0caa
authored
Sep 15, 2006
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Document WAL recovery now uses checkpoints.
Simon Riggs
parent
83078e99
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
3 deletions
+19
-3
doc/src/sgml/backup.sgml
doc/src/sgml/backup.sgml
+19
-3
No files found.
doc/src/sgml/backup.sgml
View file @
075c0caa
<!-- $PostgreSQL: pgsql/doc/src/sgml/backup.sgml,v 2.8
3 2006/08/17 23:04:02 tgl
Exp $ -->
<!-- $PostgreSQL: pgsql/doc/src/sgml/backup.sgml,v 2.8
4 2006/09/15 21:55:07 momjian
Exp $ -->
<chapter id="backup">
<title>Backup and Restore</title>
...
...
@@ -855,7 +855,9 @@ 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. Upon completion
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 in case of a crash later) and then
...
...
@@ -937,6 +939,20 @@ restore_command = 'cp /mnt/server/archivedir/%f %p'
</para>
</note>
<para>
If recovery finds a corruption in the WAL data then recovery will
complete at that point and the server will not start. The recovery
process could be re-run from the beginning, specifying a
<quote>recovery target</> so that recovery can complete normally.
If recovery fails for an external reason, such as a system crash or
the WAL archive has become inaccessible, then the recovery can be
simply restarted and it will restart almost from where it failed.
Restartable recovery works by writing a restartpoint record to the control
file at the first safely usable checkpoint record found after
<varname>checkpoint_timeout</> seconds.
</para>
<sect3 id="recovery-config-settings" xreflabel="Recovery Settings">
<title>Recovery Settings</title>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment