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
d755688f
Commit
d755688f
authored
Apr 18, 2005
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update PITR mention of which WAL files are needed.
parent
db306521
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
17 deletions
+26
-17
doc/src/sgml/backup.sgml
doc/src/sgml/backup.sgml
+26
-17
No files found.
doc/src/sgml/backup.sgml
View file @
d755688f
<!--
$PostgreSQL: pgsql/doc/src/sgml/backup.sgml,v 2.6
1 2005/04/17 03:05:19
momjian Exp $
$PostgreSQL: pgsql/doc/src/sgml/backup.sgml,v 2.6
2 2005/04/18 01:29:00
momjian Exp $
-->
<chapter id="backup">
<title>Backup and Restore</title>
...
...
@@ -724,23 +724,32 @@ SELECT pg_stop_backup();
<para>
To make use of this backup, you will need to keep around all the WAL
segment files generated
at or after the starting time of the
backup.
segment files generated
during and after the file system
backup.
To aid you in doing this, the <function>pg_stop_backup</> function
creates a <firstterm>backup history file</> that is immediately stored
into the WAL archive area. This file is named after the first WAL
segment file that you need to have to make use of the backup. For
example, if the starting WAL file is <literal>0000000100001234000055CD</>
the backup history file will be named something like
<literal>0000000100001234000055CD.007C9330.backup</>. (The second part of
this file name stands for an exact position within the WAL file, and can
ordinarily be ignored.) Once you have safely archived this WAL
segment file, you can delete all archived WAL segments with names numerically
preceding this one. The backup history file is just a small text file.
It contains the label string you gave to <function>pg_start_backup</>, as
well as the starting and ending times of the backup. If you used the
label to identify where the associated dump file is kept, then the
archived history file is enough to tell you which dump file to restore,
should you need to do so.
creates a <firstterm>backup history file</> that is immediately
stored into the WAL archive area. This file is named after the first
WAL segment file that you need to have to make use of the backup.
For example, if the starting WAL file is
<literal>0000000100001234000055CD</> the backup history file will be
named something like
<literal>0000000100001234000055CD.007C9330.backup</>. (The second
number in the file name stands for an exact position within the WAL
file, and can ordinarily be ignored.) Once you have safely archived
the WAL segment files used during the file system backup (as
specified in the backup history file), you can delete all archived
WAL segments with names numerically less. Keep in mind that only
completed WAL segment files are archived, so there will be delay
between running <function>pg_stop_backup</> and the archiving of
all WAL segment files needed to make the file system backup
consistent.
</para>
<para>
The backup history file is just a small text file. It contains the
label string you gave to <function>pg_start_backup</>, as well as
the starting and ending times of the backup. If you used the label
to identify where the associated dump file is kept, then the
archived history file is enough to tell you which dump file to
restore, should you need to do so.
</para>
<para>
...
...
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