Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5d52ad9

Browse files
committed
Update recovery documentation.
Simon Riggs
1 parent26ffa62 commit5d52ad9

File tree

1 file changed

+51
-1
lines changed

1 file changed

+51
-1
lines changed

‎doc/src/sgml/backup.sgml

Lines changed: 51 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $PostgreSQL: pgsql/doc/src/sgml/backup.sgml,v 2.88 2006/09/19 19:04:51 neilc Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/backup.sgml,v 2.89 2006/10/02 22:33:02 momjian Exp $ -->
22

33
<chapter id="backup">
44
<title>Backup and Restore</title>
@@ -1167,6 +1167,48 @@ restore_command = 'copy /mnt/server/archivedir/%f "%p"' # Windows
11671167
</para>
11681168
</sect2>
11691169

1170+
<sect2 id="backup-incremental-updated">
1171+
<title>Incrementally Updated Backups</title>
1172+
1173+
<indexterm zone="backup">
1174+
<primary>incrementally updated backups</primary>
1175+
</indexterm>
1176+
1177+
<indexterm zone="backup">
1178+
<primary>change accumulation</primary>
1179+
</indexterm>
1180+
1181+
<para>
1182+
Restartable Recovery can also be utilised to offload the expense of
1183+
taking periodic base backups from a main server, by instead backing
1184+
up a Standby server's files. This concept is also generally known as
1185+
incrementally updated backups, log change accumulation or more simply,
1186+
change accumulation.
1187+
</para>
1188+
1189+
<para>
1190+
If we take a backup of the server files whilst a recovery is in progress,
1191+
we will be able to restart the recovery from the last restartpoint.
1192+
That backup now has many of the changes from previous WAL archive files,
1193+
so this version is now an updated version of the original base backup.
1194+
If we need to recover, it will be faster to recover from the
1195+
incrementally updated backup than from the base backup.
1196+
</para>
1197+
1198+
<para>
1199+
To make use of this capability you will need to set up a Standby database
1200+
on a second system, as described in <xref linkend="warm-standby">. By
1201+
taking a backup of the Standby server while it is running you will
1202+
have produced an incrementally updated backup. Once this configuration
1203+
has been implemented you will no longer need to produce regular base
1204+
backups of the Primary server: all base backups can be performed on the
1205+
Standby server. If you wish to do this, it is not a requirement that you
1206+
also implement the failover features of a Warm Standby configuration,
1207+
though you may find it desirable to do both.
1208+
</para>
1209+
1210+
</sect2>
1211+
11701212
<sect2 id="continuous-archiving-caveats">
11711213
<title>Caveats</title>
11721214

@@ -1317,6 +1359,14 @@ restore_command = 'copy /mnt/server/archivedir/%f "%p"' # Windows
13171359
really offers a solution for Disaster Recovery, not HA.
13181360
</para>
13191361

1362+
<para>
1363+
When running a Standby Server, backups can be performed on the Standby
1364+
rather than the Primary, thereby offloading the expense of
1365+
taking periodic base backups. (See
1366+
<xref linkend="backup-incremental-updated">)
1367+
</para>
1368+
1369+
13201370
<para>
13211371
Other mechanisms for High Availability replication are available, both
13221372
commercially and as open-source software.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp