Rename Online Backup to Continuous Archiving.

This commit is contained in:
Bruce Momjian 2006-03-03 22:02:08 +00:00
parent bf8337b8af
commit 43e9bab94a
4 changed files with 17 additions and 16 deletions

View File

@ -1,5 +1,5 @@
<!-- <!--
$PostgreSQL: pgsql/doc/src/sgml/backup.sgml,v 2.77 2006/02/24 14:03:01 momjian Exp $ $PostgreSQL: pgsql/doc/src/sgml/backup.sgml,v 2.78 2006/03/03 22:02:07 momjian Exp $
--> -->
<chapter id="backup"> <chapter id="backup">
<title>Backup and Restore</title> <title>Backup and Restore</title>
@ -19,7 +19,7 @@ $PostgreSQL: pgsql/doc/src/sgml/backup.sgml,v 2.77 2006/02/24 14:03:01 momjian E
<itemizedlist> <itemizedlist>
<listitem><para><acronym>SQL</> dump</para></listitem> <listitem><para><acronym>SQL</> dump</para></listitem>
<listitem><para>File system level backup</para></listitem> <listitem><para>File system level backup</para></listitem>
<listitem><para>On-line backup</para></listitem> <listitem><para>Continuous Archiving</para></listitem>
</itemizedlist> </itemizedlist>
Each has its own strengths and weaknesses. Each has its own strengths and weaknesses.
</para> </para>
@ -372,11 +372,11 @@ tar -cf backup.tar /usr/local/pgsql/data
</para> </para>
</sect1> </sect1>
<sect1 id="backup-online"> <sect1 id="continuous-archiving">
<title>On-line backup and point-in-time recovery (PITR)</title> <title>Continuous Archiving and Point-In-Time Recovery (PITR)</title>
<indexterm zone="backup"> <indexterm zone="backup">
<primary>on-line backup</primary> <primary>continuous archiving</primary>
</indexterm> </indexterm>
<indexterm zone="backup"> <indexterm zone="backup">
@ -452,7 +452,8 @@ tar -cf backup.tar /usr/local/pgsql/data
</para> </para>
<para> <para>
To recover successfully using an on-line backup, you need a continuous To recover successfully using continuous archiving (also called "online
backup" by many database vendors), you need a continuous
sequence of archived WAL files that extends back at least as far as the sequence of archived WAL files that extends back at least as far as the
start time of your backup. So to get started, you should set up and test start time of your backup. So to get started, you should set up and test
your procedure for archiving WAL files <emphasis>before</> you take your your procedure for archiving WAL files <emphasis>before</> you take your
@ -783,12 +784,12 @@ SELECT pg_stop_backup();
<function>pg_start_backup</> or <function>pg_stop_backup</>, and <function>pg_start_backup</> or <function>pg_stop_backup</>, and
you will therefore be left to your own devices to keep track of which you will therefore be left to your own devices to keep track of which
backup dump is which and how far back the associated WAL files go. backup dump is which and how far back the associated WAL files go.
It is generally better to follow the on-line backup procedure above. It is generally better to follow the continuous archiving procedure above.
</para> </para>
</sect2> </sect2>
<sect2 id="backup-pitr-recovery"> <sect2 id="backup-pitr-recovery">
<title>Recovering with an On-line Backup</title> <title>Recovering using a Continuous Archive Backup</title>
<para> <para>
Okay, the worst has happened and you need to recover from your backup. Okay, the worst has happened and you need to recover from your backup.
@ -1120,11 +1121,11 @@ restore_command = 'copy /mnt/server/archivedir/%f "%p"' # Windows
</para> </para>
</sect2> </sect2>
<sect2 id="backup-online-caveats"> <sect2 id="continuous-archiving-caveats">
<title>Caveats</title> <title>Caveats</title>
<para> <para>
At this writing, there are several limitations of the on-line backup At this writing, there are several limitations of the continuous archiving
technique. These will probably be fixed in future releases: technique. These will probably be fixed in future releases:
<itemizedlist> <itemizedlist>

View File

@ -1,5 +1,5 @@
<!-- <!--
$PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.47 2006/02/05 18:19:14 momjian Exp $ $PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.48 2006/03/03 22:02:07 momjian Exp $
--> -->
<chapter Id="runtime-config"> <chapter Id="runtime-config">
<title>Server Configuration</title> <title>Server Configuration</title>
@ -1387,7 +1387,7 @@ SET ENABLE_SEQSCAN TO OFF;
<para> <para>
Turning off this parameter does not affect use of Turning off this parameter does not affect use of
WAL archiving for point-in-time recovery (PITR) WAL archiving for point-in-time recovery (PITR)
(see <xref linkend="backup-online">). (see <xref linkend="continuous-archiving">).
</para> </para>
<para> <para>

View File

@ -1,5 +1,5 @@
<!-- <!--
$PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.307 2006/02/18 16:15:21 petere Exp $ $PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.308 2006/03/03 22:02:07 momjian Exp $
PostgreSQL documentation PostgreSQL documentation
--> -->
@ -9808,7 +9808,7 @@ SELECT set_config('log_statement_stats', 'off', false);
<para> <para>
For details about proper usage of these functions, see For details about proper usage of these functions, see
<xref linkend="backup-online">. <xref linkend="continuous-archiving">.
</para> </para>
<para> <para>

View File

@ -1,4 +1,4 @@
<!-- $PostgreSQL: pgsql/doc/src/sgml/wal.sgml,v 1.38 2005/11/04 23:14:02 petere Exp $ --> <!-- $PostgreSQL: pgsql/doc/src/sgml/wal.sgml,v 1.39 2006/03/03 22:02:08 momjian Exp $ -->
<chapter id="wal"> <chapter id="wal">
<title>Reliability and the Write-Ahead Log</title> <title>Reliability and the Write-Ahead Log</title>
@ -136,7 +136,7 @@
<para> <para>
<acronym>WAL</acronym> also makes it possible to support on-line <acronym>WAL</acronym> also makes it possible to support on-line
backup and point-in-time recovery, as described in <xref backup and point-in-time recovery, as described in <xref
linkend="backup-online">. By archiving the WAL data we can support linkend="continuous-archiving">. By archiving the WAL data we can support
reverting to any time instant covered by the available WAL data: reverting to any time instant covered by the available WAL data:
we simply install a prior physical backup of the database, and we simply install a prior physical backup of the database, and
replay the WAL log just as far as the desired time. What's more, replay the WAL log just as far as the desired time. What's more,